From 912698050e26870c21c9dfd21d1594f6f235c719 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 22 Jul 2026 19:07:13 +0000 Subject: [PATCH 1/2] feat!: Added additional LineItem fields docs: Updated method descriptions to use a consistent style feat: Added `BatchActivateContentBundles` and `BatchDeactivateContentBundles` methods to `ContentBundleService` feat: Added CreativeSetService feat: Added `SlateService` feat: Added the Creative entity feat: Added OrderService write methods and additional stats fields. feat: Added TargetingPresetService update methods fix!: Moved Schedule messages from report_messages.proto to report_delivery.proto PiperOrigin-RevId: 952153282 Source-Link: https://github.com/googleapis/googleapis/commit/a15a5b7adf695d1b6b17359ff64bfb4a83d0750b Source-Link: https://github.com/googleapis/googleapis-gen/commit/7e47a015360cfbe93d2f4e7ff36c92566d4218f3 Copy-Tag: eyJwIjoiQWRzQWRNYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiI3ZTQ3YTAxNTM2MGNmYmU5M2QyZjRlN2ZmMzZjOTI1NjZkNDIxOGYzIn0= --- .../Ads/Admanager/V1/AdBreakMessages.php | 29 + .../Ads/Admanager/V1/AdBreakService.php | 31 + .../Admanager/V1/AdReviewCenterAdEnums.php | 24 + .../Admanager/V1/AdReviewCenterAdMessages.php | 28 + .../Admanager/V1/AdReviewCenterAdService.php | 33 + .../Google/Ads/Admanager/V1/AdRuleEnums.php | 24 + .../Ads/Admanager/V1/AdRuleMessages.php | 33 + .../Google/Ads/Admanager/V1/AdRuleService.php | 31 + .../Admanager/V1/AdRuleSlotBehaviorEnum.php | 24 + .../Ads/Admanager/V1/AdRuleSlotBumperEnum.php | 24 + .../V1/AdRuleSlotMidrollFrequencyTypeEnum.php | 24 + .../Ads/Admanager/V1/AdSpotMessages.php | 29 + .../Google/Ads/Admanager/V1/AdSpotService.php | 30 + .../Admanager/V1/AdSpotTargetingTypeEnum.php | 24 + .../Google/Ads/Admanager/V1/AdUnitEnums.php | 24 + .../Ads/Admanager/V1/AdUnitMessages.php | 33 + .../Google/Ads/Admanager/V1/AdUnitService.php | 30 + .../Ads/Admanager/V1/AdmanagerError.php | 25 + .../Ads/Admanager/V1/ApplicationEnums.php | 24 + .../Ads/Admanager/V1/ApplicationMessages.php | 27 + .../Ads/Admanager/V1/ApplicationService.php | 30 + .../Google/Ads/Admanager/V1/AppliedLabel.php | 26 + .../Admanager/V1/AudienceSegmentMessages.php | 26 + .../Admanager/V1/AudienceSegmentService.php | 29 + .../Admanager/V1/BandwidthGroupMessages.php | 26 + .../Admanager/V1/BandwidthGroupService.php | 29 + .../Ads/Admanager/V1/BrandLiftPartnerEnum.php | 24 + .../Admanager/V1/BrowserLanguageMessages.php | 26 + .../Admanager/V1/BrowserLanguageService.php | 29 + .../Ads/Admanager/V1/BrowserMessages.php | 26 + .../Ads/Admanager/V1/BrowserService.php | 29 + .../Ads/Admanager/V1/CdnConfigMessages.php | 31 + .../Ads/Admanager/V1/CdnConfigService.php | 30 + .../Ads/Admanager/V1/CdnConfigStatusEnum.php | 24 + .../Ads/Admanager/V1/CdnConfigTypeEnum.php | 24 + .../Admanager/V1/CdnSecurityPolicyEnum.php | 24 + .../CdnSecurityPolicyOriginForwardingEnum.php | 24 + .../V1/ChildContentEligibilityEnum.php | 24 + .../Admanager/V1/ChildPublisherMessages.php | 26 + .../Ads/Admanager/V1/CmsMetadataKeyEnums.php | 24 + .../Admanager/V1/CmsMetadataKeyMessages.php | 27 + .../Admanager/V1/CmsMetadataKeyService.php | 29 + .../Admanager/V1/CmsMetadataValueEnums.php | 24 + .../Admanager/V1/CmsMetadataValueMessages.php | 27 + .../Admanager/V1/CmsMetadataValueService.php | 29 + .../Google/Ads/Admanager/V1/CompanyEnums.php | 24 + .../Ads/Admanager/V1/CompanyMessages.php | 29 + .../Ads/Admanager/V1/CompanyService.php | 29 + .../Google/Ads/Admanager/V1/ContactEnums.php | 24 + .../Ads/Admanager/V1/ContactMessages.php | 27 + .../Ads/Admanager/V1/ContactService.php | 30 + .../Ads/Admanager/V1/ContentBundleEnums.php | 24 + .../Admanager/V1/ContentBundleMessages.php | 28 + .../Ads/Admanager/V1/ContentBundleService.php | 29 + .../Google/Ads/Admanager/V1/ContentEnums.php | 24 + .../Ads/Admanager/V1/ContentLabelMessages.php | 26 + .../Ads/Admanager/V1/ContentLabelService.php | 29 + .../Ads/Admanager/V1/ContentMessages.php | 29 + .../Ads/Admanager/V1/ContentService.php | 29 + .../Ads/Admanager/V1/CreativeMessages.php | 26 + .../Ads/Admanager/V1/CreativePlaceholder.php | 28 + .../Ads/Admanager/V1/CreativeSetMessages.php | 27 + .../Ads/Admanager/V1/CreativeSetService.php | 30 + .../Ads/Admanager/V1/CreativeTargeting.php | 26 + .../Admanager/V1/CreativeTemplateEnums.php | 24 + .../Admanager/V1/CreativeTemplateMessages.php | 28 + .../Admanager/V1/CreativeTemplateService.php | 29 + .../CreativeTemplateVariableUrlTypeEnum.php | 24 + .../Ads/Admanager/V1/CustomFieldEnums.php | 24 + .../Ads/Admanager/V1/CustomFieldMessages.php | 27 + .../Ads/Admanager/V1/CustomFieldService.php | 30 + .../Ads/Admanager/V1/CustomFieldValue.php | 26 + .../Ads/Admanager/V1/CustomPacingCurve.php | 27 + .../Admanager/V1/CustomPacingGoalUnitEnum.php | 24 + .../Admanager/V1/CustomTargetingKeyEnums.php | 24 + .../V1/CustomTargetingKeyMessages.php | 27 + .../V1/CustomTargetingKeyService.php | 30 + .../V1/CustomTargetingValueEnums.php | 24 + .../V1/CustomTargetingValueMessages.php | 27 + .../V1/CustomTargetingValueService.php | 30 + .../V1/DealBuyerPermissionTypeEnum.php | 24 + .../Ads/Admanager/V1/DealPriorityTierEnum.php | 24 + .../Google/Ads/Admanager/V1/DeliveryEnums.php | 24 + .../Ads/Admanager/V1/DeliveryIndicator.php | 25 + .../Admanager/V1/DeviceCapabilityMessages.php | 26 + .../Admanager/V1/DeviceCapabilityService.php | 29 + .../Admanager/V1/DeviceCategoryMessages.php | 26 + .../Admanager/V1/DeviceCategoryService.php | 29 + .../V1/DeviceManufacturerMessages.php | 26 + .../V1/DeviceManufacturerService.php | 29 + .../Ads/Admanager/V1/DiscountTypeEnum.php | 24 + .../V1/EarlyAdBreakNotificationEnums.php | 24 + .../V1/EntitySignalsMappingMessages.php | 26 + .../V1/EntitySignalsMappingService.php | 30 + .../Ads/Admanager/V1/EnvironmentTypeEnum.php | 24 + .../V1/ExchangeSyndicationProductEnum.php | 24 + .../Ads/Admanager/V1/ExclusionScopeEnum.php | 24 + .../Google/Ads/Admanager/V1/FrequencyCap.php | 25 + .../Ads/Admanager/V1/GeoTargetMessages.php | 26 + .../Ads/Admanager/V1/GeoTargetService.php | 29 + .../Google/Ads/Admanager/V1/Goal.php | 25 + .../Google/Ads/Admanager/V1/GoalEnums.php | 24 + .../Ads/Admanager/V1/GrpProviderEnum.php | 24 + .../Google/Ads/Admanager/V1/GrpSettings.php | 29 + .../Ads/Admanager/V1/GrpTargetGenderEnum.php | 24 + .../Google/Ads/Admanager/V1/LabelEnums.php | 24 + .../Google/Ads/Admanager/V1/LabelMessages.php | 27 + .../Google/Ads/Admanager/V1/LabelService.php | 30 + .../V1/LineItemAllowedFormatEnum.php | 24 + .../Ads/Admanager/V1/LineItemDealInfo.php | 25 + .../V1/LineItemDeliveryForecastSourceEnum.php | 24 + .../Ads/Admanager/V1/LineItemDiscount.php | 26 + .../Google/Ads/Admanager/V1/LineItemEnums.php | 24 + .../Ads/Admanager/V1/LineItemMessages.php | 51 + .../Ads/Admanager/V1/LineItemService.php | 29 + .../Google/Ads/Admanager/V1/LineItemStats.php | 25 + .../Ads/Admanager/V1/LinkedDeviceEnums.php | 24 + .../Ads/Admanager/V1/LinkedDeviceMessages.php | 27 + .../Ads/Admanager/V1/LinkedDeviceService.php | 29 + .../Ads/Admanager/V1/LiveStreamEventEnums.php | 24 + .../Admanager/V1/LiveStreamEventMessages.php | 26 + .../Ads/Admanager/V1/LiveStreamMessages.php | 29 + .../Ads/Admanager/V1/LiveStreamService.php | 30 + .../Ads/Admanager/V1/McmEarningsMessages.php | 29 + .../Ads/Admanager/V1/McmEarningsService.php | 30 + .../Google/Ads/Admanager/V1/McmEnums.php | 24 + .../Admanager/V1/MobileCarrierMessages.php | 26 + .../Ads/Admanager/V1/MobileCarrierService.php | 29 + .../Ads/Admanager/V1/MobileDeviceMessages.php | 26 + .../Ads/Admanager/V1/MobileDeviceService.php | 29 + .../V1/MobileDeviceSubmodelMessages.php | 26 + .../V1/MobileDeviceSubmodelService.php | 29 + .../Ads/Admanager/V1/NetworkMessages.php | 26 + .../Ads/Admanager/V1/NetworkService.php | 29 + .../Ads/Admanager/V1/NielsenCtvPacingEnum.php | 24 + .../V1/NonGuaranteedDealPriority.php | 26 + .../Admanager/V1/OperatingSystemMessages.php | 26 + .../Admanager/V1/OperatingSystemService.php | 29 + .../V1/OperatingSystemVersionMessages.php | 26 + .../V1/OperatingSystemVersionService.php | 29 + .../Google/Ads/Admanager/V1/OrderEnums.php | 24 + .../Google/Ads/Admanager/V1/OrderMessages.php | 30 + .../Google/Ads/Admanager/V1/OrderService.php | 30 + .../V1/PacingDeviceCategorizationEnum.php | 24 + .../Ads/Admanager/V1/PlacementEnums.php | 24 + .../Ads/Admanager/V1/PlacementMessages.php | 28 + .../Ads/Admanager/V1/PlacementService.php | 30 + .../V1/PrivateAuctionDealMessages.php | 33 + .../V1/PrivateAuctionDealService.php | 30 + .../Admanager/V1/PrivateAuctionMessages.php | 27 + .../Admanager/V1/PrivateAuctionService.php | 30 + .../Admanager/V1/PrivateMarketplaceEnums.php | 24 + .../V1/ProgrammaticBuyerMessages.php | 26 + .../Admanager/V1/ProgrammaticBuyerService.php | 29 + .../Ads/Admanager/V1/ReachPartnerEnum.php | 24 + .../Ads/Admanager/V1/ReportDefinition.php | 27 + .../Ads/Admanager/V1/ReportDelivery.php | 30 + .../Ads/Admanager/V1/ReportMessages.php | 30 + .../Google/Ads/Admanager/V1/ReportService.php | 33 + .../Google/Ads/Admanager/V1/ReportValue.php | 24 + .../Ads/Admanager/V1/RequestPlatformEnum.php | 24 + .../Admanager/V1/RichMediaAdsCompanyEnums.php | 24 + .../V1/RichMediaAdsCompanyMessages.php | 27 + .../V1/RichMediaAdsCompanyService.php | 29 + .../Google/Ads/Admanager/V1/RoleEnums.php | 24 + .../Google/Ads/Admanager/V1/RoleMessages.php | 27 + .../Google/Ads/Admanager/V1/RoleService.php | 29 + .../Google/Ads/Admanager/V1/SiteEnums.php | 24 + .../Google/Ads/Admanager/V1/SiteMessages.php | 28 + .../Google/Ads/Admanager/V1/SiteService.php | 30 + .../Google/Ads/Admanager/V1/Size.php | 26 + .../Google/Ads/Admanager/V1/SizeTypeEnum.php | 24 + .../Ads/Admanager/V1/SkippableAdTypeEnum.php | 24 + .../Google/Ads/Admanager/V1/SlateMessages.php | 29 + .../Google/Ads/Admanager/V1/SlateService.php | 30 + .../Admanager/V1/SuggestedAdUnitMessages.php | 29 + .../Admanager/V1/SuggestedAdUnitService.php | 29 + .../Ads/Admanager/V1/TargetPlatformEnum.php | 24 + .../V1/TargetedVideoBumperTypeEnum.php | 24 + .../Google/Ads/Admanager/V1/Targeting.php | 29 + .../Ads/Admanager/V1/TargetingPresetEnums.php | 24 + .../Admanager/V1/TargetingPresetMessages.php | 28 + .../Admanager/V1/TargetingPresetService.php | 30 + .../Admanager/V1/TaxonomyCategoryMessages.php | 27 + .../Admanager/V1/TaxonomyCategoryService.php | 29 + .../Ads/Admanager/V1/TaxonomyTypeEnum.php | 24 + .../Google/Ads/Admanager/V1/TeamEnums.php | 24 + .../Google/Ads/Admanager/V1/TeamMessages.php | 27 + .../Google/Ads/Admanager/V1/TeamService.php | 30 + .../Admanager/V1/ThirdPartyCompanyEnums.php | 24 + .../V1/ThirdPartyCompanyMessages.php | 27 + .../Admanager/V1/ThirdPartyCompanyService.php | 29 + .../V1/ThirdPartyMeasurementSettings.php | 28 + .../Google/Ads/Admanager/V1/TimeUnitEnum.php | 24 + .../Google/Ads/Admanager/V1/UserMessages.php | 26 + .../Google/Ads/Admanager/V1/UserService.php | 29 + .../Ads/Admanager/V1/VideoPositionEnum.php | 24 + .../Admanager/V1/VideoTranscodeStatusEnum.php | 24 + .../Admanager/V1/ViewabilityPartnerEnum.php | 24 + .../Google/Ads/Admanager/V1/WebProperty.php | 27 + .../ActivateCustomTargetingValueRequest.php | 75 + .../src/Google/Ads/AdManager/V1/AdBreak.php | 679 ++ .../Ads/AdManager/V1/AdBreakFillTypeEnum.php | 34 + .../AdBreakFillTypeEnum/AdBreakFillType.php | 71 + .../AdManager/V1/AdBreakMarkupTypeEnum.php | 34 + .../AdBreakMarkupType.php | 112 + .../Ads/AdManager/V1/AdBreakStateEnum.php | 34 + .../V1/AdBreakStateEnum/AdBreakState.php | 71 + .../Ads/AdManager/V1/AdManagerError.php | 241 + .../AdManager/V1/AdMediaDeliveryConfig.php | 187 + .../Ads/AdManager/V1/AdReviewCenterAd.php | 284 + .../V1/AdReviewCenterAdStatusEnum.php | 34 + .../AdReviewCenterAdStatus.php | 68 + .../src/Google/Ads/AdManager/V1/AdRule.php | 706 ++ .../V1/AdRuleFrequencyCapBehaviorEnum.php | 34 + .../AdRuleFrequencyCapBehavior.php | 68 + .../Google/Ads/AdManager/V1/AdRuleSlot.php | 451 + .../AdManager/V1/AdRuleSlotBehaviorEnum.php | 34 + .../AdRuleSlotBehavior.php | 69 + .../Ads/AdManager/V1/AdRuleSlotBumperEnum.php | 34 + .../AdRuleSlotBumperEnum/AdRuleSlotBumper.php | 75 + .../V1/AdRuleSlotMidrollFrequencyTypeEnum.php | 34 + .../AdRuleSlotMidrollFrequencyType.php | 98 + .../Ads/AdManager/V1/AdRuleStatusEnum.php | 31 + .../V1/AdRuleStatusEnum/AdRuleStatus.php | 68 + .../src/Google/Ads/AdManager/V1/AdSpot.php | 679 ++ .../AdManager/V1/AdSpotTargetingTypeEnum.php | 34 + .../AdSpotTargetingType.php | 71 + .../src/Google/Ads/AdManager/V1/AdUnit.php | 1187 +++ .../Google/Ads/AdManager/V1/AdUnitParent.php | 173 + .../Google/Ads/AdManager/V1/AdUnitSize.php | 163 + .../Ads/AdManager/V1/AdUnitStatusEnum.php | 34 + .../V1/AdUnitStatusEnum/AdUnitStatus.php | 68 + .../Ads/AdManager/V1/AdUnitTargeting.php | 121 + .../Google/Ads/AdManager/V1/Application.php | 614 ++ .../V1/ApplicationApprovalStatusEnum.php | 34 + .../ApplicationApprovalStatus.php | 83 + .../AdManager/V1/ApplicationPlatformEnum.php | 34 + .../ApplicationPlatform.php | 111 + .../Ads/AdManager/V1/ApplicationStoreEnum.php | 34 + .../ApplicationStoreEnum/ApplicationStore.php | 138 + .../Google/Ads/AdManager/V1/AppliedLabel.php | 105 + .../Ads/AdManager/V1/AudienceSegment.php | 131 + .../AdManager/V1/AudienceSegmentTargeting.php | 136 + .../Ads/AdManager/V1/AuxiliaryAdSettings.php | 85 + .../Ads/AdManager/V1/BandwidthGroup.php | 126 + .../Ads/AdManager/V1/BandwidthTargeting.php | 112 + .../V1/BatchActivateAdRulesRequest.php | 128 + .../V1/BatchActivateAdRulesResponse.php | 33 + .../V1/BatchActivateAdUnitsRequest.php | 123 + .../V1/BatchActivateAdUnitsResponse.php | 33 + .../V1/BatchActivateCdnConfigsRequest.php | 123 + .../V1/BatchActivateCdnConfigsResponse.php | 33 + .../BatchActivateCmsMetadataKeysRequest.php | 128 + .../BatchActivateCmsMetadataKeysResponse.php | 33 + .../BatchActivateCmsMetadataValuesRequest.php | 133 + ...BatchActivateCmsMetadataValuesResponse.php | 33 + .../V1/BatchActivateContentBundlesRequest.php | 128 + .../BatchActivateContentBundlesResponse.php | 33 + .../V1/BatchActivateCustomFieldsRequest.php | 123 + .../V1/BatchActivateCustomFieldsResponse.php | 33 + ...atchActivateCustomTargetingKeysRequest.php | 128 + ...tchActivateCustomTargetingKeysResponse.php | 33 + ...chActivateCustomTargetingValuesRequest.php | 132 + ...hActivateCustomTargetingValuesResponse.php | 33 + .../V1/BatchActivateLabelsRequest.php | 123 + .../V1/BatchActivateLabelsResponse.php | 33 + .../V1/BatchActivateLiveStreamsRequest.php | 123 + .../V1/BatchActivateLiveStreamsResponse.php | 33 + .../V1/BatchActivatePlacementsRequest.php | 123 + .../V1/BatchActivatePlacementsResponse.php | 33 + .../V1/BatchActivateTeamsRequest.php | 123 + .../V1/BatchActivateTeamsResponse.php | 33 + ...atchAdReviewCenterAdsOperationMetadata.php | 72 + .../V1/BatchAllowAdReviewCenterAdsRequest.php | 168 + .../BatchAllowAdReviewCenterAdsResponse.php | 33 + .../BatchApproveAndOverbookOrdersRequest.php | 166 + .../BatchApproveAndOverbookOrdersResponse.php | 33 + .../V1/BatchApproveOrdersRequest.php | 166 + .../V1/BatchApproveOrdersResponse.php | 33 + ...ApproveOrdersWithoutReservationRequest.php | 128 + ...pproveOrdersWithoutReservationResponse.php | 33 + .../BatchApproveSuggestedAdUnitsRequest.php | 123 + .../BatchApproveSuggestedAdUnitsResponse.php | 75 + .../V1/BatchArchiveAdUnitsRequest.php | 123 + .../V1/BatchArchiveAdUnitsResponse.php | 33 + .../V1/BatchArchiveApplicationsRequest.php | 123 + .../V1/BatchArchiveApplicationsResponse.php | 33 + .../V1/BatchArchiveCdnConfigsRequest.php | 123 + .../V1/BatchArchiveCdnConfigsResponse.php | 33 + .../V1/BatchArchiveLiveStreamsRequest.php | 123 + .../V1/BatchArchiveLiveStreamsResponse.php | 33 + .../V1/BatchArchiveOrdersRequest.php | 128 + .../V1/BatchArchiveOrdersResponse.php | 33 + .../V1/BatchArchivePlacementsRequest.php | 123 + .../V1/BatchArchivePlacementsResponse.php | 33 + .../V1/BatchArchiveSlatesRequest.php | 128 + .../V1/BatchArchiveSlatesResponse.php | 33 + .../V1/BatchBlockAdReviewCenterAdsRequest.php | 168 + .../BatchBlockAdReviewCenterAdsResponse.php | 33 + .../V1/BatchCreateAdRulesRequest.php | 137 + .../V1/BatchCreateAdRulesResponse.php | 67 + .../V1/BatchCreateAdSpotsRequest.php | 137 + .../V1/BatchCreateAdSpotsResponse.php | 67 + .../V1/BatchCreateAdUnitsRequest.php | 137 + .../V1/BatchCreateAdUnitsResponse.php | 67 + .../V1/BatchCreateApplicationsRequest.php | 132 + .../V1/BatchCreateApplicationsResponse.php | 67 + .../V1/BatchCreateCdnConfigsRequest.php | 137 + .../V1/BatchCreateCdnConfigsResponse.php | 67 + .../V1/BatchCreateContactsRequest.php | 137 + .../V1/BatchCreateContactsResponse.php | 67 + .../V1/BatchCreateCustomFieldsRequest.php | 137 + .../V1/BatchCreateCustomFieldsResponse.php | 67 + .../BatchCreateCustomTargetingKeysRequest.php | 137 + ...BatchCreateCustomTargetingKeysResponse.php | 67 + ...atchCreateCustomTargetingValuesRequest.php | 132 + ...tchCreateCustomTargetingValuesResponse.php | 67 + ...atchCreateEntitySignalsMappingsRequest.php | 132 + ...tchCreateEntitySignalsMappingsResponse.php | 67 + .../AdManager/V1/BatchCreateLabelsRequest.php | 137 + .../V1/BatchCreateLabelsResponse.php | 67 + .../V1/BatchCreateLiveStreamsRequest.php | 137 + .../V1/BatchCreateLiveStreamsResponse.php | 67 + .../AdManager/V1/BatchCreateOrdersRequest.php | 137 + .../V1/BatchCreateOrdersResponse.php | 67 + .../V1/BatchCreatePlacementsRequest.php | 137 + .../V1/BatchCreatePlacementsResponse.php | 67 + .../AdManager/V1/BatchCreateSitesRequest.php | 137 + .../AdManager/V1/BatchCreateSitesResponse.php | 67 + .../AdManager/V1/BatchCreateSlatesRequest.php | 137 + .../V1/BatchCreateSlatesResponse.php | 67 + .../V1/BatchCreateTargetingPresetsRequest.php | 137 + .../BatchCreateTargetingPresetsResponse.php | 67 + .../AdManager/V1/BatchCreateTeamsRequest.php | 137 + .../AdManager/V1/BatchCreateTeamsResponse.php | 67 + .../V1/BatchDeactivateAdRulesRequest.php | 128 + .../V1/BatchDeactivateAdRulesResponse.php | 33 + .../V1/BatchDeactivateAdUnitsRequest.php | 123 + .../V1/BatchDeactivateAdUnitsResponse.php | 33 + .../BatchDeactivateCmsMetadataKeysRequest.php | 133 + ...BatchDeactivateCmsMetadataKeysResponse.php | 33 + ...atchDeactivateCmsMetadataValuesRequest.php | 133 + ...tchDeactivateCmsMetadataValuesResponse.php | 33 + .../BatchDeactivateContentBundlesRequest.php | 133 + .../BatchDeactivateContentBundlesResponse.php | 33 + .../V1/BatchDeactivateCustomFieldsRequest.php | 123 + .../BatchDeactivateCustomFieldsResponse.php | 33 + ...chDeactivateCustomTargetingKeysRequest.php | 128 + ...hDeactivateCustomTargetingKeysResponse.php | 33 + ...DeactivateCustomTargetingValuesRequest.php | 127 + ...eactivateCustomTargetingValuesResponse.php | 33 + .../V1/BatchDeactivateLabelsRequest.php | 123 + .../V1/BatchDeactivateLabelsResponse.php | 33 + .../V1/BatchDeactivatePlacementsRequest.php | 123 + .../V1/BatchDeactivatePlacementsResponse.php | 33 + .../V1/BatchDeactivateSitesRequest.php | 117 + .../V1/BatchDeactivateSitesResponse.php | 33 + ...BatchDeactivateTargetingPresetsRequest.php | 117 + ...atchDeactivateTargetingPresetsResponse.php | 71 + .../V1/BatchDeactivateTeamsRequest.php | 123 + .../V1/BatchDeactivateTeamsResponse.php | 33 + .../V1/BatchDeleteAdRulesRequest.php | 128 + .../AdManager/V1/BatchDeleteOrdersRequest.php | 128 + .../V1/BatchDeleteOrdersResponse.php | 33 + .../V1/BatchDisapproveOrdersRequest.php | 128 + .../V1/BatchDisapproveOrdersResponse.php | 33 + ...OrdersWithoutReservationChangesRequest.php | 128 + ...rdersWithoutReservationChangesResponse.php | 33 + .../V1/BatchPauseAdsLiveStreamsRequest.php | 123 + .../V1/BatchPauseAdsLiveStreamsResponse.php | 33 + .../V1/BatchPauseLiveStreamsRequest.php | 123 + .../V1/BatchPauseLiveStreamsResponse.php | 33 + .../AdManager/V1/BatchPauseOrdersRequest.php | 128 + .../AdManager/V1/BatchPauseOrdersResponse.php | 33 + .../V1/BatchRefreshMasterPlaylistsRequest.php | 128 + .../BatchRefreshMasterPlaylistsResponse.php | 33 + .../BatchResumeAndOverbookOrdersRequest.php | 128 + .../BatchResumeAndOverbookOrdersResponse.php | 33 + .../AdManager/V1/BatchResumeOrdersRequest.php | 166 + .../V1/BatchResumeOrdersResponse.php | 33 + .../V1/BatchRetractOrdersRequest.php | 128 + .../V1/BatchRetractOrdersResponse.php | 33 + ...OrdersWithoutReservationChangesRequest.php | 128 + ...rdersWithoutReservationChangesResponse.php | 33 + ...mitOrdersForApprovalAndOverbookRequest.php | 123 + ...itOrdersForApprovalAndOverbookResponse.php | 33 + .../BatchSubmitOrdersForApprovalRequest.php | 166 + .../BatchSubmitOrdersForApprovalResponse.php | 33 + ...provalWithoutReservationChangesRequest.php | 129 + ...rovalWithoutReservationChangesResponse.php | 34 + .../V1/BatchSubmitSitesForApprovalRequest.php | 117 + .../BatchSubmitSitesForApprovalResponse.php | 33 + .../V1/BatchUnarchiveApplicationsRequest.php | 123 + .../V1/BatchUnarchiveApplicationsResponse.php | 33 + .../V1/BatchUnarchiveOrdersRequest.php | 128 + .../V1/BatchUnarchiveOrdersResponse.php | 33 + .../V1/BatchUnarchiveSlatesRequest.php | 128 + .../V1/BatchUnarchiveSlatesResponse.php | 33 + .../V1/BatchUpdateAdRulesRequest.php | 137 + .../V1/BatchUpdateAdRulesResponse.php | 67 + .../V1/BatchUpdateAdSpotsRequest.php | 137 + .../V1/BatchUpdateAdSpotsResponse.php | 67 + .../V1/BatchUpdateAdUnitsRequest.php | 137 + .../V1/BatchUpdateAdUnitsResponse.php | 67 + .../V1/BatchUpdateApplicationsRequest.php | 132 + .../V1/BatchUpdateApplicationsResponse.php | 67 + .../V1/BatchUpdateCdnConfigsRequest.php | 137 + .../V1/BatchUpdateCdnConfigsResponse.php | 67 + .../V1/BatchUpdateContactsRequest.php | 137 + .../V1/BatchUpdateContactsResponse.php | 67 + .../V1/BatchUpdateCustomFieldsRequest.php | 137 + .../V1/BatchUpdateCustomFieldsResponse.php | 67 + .../BatchUpdateCustomTargetingKeysRequest.php | 137 + ...BatchUpdateCustomTargetingKeysResponse.php | 67 + ...atchUpdateCustomTargetingValuesRequest.php | 132 + ...tchUpdateCustomTargetingValuesResponse.php | 67 + ...atchUpdateEntitySignalsMappingsRequest.php | 132 + ...tchUpdateEntitySignalsMappingsResponse.php | 67 + .../AdManager/V1/BatchUpdateLabelsRequest.php | 137 + .../V1/BatchUpdateLabelsResponse.php | 67 + .../V1/BatchUpdateLiveStreamsRequest.php | 137 + .../V1/BatchUpdateLiveStreamsResponse.php | 67 + .../AdManager/V1/BatchUpdateOrdersRequest.php | 137 + .../V1/BatchUpdateOrdersResponse.php | 67 + .../V1/BatchUpdatePlacementsRequest.php | 137 + .../V1/BatchUpdatePlacementsResponse.php | 67 + .../AdManager/V1/BatchUpdateSitesRequest.php | 137 + .../AdManager/V1/BatchUpdateSitesResponse.php | 67 + .../AdManager/V1/BatchUpdateSlatesRequest.php | 137 + .../V1/BatchUpdateSlatesResponse.php | 67 + .../V1/BatchUpdateTargetingPresetsRequest.php | 137 + .../BatchUpdateTargetingPresetsResponse.php | 67 + .../AdManager/V1/BatchUpdateTeamsRequest.php | 137 + .../AdManager/V1/BatchUpdateTeamsResponse.php | 67 + .../Ads/AdManager/V1/BrandLiftPartnerEnum.php | 34 + .../BrandLiftPartnerEnum/BrandLiftPartner.php | 82 + .../src/Google/Ads/AdManager/V1/Browser.php | 203 + .../Ads/AdManager/V1/BrowserLanguage.php | 115 + .../AdManager/V1/BrowserLanguageTargeting.php | 113 + .../Ads/AdManager/V1/BrowserTargeting.php | 109 + .../src/Google/Ads/AdManager/V1/CdnConfig.php | 304 + .../Ads/AdManager/V1/CdnConfigStatusEnum.php | 34 + .../CdnConfigStatusEnum/CdnConfigStatus.php | 61 + .../Ads/AdManager/V1/CdnConfigTypeEnum.php | 34 + .../V1/CdnConfigTypeEnum/CdnConfigType.php | 79 + .../Ads/AdManager/V1/CdnSecurityPolicy.php | 563 ++ .../CdnSecurityPolicyOriginForwardingEnum.php | 34 + .../CdnSecurityPolicyOriginForwarding.php | 70 + .../V1/CdnSecurityPolicyTypeEnum.php | 34 + .../CdnSecurityPolicyType.php | 70 + .../V1/ChildContentEligibilityEnum.php | 34 + .../ChildContentEligibility.php | 62 + .../Ads/AdManager/V1/ChildPublisher.php | 75 + .../Google/Ads/AdManager/V1/CmsContent.php | 185 + .../Ads/AdManager/V1/CmsMetadataKey.php | 139 + .../AdManager/V1/CmsMetadataKeyStatusEnum.php | 34 + .../CmsMetadataKeyStatus.php | 61 + .../Ads/AdManager/V1/CmsMetadataTargeting.php | 115 + .../Ads/AdManager/V1/CmsMetadataValue.php | 181 + .../V1/CmsMetadataValueStatusEnum.php | 34 + .../CmsMetadataValueStatus.php | 68 + .../V1/CompanionDeliveryOptionEnum.php | 34 + .../CompanionDeliveryOption.php | 73 + .../src/Google/Ads/AdManager/V1/Company.php | 818 ++ .../AdManager/V1/CompanyCreditStatusEnum.php | 34 + .../CompanyCreditStatus.php | 116 + .../Ads/AdManager/V1/CompanyTypeEnum.php | 34 + .../V1/CompanyTypeEnum/CompanyType.php | 83 + .../src/Google/Ads/AdManager/V1/Contact.php | 550 ++ .../Ads/AdManager/V1/ContactStatusEnum.php | 34 + .../V1/ContactStatusEnum/ContactStatus.php | 93 + .../src/Google/Ads/AdManager/V1/Content.php | 797 ++ .../Google/Ads/AdManager/V1/ContentBundle.php | 208 + .../AdManager/V1/ContentBundleStatusEnum.php | 34 + .../ContentBundleStatus.php | 68 + .../Google/Ads/AdManager/V1/ContentLabel.php | 105 + .../Ads/AdManager/V1/ContentStatusEnum.php | 34 + .../V1/ContentStatusEnum/ContentStatus.php | 85 + .../AdManager/V1/ContentStatusSourceEnum.php | 34 + .../ContentStatusSource.php | 62 + .../Ads/AdManager/V1/ContentTargeting.php | 202 + .../Ads/AdManager/V1/CreateAdBreakRequest.php | 148 + .../Ads/AdManager/V1/CreateAdRuleRequest.php | 132 + .../Ads/AdManager/V1/CreateAdSpotRequest.php | 132 + .../Ads/AdManager/V1/CreateAdUnitRequest.php | 132 + .../AdManager/V1/CreateApplicationRequest.php | 132 + .../AdManager/V1/CreateCdnConfigRequest.php | 132 + .../Ads/AdManager/V1/CreateContactRequest.php | 132 + .../AdManager/V1/CreateCreativeSetRequest.php | 132 + .../AdManager/V1/CreateCustomFieldRequest.php | 132 + .../V1/CreateCustomTargetingKeyRequest.php | 132 + .../V1/CreateCustomTargetingValueRequest.php | 137 + .../V1/CreateEntitySignalsMappingRequest.php | 132 + .../Ads/AdManager/V1/CreateLabelRequest.php | 132 + .../AdManager/V1/CreateLiveStreamRequest.php | 132 + .../Ads/AdManager/V1/CreateOrderRequest.php | 115 + .../AdManager/V1/CreatePlacementRequest.php | 132 + .../V1/CreatePrivateAuctionDealRequest.php | 132 + .../V1/CreatePrivateAuctionRequest.php | 132 + .../Ads/AdManager/V1/CreateReportRequest.php | 132 + .../Ads/AdManager/V1/CreateSiteRequest.php | 132 + .../Ads/AdManager/V1/CreateSlateRequest.php | 132 + .../V1/CreateTargetingPresetRequest.php | 132 + .../Ads/AdManager/V1/CreateTeamRequest.php | 132 + .../src/Google/Ads/AdManager/V1/Creative.php | 119 + .../Ads/AdManager/V1/CreativePlaceholder.php | 331 + .../V1/CreativePlaceholderCompanion.php | 82 + .../AdManager/V1/CreativeRotationTypeEnum.php | 34 + .../CreativeRotationType.php | 79 + .../Google/Ads/AdManager/V1/CreativeSet.php | 254 + .../Ads/AdManager/V1/CreativeTargeting.php | 125 + .../Ads/AdManager/V1/CreativeTemplate.php | 537 ++ .../V1/CreativeTemplateStatusEnum.php | 34 + .../CreativeTemplateStatus.php | 70 + .../AdManager/V1/CreativeTemplateTypeEnum.php | 34 + .../CreativeTemplateType.php | 62 + .../AdManager/V1/CreativeTemplateVariable.php | 402 + .../AssetCreativeTemplateVariable.php | 74 + .../MimeType.php | 68 + .../ListStringCreativeTemplateVariable.php | 225 + .../VariableChoice.php | 141 + .../LongCreativeTemplateVariable.php | 132 + .../StringCreativeTemplateVariable.php | 132 + .../UrlCreativeTemplateVariable.php | 180 + .../CreativeTemplateVariableUrlTypeEnum.php | 34 + .../CreativeTemplateVariableUrlType.php | 75 + .../Google/Ads/AdManager/V1/CustomField.php | 432 + .../AdManager/V1/CustomFieldDataTypeEnum.php | 34 + .../CustomFieldDataType.php | 76 + .../V1/CustomFieldEntityTypeEnum.php | 34 + .../CustomFieldEntityType.php | 82 + .../Ads/AdManager/V1/CustomFieldOption.php | 105 + .../AdManager/V1/CustomFieldStatusEnum.php | 34 + .../CustomFieldStatus.php | 61 + .../Ads/AdManager/V1/CustomFieldValue.php | 115 + .../AdManager/V1/CustomFieldValue/Value.php | 174 + .../V1/CustomFieldVisibilityEnum.php | 34 + .../CustomFieldVisibility.php | 69 + .../Ads/AdManager/V1/CustomPacingCurve.php | 120 + .../Ads/AdManager/V1/CustomPacingGoal.php | 191 + .../AdManager/V1/CustomPacingGoalUnitEnum.php | 34 + .../CustomPacingGoalUnit.php | 63 + .../Ads/AdManager/V1/CustomTargeting.php | 68 + .../AdManager/V1/CustomTargetingClause.php | 135 + .../Ads/AdManager/V1/CustomTargetingKey.php | 366 + .../CustomTargetingKeyReportableTypeEnum.php | 34 + .../CustomTargetingKeyReportableType.php | 68 + .../V1/CustomTargetingKeyStatusEnum.php | 34 + .../CustomTargetingKeyStatus.php | 61 + .../V1/CustomTargetingKeyTypeEnum.php | 34 + .../CustomTargetingKeyType.php | 61 + .../AdManager/V1/CustomTargetingLiteral.php | 159 + .../Ads/AdManager/V1/CustomTargetingValue.php | 323 + .../V1/CustomTargetingValueMatchTypeEnum.php | 34 + .../CustomTargetingValueMatchType.php | 110 + .../V1/CustomTargetingValueStatusEnum.php | 34 + .../CustomTargetingValueStatus.php | 61 + .../Ads/AdManager/V1/DaiIngestError.php | 122 + .../AdManager/V1/DaiIngestErrorReasonEnum.php | 34 + .../DaiIngestErrorReason.php | 555 ++ .../Ads/AdManager/V1/DaiIngestStatusEnum.php | 34 + .../DaiIngestStatusEnum/DaiIngestStatus.php | 101 + .../Google/Ads/AdManager/V1/DashBridge.php | 83 + .../Ads/AdManager/V1/DataSegmentTargeting.php | 67 + .../DeactivateCustomTargetingValueRequest.php | 75 + .../V1/DeactivateTargetingPresetRequest.php | 105 + .../V1/DealBuyerPermissionTypeEnum.php | 34 + .../DealBuyerPermissionType.php | 61 + .../Ads/AdManager/V1/DealPriorityTierEnum.php | 34 + .../DealPriorityTierEnum/DealPriorityTier.php | 117 + .../Ads/AdManager/V1/DelegationTypeEnum.php | 34 + .../V1/DelegationTypeEnum/DelegationType.php | 65 + .../Ads/AdManager/V1/DeleteAdBreakRequest.php | 92 + .../Ads/AdManager/V1/DeliveryIndicator.php | 121 + .../Ads/AdManager/V1/DeviceCapability.php | 115 + .../V1/DeviceCapabilityTargeting.php | 113 + .../Ads/AdManager/V1/DeviceCategory.php | 115 + .../AdManager/V1/DeviceCategoryTargeting.php | 105 + .../Ads/AdManager/V1/DeviceManufacturer.php | 119 + .../V1/DeviceManufacturerTargeting.php | 261 + .../Ads/AdManager/V1/DisapprovalReason.php | 121 + .../Ads/AdManager/V1/DiscountTypeEnum.php | 34 + .../V1/DiscountTypeEnum/DiscountType.php | 61 + .../V1/DynamicAdInsertionTypeEnum.php | 34 + .../DynamicAdInsertionType.php | 73 + .../AdManager/V1/EarningsProductBreakdown.php | 262 + .../Ads/AdManager/V1/EntitySignalsMapping.php | 276 + .../Ads/AdManager/V1/EnvironmentTypeEnum.php | 34 + .../EnvironmentTypeEnum/EnvironmentType.php | 61 + .../V1/ExchangeSyndicationProductEnum.php | 34 + .../ExchangeSyndicationProduct.php | 75 + .../Ads/AdManager/V1/ExclusionScopeEnum.php | 34 + .../V1/ExclusionScopeEnum/ExclusionScope.php | 68 + .../AdManager/V1/FetchMcmEarningsRequest.php | 344 + .../AdManager/V1/FetchMcmEarningsResponse.php | 172 + .../V1/FetchReportResultRowsRequest.php | 174 + .../V1/FetchReportResultRowsResponse.php | 283 + .../FirstPartyMobileApplicationTargeting.php | 109 + .../Google/Ads/AdManager/V1/FrequencyCap.php | 165 + .../src/Google/Ads/AdManager/V1/GeoTarget.php | 345 + .../Google/Ads/AdManager/V1/GeoTargeting.php | 101 + .../Ads/AdManager/V1/GetAdBreakRequest.php | 102 + .../Ads/AdManager/V1/GetAdRuleRequest.php | 86 + .../Ads/AdManager/V1/GetAdSpotRequest.php | 86 + .../Ads/AdManager/V1/GetAdUnitRequest.php | 86 + .../AdManager/V1/GetApplicationRequest.php | 86 + .../V1/GetAudienceSegmentRequest.php | 86 + .../AdManager/V1/GetBandwidthGroupRequest.php | 86 + .../V1/GetBrowserLanguageRequest.php | 86 + .../Ads/AdManager/V1/GetBrowserRequest.php | 86 + .../Ads/AdManager/V1/GetCdnConfigRequest.php | 86 + .../AdManager/V1/GetCmsMetadataKeyRequest.php | 86 + .../V1/GetCmsMetadataValueRequest.php | 86 + .../Ads/AdManager/V1/GetCompanyRequest.php | 86 + .../Ads/AdManager/V1/GetContactRequest.php | 86 + .../AdManager/V1/GetContentBundleRequest.php | 86 + .../AdManager/V1/GetContentLabelRequest.php | 86 + .../Ads/AdManager/V1/GetContentRequest.php | 86 + .../AdManager/V1/GetCreativeSetRequest.php | 86 + .../V1/GetCreativeTemplateRequest.php | 86 + .../AdManager/V1/GetCustomFieldRequest.php | 86 + .../V1/GetCustomTargetingKeyRequest.php | 91 + .../V1/GetCustomTargetingValueRequest.php | 91 + .../V1/GetDeviceCapabilityRequest.php | 86 + .../AdManager/V1/GetDeviceCategoryRequest.php | 86 + .../V1/GetDeviceManufacturerRequest.php | 91 + .../V1/GetEntitySignalsMappingRequest.php | 91 + .../Ads/AdManager/V1/GetGeoTargetRequest.php | 86 + .../Ads/AdManager/V1/GetLabelRequest.php | 86 + .../Ads/AdManager/V1/GetLineItemRequest.php | 86 + .../AdManager/V1/GetLinkedDeviceRequest.php | 86 + .../Ads/AdManager/V1/GetLiveStreamRequest.php | 86 + .../AdManager/V1/GetMobileCarrierRequest.php | 86 + .../AdManager/V1/GetMobileDeviceRequest.php | 86 + .../V1/GetMobileDeviceSubmodelRequest.php | 91 + .../Ads/AdManager/V1/GetNetworkRequest.php | 86 + .../V1/GetOperatingSystemRequest.php | 86 + .../V1/GetOperatingSystemVersionRequest.php | 91 + .../Ads/AdManager/V1/GetOrderRequest.php | 86 + .../Ads/AdManager/V1/GetPlacementRequest.php | 86 + .../V1/GetPrivateAuctionDealRequest.php | 91 + .../AdManager/V1/GetPrivateAuctionRequest.php | 91 + .../V1/GetProgrammaticBuyerRequest.php | 91 + .../Ads/AdManager/V1/GetReportRequest.php | 86 + .../V1/GetRichMediaAdsCompanyRequest.php | 91 + .../Ads/AdManager/V1/GetRoleRequest.php | 86 + .../Ads/AdManager/V1/GetSiteRequest.php | 86 + .../Ads/AdManager/V1/GetSlateRequest.php | 86 + .../V1/GetSuggestedAdUnitRequest.php | 86 + .../V1/GetTargetingPresetRequest.php | 86 + .../V1/GetTaxonomyCategoryRequest.php | 86 + .../Ads/AdManager/V1/GetTeamRequest.php | 86 + .../V1/GetThirdPartyCompanyRequest.php | 91 + .../Ads/AdManager/V1/GetUserRequest.php | 86 + .../src/Google/Ads/AdManager/V1/Goal.php | 234 + .../Google/Ads/AdManager/V1/GoalTypeEnum.php | 34 + .../AdManager/V1/GoalTypeEnum/GoalType.php | 93 + .../Ads/AdManager/V1/GrpProviderEnum.php | 34 + .../V1/GrpProviderEnum/GrpProvider.php | 62 + .../Google/Ads/AdManager/V1/GrpSettings.php | 455 + .../Ads/AdManager/V1/GrpTargetGenderEnum.php | 34 + .../GrpTargetGenderEnum/GrpTargetGender.php | 68 + .../V1/HlsMasterPlaylistRefreshTypeEnum.php | 34 + .../HlsMasterPlaylistRefreshType.php | 62 + .../Google/Ads/AdManager/V1/HlsSettings.php | 142 + .../V1/HlsSettingsPlaylistTypeEnum.php | 34 + .../HlsSettingsPlaylistType.php | 68 + .../Ads/AdManager/V1/InventoryTargeting.php | 153 + .../src/Google/Ads/AdManager/V1/Label.php | 245 + .../Ads/AdManager/V1/LabelFrequencyCap.php | 125 + .../Google/Ads/AdManager/V1/LabelTypeEnum.php | 34 + .../AdManager/V1/LabelTypeEnum/LabelType.php | 88 + .../src/Google/Ads/AdManager/V1/LineItem.php | 3283 +++++++ .../V1/LineItemAllowedFormatEnum.php | 34 + .../LineItemAllowedFormat.php | 69 + .../V1/LineItemComputedStatusEnum.php | 34 + .../LineItemComputedStatus.php | 129 + .../Ads/AdManager/V1/LineItemCostTypeEnum.php | 34 + .../LineItemCostTypeEnum/LineItemCostType.php | 137 + .../Ads/AdManager/V1/LineItemDealInfo.php | 81 + .../V1/LineItemDeliveryForecastSourceEnum.php | 34 + .../LineItemDeliveryForecastSource.php | 71 + .../V1/LineItemDeliveryRateTypeEnum.php | 34 + .../LineItemDeliveryRateType.php | 74 + .../Ads/AdManager/V1/LineItemDiscount.php | 137 + .../V1/LineItemReservationStatusEnum.php | 34 + .../LineItemReservationStatus.php | 61 + .../Google/Ads/AdManager/V1/LineItemStats.php | 291 + .../Ads/AdManager/V1/LineItemTypeEnum.php | 34 + .../V1/LineItemTypeEnum/LineItemType.php | 146 + .../Google/Ads/AdManager/V1/LinkedDevice.php | 208 + .../V1/LinkedDeviceVisibilityEnum.php | 34 + .../LinkedDeviceVisibility.php | 66 + .../Ads/AdManager/V1/ListAdBreaksRequest.php | 307 + .../Ads/AdManager/V1/ListAdBreaksResponse.php | 176 + .../Ads/AdManager/V1/ListAdRulesRequest.php | 324 + .../Ads/AdManager/V1/ListAdRulesResponse.php | 172 + .../Ads/AdManager/V1/ListAdSpotsRequest.php | 328 + .../Ads/AdManager/V1/ListAdSpotsResponse.php | 172 + .../AdManager/V1/ListAdUnitSizesRequest.php | 296 + .../AdManager/V1/ListAdUnitSizesResponse.php | 171 + .../Ads/AdManager/V1/ListAdUnitsRequest.php | 356 + .../Ads/AdManager/V1/ListAdUnitsResponse.php | 171 + .../AdManager/V1/ListApplicationsRequest.php | 344 + .../AdManager/V1/ListApplicationsResponse.php | 172 + .../V1/ListAudienceSegmentsRequest.php | 312 + .../V1/ListAudienceSegmentsResponse.php | 172 + .../V1/ListBandwidthGroupsRequest.php | 316 + .../V1/ListBandwidthGroupsResponse.php | 172 + .../V1/ListBrowserLanguagesRequest.php | 316 + .../V1/ListBrowserLanguagesResponse.php | 172 + .../Ads/AdManager/V1/ListBrowsersRequest.php | 324 + .../Ads/AdManager/V1/ListBrowsersResponse.php | 172 + .../AdManager/V1/ListCdnConfigsRequest.php | 328 + .../AdManager/V1/ListCdnConfigsResponse.php | 172 + .../V1/ListCmsMetadataKeysRequest.php | 320 + .../V1/ListCmsMetadataKeysResponse.php | 172 + .../V1/ListCmsMetadataValuesRequest.php | 324 + .../V1/ListCmsMetadataValuesResponse.php | 172 + .../Ads/AdManager/V1/ListCompaniesRequest.php | 360 + .../AdManager/V1/ListCompaniesResponse.php | 172 + .../Ads/AdManager/V1/ListContactsRequest.php | 352 + .../Ads/AdManager/V1/ListContactsResponse.php | 172 + .../V1/ListContentBundlesRequest.php | 324 + .../V1/ListContentBundlesResponse.php | 172 + .../AdManager/V1/ListContentLabelsRequest.php | 316 + .../V1/ListContentLabelsResponse.php | 172 + .../Ads/AdManager/V1/ListContentRequest.php | 368 + .../Ads/AdManager/V1/ListContentResponse.php | 172 + .../AdManager/V1/ListCreativeSetsRequest.php | 328 + .../AdManager/V1/ListCreativeSetsResponse.php | 172 + .../V1/ListCreativeTemplatesRequest.php | 344 + .../V1/ListCreativeTemplatesResponse.php | 172 + .../AdManager/V1/ListCustomFieldsRequest.php | 344 + .../AdManager/V1/ListCustomFieldsResponse.php | 172 + .../V1/ListCustomTargetingKeysRequest.php | 332 + .../V1/ListCustomTargetingKeysResponse.php | 172 + .../V1/ListCustomTargetingValuesRequest.php | 345 + .../V1/ListCustomTargetingValuesResponse.php | 172 + .../V1/ListDeviceCapabilitiesRequest.php | 316 + .../V1/ListDeviceCapabilitiesResponse.php | 172 + .../V1/ListDeviceCategoriesRequest.php | 316 + .../V1/ListDeviceCategoriesResponse.php | 172 + .../V1/ListDeviceManufacturersRequest.php | 316 + .../V1/ListDeviceManufacturersResponse.php | 172 + .../V1/ListEntitySignalsMappingsRequest.php | 304 + .../V1/ListEntitySignalsMappingsResponse.php | 172 + .../AdManager/V1/ListGeoTargetsRequest.php | 328 + .../AdManager/V1/ListGeoTargetsResponse.php | 172 + .../Ads/AdManager/V1/ListLabelsRequest.php | 328 + .../Ads/AdManager/V1/ListLabelsResponse.php | 171 + .../Ads/AdManager/V1/ListLineItemsRequest.php | 444 + .../AdManager/V1/ListLineItemsResponse.php | 172 + .../AdManager/V1/ListLinkedDevicesRequest.php | 324 + .../V1/ListLinkedDevicesResponse.php | 172 + .../AdManager/V1/ListLiveStreamsRequest.php | 356 + .../AdManager/V1/ListLiveStreamsResponse.php | 172 + .../V1/ListMobileCarriersRequest.php | 320 + .../V1/ListMobileCarriersResponse.php | 172 + .../V1/ListMobileDeviceSubmodelsRequest.php | 328 + .../V1/ListMobileDeviceSubmodelsResponse.php | 172 + .../AdManager/V1/ListMobileDevicesRequest.php | 320 + .../V1/ListMobileDevicesResponse.php | 172 + .../Ads/AdManager/V1/ListNetworksRequest.php | 159 + .../Ads/AdManager/V1/ListNetworksResponse.php | 163 + .../V1/ListOperatingSystemVersionsRequest.php | 332 + .../ListOperatingSystemVersionsResponse.php | 172 + .../V1/ListOperatingSystemsRequest.php | 316 + .../V1/ListOperatingSystemsResponse.php | 172 + .../Ads/AdManager/V1/ListOrdersRequest.php | 396 + .../Ads/AdManager/V1/ListOrdersResponse.php | 172 + .../AdManager/V1/ListPlacementsRequest.php | 336 + .../AdManager/V1/ListPlacementsResponse.php | 172 + .../V1/ListPrivateAuctionDealsRequest.php | 369 + .../V1/ListPrivateAuctionDealsResponse.php | 172 + .../V1/ListPrivateAuctionsRequest.php | 300 + .../V1/ListPrivateAuctionsResponse.php | 172 + .../V1/ListProgrammaticBuyersRequest.php | 340 + .../V1/ListProgrammaticBuyersResponse.php | 172 + .../Ads/AdManager/V1/ListReportsRequest.php | 296 + .../Ads/AdManager/V1/ListReportsResponse.php | 172 + .../V1/ListRichMediaAdsCompaniesRequest.php | 336 + .../V1/ListRichMediaAdsCompaniesResponse.php | 172 + .../Ads/AdManager/V1/ListRolesRequest.php | 328 + .../Ads/AdManager/V1/ListRolesResponse.php | 171 + .../Ads/AdManager/V1/ListSitesRequest.php | 328 + .../Ads/AdManager/V1/ListSitesResponse.php | 171 + .../Ads/AdManager/V1/ListSlatesRequest.php | 312 + .../Ads/AdManager/V1/ListSlatesResponse.php | 151 + .../V1/ListSuggestedAdUnitsRequest.php | 320 + .../V1/ListSuggestedAdUnitsResponse.php | 172 + .../V1/ListTargetingPresetsRequest.php | 320 + .../V1/ListTargetingPresetsResponse.php | 172 + .../V1/ListTaxonomyCategoriesRequest.php | 296 + .../V1/ListTaxonomyCategoriesResponse.php | 172 + .../Ads/AdManager/V1/ListTeamsRequest.php | 336 + .../Ads/AdManager/V1/ListTeamsResponse.php | 171 + .../V1/ListThirdPartyCompaniesRequest.php | 324 + .../V1/ListThirdPartyCompaniesResponse.php | 172 + .../Google/Ads/AdManager/V1/LiveStream.php | 2011 +++++ .../AdManager/V1/LiveStreamConditioning.php | 82 + .../Ads/AdManager/V1/LiveStreamEvent.php | 76 + .../V1/LiveStreamEventStatusEnum.php | 34 + .../LiveStreamEventStatus.php | 78 + .../V1/LiveStreamEventStreamingFormatEnum.php | 34 + .../LiveStreamEventStreamingFormat.php | 61 + .../V1/ManualAdReviewCenterAdStatusEnum.php | 34 + .../ManualAdReviewCenterAdStatus.php | 82 + .../AdManager/V1/MasterPlaylistSettings.php | 93 + .../Google/Ads/AdManager/V1/McmEarnings.php | 567 ++ .../V1/McmEarningsProductTypeEnum.php | 34 + .../McmEarningsProductType.php | 137 + .../Google/Ads/AdManager/V1/MediaLocation.php | 190 + .../V1/MobileApplicationTargeting.php | 75 + .../Google/Ads/AdManager/V1/MobileCarrier.php | 159 + .../AdManager/V1/MobileCarrierTargeting.php | 106 + .../Google/Ads/AdManager/V1/MobileDevice.php | 163 + .../Ads/AdManager/V1/MobileDeviceSubmodel.php | 167 + .../src/Google/Ads/AdManager/V1/Network.php | 473 + .../Ads/AdManager/V1/NielsenCtvPacingEnum.php | 34 + .../NielsenCtvPacingEnum/NielsenCtvPacing.php | 73 + .../V1/NonGuaranteedDealPriority.php | 82 + .../Ads/AdManager/V1/OperatingSystem.php | 115 + .../AdManager/V1/OperatingSystemTargeting.php | 185 + .../AdManager/V1/OperatingSystemVersion.php | 207 + .../src/Google/Ads/AdManager/V1/Order.php | 1484 +++ .../Ads/AdManager/V1/OrderStatusEnum.php | 34 + .../V1/OrderStatusEnum/OrderStatus.php | 99 + .../V1/PacingDeviceCategorizationEnum.php | 34 + .../PacingDeviceCategorization.php | 62 + .../src/Google/Ads/AdManager/V1/Placement.php | 382 + .../Ads/AdManager/V1/PlacementStatusEnum.php | 34 + .../PlacementStatusEnum/PlacementStatus.php | 68 + .../Ads/AdManager/V1/PrefetchSettings.php | 77 + .../Ads/AdManager/V1/PrerollSettings.php | 125 + .../Ads/AdManager/V1/PrivateAuction.php | 396 + .../Ads/AdManager/V1/PrivateAuctionDeal.php | 840 ++ .../V1/PrivateAuctionDeal/BuyerData.php | 67 + .../V1/PrivateMarketplaceDealStatusEnum.php | 34 + .../PrivateMarketplaceDealStatus.php | 89 + .../Ads/AdManager/V1/ProgrammaticBuyer.php | 395 + .../Ads/AdManager/V1/ReachPartnerEnum.php | 34 + .../V1/ReachPartnerEnum/ReachPartner.php | 110 + .../src/Google/Ads/AdManager/V1/Report.php | 391 + .../Ads/AdManager/V1/Report/Visibility.php | 73 + .../Ads/AdManager/V1/ReportDataTable.php | 33 + .../V1/ReportDataTable/MetricValueGroup.php | 286 + .../Ads/AdManager/V1/ReportDataTable/Row.php | 133 + .../Ads/AdManager/V1/ReportDefinition.php | 867 ++ .../V1/ReportDefinition/DateRange.php | 108 + .../DateRange/FixedDateRange.php | 121 + .../DateRange/RelativeDateRange.php | 384 + .../V1/ReportDefinition/Dimension.php | 7998 +++++++++++++++++ .../AdManager/V1/ReportDefinition/Field.php | 108 + .../AdManager/V1/ReportDefinition/Filter.php | 174 + .../ReportDefinition/Filter/FieldFilter.php | 285 + .../V1/ReportDefinition/Filter/FilterList.php | 67 + .../V1/ReportDefinition/Filter/Operation.php | 132 + .../AdManager/V1/ReportDefinition/Flag.php | 117 + .../AdManager/V1/ReportDefinition/Metric.php | 5755 ++++++++++++ .../V1/ReportDefinition/MetricValueType.php | 82 + .../V1/ReportDefinition/ReportType.php | 131 + .../AdManager/V1/ReportDefinition/Slice.php | 113 + .../AdManager/V1/ReportDefinition/Sort.php | 251 + .../V1/ReportDefinition/TimePeriodColumn.php | 75 + .../V1/ReportDefinition/TimeZoneSource.php | 80 + .../Google/Ads/AdManager/V1/ReportValue.php | 306 + .../AdManager/V1/ReportValue/DoubleList.php | 67 + .../Ads/AdManager/V1/ReportValue/IntList.php | 67 + .../AdManager/V1/ReportValue/StringList.php | 67 + .../AdManager/V1/RequestFormatTargeting.php | 471 + .../Ads/AdManager/V1/RequestPlatformEnum.php | 37 + .../RequestPlatformEnum/RequestPlatform.php | 69 + .../AdManager/V1/RequestPlatformTargeting.php | 67 + .../Ads/AdManager/V1/RichMediaAdsCompany.php | 251 + .../V1/RichMediaAdsCompanyGdprStatusEnum.php | 34 + .../RichMediaAdsCompanyGdprStatus.php | 85 + .../Ads/AdManager/V1/RoadblockingTypeEnum.php | 34 + .../RoadblockingTypeEnum/RoadblockingType.php | 88 + .../src/Google/Ads/AdManager/V1/Role.php | 302 + .../Ads/AdManager/V1/RoleStatusEnum.php | 34 + .../V1/RoleStatusEnum/RoleStatus.php | 61 + .../Ads/AdManager/V1/RunReportMetadata.php | 105 + .../Ads/AdManager/V1/RunReportRequest.php | 86 + .../Ads/AdManager/V1/RunReportResponse.php | 71 + .../Ads/AdManager/V1/ScheduleOptions.php | 149 + .../V1/ScheduleOptions/DeliveryCondition.php | 61 + .../AdManager/V1/ScheduleOptions/Schedule.php | 306 + .../V1/ScheduleOptions/Schedule/Frequency.php | 96 + .../Schedule/MonthlySchedule.php | 71 + .../Schedule/WeeklySchedule.php | 67 + .../V1/SearchAdReviewCenterAdsRequest.php | 480 + .../V1/SearchAdReviewCenterAdsResponse.php | 105 + .../src/Google/Ads/AdManager/V1/Site.php | 291 + .../AdManager/V1/SiteApprovalStatusEnum.php | 34 + .../SiteApprovalStatus.php | 85 + .../V1/SiteDisapprovalReasonEnum.php | 34 + .../SiteDisapprovalReason.php | 68 + .../src/Google/Ads/AdManager/V1/Size.php | 147 + .../Google/Ads/AdManager/V1/SizeTypeEnum.php | 34 + .../AdManager/V1/SizeTypeEnum/SizeType.php | 102 + .../Ads/AdManager/V1/SkippableAdTypeEnum.php | 34 + .../SkippableAdTypeEnum/SkippableAdType.php | 76 + .../src/Google/Ads/AdManager/V1/Slate.php | 305 + .../Ads/AdManager/V1/SlateStatusEnum.php | 34 + .../V1/SlateStatusEnum/SlateStatus.php | 61 + .../Ads/AdManager/V1/SmartSizeModeEnum.php | 34 + .../V1/SmartSizeModeEnum/SmartSizeMode.php | 69 + .../Ads/AdManager/V1/SourceContentConfig.php | 159 + .../Ads/AdManager/V1/SuggestedAdUnit.php | 378 + .../Ads/AdManager/V1/TargetPlatformEnum.php | 34 + .../V1/TargetPlatformEnum/TargetPlatform.php | 68 + .../Ads/AdManager/V1/TargetWindowEnum.php | 34 + .../V1/TargetWindowEnum/TargetWindow.php | 62 + .../V1/TargetedVideoBumperTypeEnum.php | 34 + .../TargetedVideoBumperType.php | 64 + .../src/Google/Ads/AdManager/V1/Targeting.php | 521 ++ .../Ads/AdManager/V1/TargetingPreset.php | 211 + .../V1/TargetingPresetStatusEnum.php | 34 + .../TargetingPresetStatus.php | 61 + .../Ads/AdManager/V1/TaxonomyCategory.php | 378 + .../Ads/AdManager/V1/TaxonomyTypeEnum.php | 34 + .../V1/TaxonomyTypeEnum/TaxonomyType.php | 90 + .../src/Google/Ads/AdManager/V1/Team.php | 363 + .../Ads/AdManager/V1/TeamAccessTypeEnum.php | 34 + .../V1/TeamAccessTypeEnum/TeamAccessType.php | 70 + .../Ads/AdManager/V1/TeamStatusEnum.php | 34 + .../V1/TeamStatusEnum/TeamStatus.php | 61 + .../Ads/AdManager/V1/TechnologyTargeting.php | 386 + .../Ads/AdManager/V1/ThirdPartyCompany.php | 216 + .../V1/ThirdPartyCompanyStatusEnum.php | 34 + .../ThirdPartyCompanyStatus.php | 61 + .../V1/ThirdPartyCompanyTypeEnum.php | 34 + .../ThirdPartyCompanyType.php | 68 + .../V1/ThirdPartyMeasurementSettings.php | 745 ++ .../Google/Ads/AdManager/V1/TimeUnitEnum.php | 33 + .../AdManager/V1/TimeUnitEnum/TimeUnit.php | 104 + .../Google/Ads/AdManager/V1/UnitTypeEnum.php | 34 + .../AdManager/V1/UnitTypeEnum/UnitType.php | 136 + .../Ads/AdManager/V1/UpdateAdBreakRequest.php | 142 + .../Ads/AdManager/V1/UpdateAdRuleRequest.php | 142 + .../Ads/AdManager/V1/UpdateAdSpotRequest.php | 142 + .../Ads/AdManager/V1/UpdateAdUnitRequest.php | 147 + .../AdManager/V1/UpdateApplicationRequest.php | 142 + .../AdManager/V1/UpdateCdnConfigRequest.php | 147 + .../Ads/AdManager/V1/UpdateContactRequest.php | 142 + .../AdManager/V1/UpdateCreativeSetRequest.php | 142 + .../AdManager/V1/UpdateCustomFieldRequest.php | 142 + .../V1/UpdateCustomTargetingKeyRequest.php | 147 + .../V1/UpdateCustomTargetingValueRequest.php | 147 + .../V1/UpdateEntitySignalsMappingRequest.php | 157 + .../Ads/AdManager/V1/UpdateLabelRequest.php | 142 + .../AdManager/V1/UpdateLiveStreamRequest.php | 142 + .../Ads/AdManager/V1/UpdateOrderRequest.php | 129 + .../AdManager/V1/UpdatePlacementRequest.php | 152 + .../V1/UpdatePrivateAuctionDealRequest.php | 147 + .../V1/UpdatePrivateAuctionRequest.php | 147 + .../Ads/AdManager/V1/UpdateReportRequest.php | 136 + .../Ads/AdManager/V1/UpdateSiteRequest.php | 142 + .../Ads/AdManager/V1/UpdateSlateRequest.php | 142 + .../V1/UpdateTargetingPresetRequest.php | 147 + .../Ads/AdManager/V1/UpdateTeamRequest.php | 142 + .../src/Google/Ads/AdManager/V1/User.php | 470 + .../Ads/AdManager/V1/UserDomainTargeting.php | 101 + .../Google/Ads/AdManager/V1/VideoPosition.php | 293 + .../Ads/AdManager/V1/VideoPositionEnum.php | 34 + .../V1/VideoPositionEnum/VideoPosition.php | 75 + .../AdManager/V1/VideoPositionTargeting.php | 71 + .../AdManager/V1/VideoTranscodeStatusEnum.php | 34 + .../VideoTranscodeStatus.php | 82 + .../AdManager/V1/ViewabilityPartnerEnum.php | 34 + .../ViewabilityPartner.php | 91 + .../Google/Ads/AdManager/V1/WebProperty.php | 177 + .../V1/WebviewClaimingStatusEnum.php | 34 + .../WebviewClaimingStatus.php | 63 + .../AdBreakServiceClient/create_ad_break.php | 106 + .../AdBreakServiceClient/delete_ad_break.php | 80 + .../V1/AdBreakServiceClient/get_ad_break.php | 79 + .../AdBreakServiceClient/list_ad_breaks.php | 85 + .../AdBreakServiceClient/update_ad_break.php | 65 + .../batch_allow_ad_review_center_ads.php | 115 + .../batch_block_ad_review_center_ads.php | 115 + .../search_ad_review_center_ads.php | 90 + .../batch_activate_ad_rules.php | 80 + .../batch_create_ad_rules.php | 110 + .../batch_deactivate_ad_rules.php | 80 + .../batch_delete_ad_rules.php | 78 + .../batch_update_ad_rules.php | 100 + .../V1/AdRuleServiceClient/create_ad_rule.php | 91 + .../V1/AdRuleServiceClient/get_ad_rule.php | 72 + .../V1/AdRuleServiceClient/list_ad_rules.php | 75 + .../V1/AdRuleServiceClient/update_ad_rule.php | 86 + .../batch_create_ad_spots.php | 91 + .../batch_update_ad_spots.php | 84 + .../V1/AdSpotServiceClient/create_ad_spot.php | 77 + .../V1/AdSpotServiceClient/get_ad_spot.php | 72 + .../V1/AdSpotServiceClient/list_ad_spots.php | 75 + .../V1/AdSpotServiceClient/update_ad_spot.php | 62 + .../batch_activate_ad_units.php | 79 + .../batch_archive_ad_units.php | 79 + .../batch_create_ad_units.php | 108 + .../batch_deactivate_ad_units.php | 79 + .../batch_update_ad_units.php | 101 + .../V1/AdUnitServiceClient/create_ad_unit.php | 87 + .../V1/AdUnitServiceClient/get_ad_unit.php | 72 + .../list_ad_unit_sizes.php | 75 + .../V1/AdUnitServiceClient/list_ad_units.php | 75 + .../V1/AdUnitServiceClient/update_ad_unit.php | 81 + .../batch_archive_applications.php | 82 + .../batch_create_applications.php | 96 + .../batch_unarchive_applications.php | 82 + .../batch_update_applications.php | 86 + .../create_application.php | 77 + .../get_application.php | 72 + .../list_applications.php | 75 + .../update_application.php | 72 + .../get_audience_segment.php | 75 + .../list_audience_segments.php | 75 + .../get_bandwidth_group.php | 75 + .../list_bandwidth_groups.php | 75 + .../get_browser_language.php | 75 + .../list_browser_languages.php | 75 + .../V1/BrowserServiceClient/get_browser.php | 72 + .../V1/BrowserServiceClient/list_browsers.php | 75 + .../batch_activate_cdn_configs.php | 79 + .../batch_archive_cdn_configs.php | 79 + .../batch_create_cdn_configs.php | 103 + .../batch_update_cdn_configs.php | 96 + .../create_cdn_config.php | 85 + .../CdnConfigServiceClient/get_cdn_config.php | 72 + .../list_cdn_configs.php | 75 + .../update_cdn_config.php | 77 + .../batch_activate_cms_metadata_keys.php | 83 + .../batch_deactivate_cms_metadata_keys.php | 84 + .../get_cms_metadata_key.php | 75 + .../list_cms_metadata_keys.php | 75 + .../batch_activate_cms_metadata_values.php | 84 + .../batch_deactivate_cms_metadata_values.php | 84 + .../get_cms_metadata_value.php | 75 + .../list_cms_metadata_values.php | 75 + .../V1/CompanyServiceClient/get_company.php | 72 + .../CompanyServiceClient/list_companies.php | 75 + .../batch_create_contacts.php | 104 + .../batch_update_contacts.php | 97 + .../ContactServiceClient/create_contact.php | 86 + .../V1/ContactServiceClient/get_contact.php | 72 + .../V1/ContactServiceClient/list_contacts.php | 75 + .../ContactServiceClient/update_contact.php | 78 + .../batch_activate_content_bundles.php | 83 + .../batch_deactivate_content_bundles.php | 84 + .../get_content_bundle.php | 75 + .../list_content_bundles.php | 75 + .../get_content_label.php | 72 + .../list_content_labels.php | 75 + .../V1/ContentServiceClient/get_content.php | 72 + .../V1/ContentServiceClient/list_content.php | 75 + .../create_creative_set.php | 105 + .../get_creative_set.php | 72 + .../list_creative_sets.php | 75 + .../update_creative_set.php | 98 + .../get_creative_template.php | 75 + .../list_creative_templates.php | 75 + .../batch_activate_custom_fields.php | 82 + .../batch_create_custom_fields.php | 114 + .../batch_deactivate_custom_fields.php | 82 + .../batch_update_custom_fields.php | 107 + .../create_custom_field.php | 100 + .../get_custom_field.php | 72 + .../list_custom_fields.php | 75 + .../update_custom_field.php | 93 + .../batch_activate_custom_targeting_keys.php | 83 + .../batch_create_custom_targeting_keys.php | 105 + ...batch_deactivate_custom_targeting_keys.php | 83 + .../batch_update_custom_targeting_keys.php | 98 + .../create_custom_targeting_key.php | 91 + .../get_custom_targeting_key.php | 76 + .../list_custom_targeting_keys.php | 75 + .../update_custom_targeting_key.php | 81 + ...batch_activate_custom_targeting_values.php | 88 + .../batch_create_custom_targeting_values.php | 109 + ...tch_deactivate_custom_targeting_values.php | 88 + .../batch_update_custom_targeting_values.php | 101 + .../create_custom_targeting_value.php | 96 + .../get_custom_targeting_value.php | 76 + .../list_custom_targeting_values.php | 76 + .../update_custom_targeting_value.php | 88 + .../get_device_capability.php | 75 + .../list_device_capabilities.php | 75 + .../get_device_category.php | 75 + .../list_device_categories.php | 75 + .../get_device_manufacturer.php | 76 + .../list_device_manufacturers.php | 75 + .../batch_create_entity_signals_mappings.php | 87 + .../batch_update_entity_signals_mappings.php | 80 + .../create_entity_signals_mapping.php | 74 + .../get_entity_signals_mapping.php | 76 + .../list_entity_signals_mappings.php | 75 + .../update_entity_signals_mapping.php | 59 + .../GeoTargetServiceClient/get_geo_target.php | 72 + .../list_geo_targets.php | 75 + .../batch_activate_labels.php | 79 + .../batch_create_labels.php | 104 + .../batch_deactivate_labels.php | 79 + .../batch_update_labels.php | 93 + .../V1/LabelServiceClient/create_label.php | 86 + .../V1/LabelServiceClient/get_label.php | 72 + .../V1/LabelServiceClient/list_labels.php | 75 + .../V1/LabelServiceClient/update_label.php | 78 + .../LineItemServiceClient/get_line_item.php | 72 + .../LineItemServiceClient/list_line_items.php | 75 + .../get_linked_device.php | 72 + .../list_linked_devices.php | 75 + .../batch_activate_live_streams.php | 79 + .../batch_archive_live_streams.php | 79 + .../batch_create_live_streams.php | 114 + .../batch_pause_ads_live_streams.php | 79 + .../batch_pause_live_streams.php | 79 + .../batch_refresh_master_playlists.php | 80 + .../batch_update_live_streams.php | 107 + .../create_live_stream.php | 100 + .../get_live_stream.php | 72 + .../list_live_streams.php | 75 + .../update_live_stream.php | 93 + .../fetch_mcm_earnings.php | 78 + .../get_mobile_carrier.php | 75 + .../list_mobile_carriers.php | 75 + .../get_mobile_device.php | 72 + .../list_mobile_devices.php | 75 + .../get_mobile_device_submodel.php | 76 + .../list_mobile_device_submodels.php | 75 + .../V1/NetworkServiceClient/get_network.php | 72 + .../V1/NetworkServiceClient/list_networks.php | 60 + .../get_operating_system.php | 75 + .../list_operating_systems.php | 75 + .../get_operating_system_version.php | 76 + .../list_operating_system_versions.php | 75 + .../batch_approve_and_overbook_orders.php | 80 + .../batch_approve_orders.php | 78 + ...tch_approve_orders_without_reservation.php | 80 + .../batch_archive_orders.php | 78 + .../batch_create_orders.php | 112 + .../batch_delete_orders.php | 78 + .../batch_disapprove_orders.php | 80 + ...ove_orders_without_reservation_changes.php | 83 + .../OrderServiceClient/batch_pause_orders.php | 78 + .../batch_resume_and_overbook_orders.php | 80 + .../batch_resume_orders.php | 78 + .../batch_retract_orders.php | 78 + ...act_orders_without_reservation_changes.php | 80 + .../batch_submit_orders_for_approval.php | 80 + ...ubmit_orders_for_approval_and_overbook.php | 79 + ...r_approval_without_reservation_changes.php | 84 + .../batch_unarchive_orders.php | 80 + .../batch_update_orders.php | 105 + .../V1/OrderServiceClient/get_order.php | 72 + .../V1/OrderServiceClient/list_orders.php | 80 + .../batch_activate_placements.php | 79 + .../batch_archive_placements.php | 79 + .../batch_create_placements.php | 97 + .../batch_deactivate_placements.php | 79 + .../batch_update_placements.php | 87 + .../create_placement.php | 78 + .../PlacementServiceClient/get_placement.php | 72 + .../list_placements.php | 75 + .../update_placement.php | 73 + .../create_private_auction_deal.php | 77 + .../get_private_auction_deal.php | 76 + .../list_private_auction_deals.php | 76 + .../update_private_auction_deal.php | 62 + .../create_private_auction.php | 80 + .../get_private_auction.php | 76 + .../list_private_auctions.php | 75 + .../update_private_auction.php | 73 + .../get_programmatic_buyer.php | 76 + .../list_programmatic_buyers.php | 75 + .../V1/ReportServiceClient/create_report.php | 105 + .../fetch_report_result_rows.php | 60 + .../V1/ReportServiceClient/get_report.php | 72 + .../V1/ReportServiceClient/list_reports.php | 75 + .../V1/ReportServiceClient/run_report.php | 91 + .../V1/ReportServiceClient/update_report.php | 98 + .../get_rich_media_ads_company.php | 76 + .../list_rich_media_ads_companies.php | 75 + .../samples/V1/RoleServiceClient/get_role.php | 72 + .../V1/RoleServiceClient/list_roles.php | 75 + .../SiteServiceClient/batch_create_sites.php | 92 + .../batch_deactivate_sites.php | 75 + .../batch_submit_sites_for_approval.php | 77 + .../SiteServiceClient/batch_update_sites.php | 84 + .../V1/SiteServiceClient/create_site.php | 77 + .../samples/V1/SiteServiceClient/get_site.php | 72 + .../V1/SiteServiceClient/list_sites.php | 75 + .../V1/SiteServiceClient/update_site.php | 72 + .../batch_archive_slates.php | 78 + .../batch_create_slates.php | 93 + .../batch_unarchive_slates.php | 80 + .../batch_update_slates.php | 87 + .../V1/SlateServiceClient/create_slate.php | 78 + .../V1/SlateServiceClient/get_slate.php | 72 + .../V1/SlateServiceClient/list_slates.php | 75 + .../V1/SlateServiceClient/update_slate.php | 73 + .../batch_approve_suggested_ad_units.php | 82 + .../get_suggested_ad_unit.php | 75 + .../list_suggested_ad_units.php | 75 + .../batch_create_targeting_presets.php | 100 + .../batch_deactivate_targeting_presets.php | 93 + .../batch_update_targeting_presets.php | 90 + .../create_targeting_preset.php | 83 + .../get_targeting_preset.php | 78 + .../list_targeting_presets.php | 75 + .../update_targeting_preset.php | 76 + .../get_taxonomy_category.php | 75 + .../list_taxonomy_categories.php | 75 + .../batch_activate_teams.php | 77 + .../TeamServiceClient/batch_create_teams.php | 93 + .../batch_deactivate_teams.php | 79 + .../TeamServiceClient/batch_update_teams.php | 85 + .../V1/TeamServiceClient/create_team.php | 78 + .../samples/V1/TeamServiceClient/get_team.php | 72 + .../V1/TeamServiceClient/list_teams.php | 75 + .../V1/TeamServiceClient/update_team.php | 73 + .../get_third_party_company.php | 76 + .../list_third_party_companies.php | 75 + .../samples/V1/UserServiceClient/get_user.php | 75 + .../v1/src/V1/Client/AdBreakServiceClient.php | 436 + .../Client/AdReviewCenterAdServiceClient.php | 406 + .../v1/src/V1/Client/AdRuleServiceClient.php | 886 ++ .../v1/src/V1/Client/AdSpotServiceClient.php | 424 + .../v1/src/V1/Client/AdUnitServiceClient.php | 575 ++ .../V1/Client/ApplicationServiceClient.php | 486 + .../Client/AudienceSegmentServiceClient.php | 312 + .../V1/Client/BandwidthGroupServiceClient.php | 312 + .../Client/BrowserLanguageServiceClient.php | 312 + .../v1/src/V1/Client/BrowserServiceClient.php | 310 + .../src/V1/Client/CdnConfigServiceClient.php | 486 + .../V1/Client/CmsMetadataKeyServiceClient.php | 372 + .../Client/CmsMetadataValueServiceClient.php | 372 + .../v1/src/V1/Client/CompanyServiceClient.php | 310 + .../v1/src/V1/Client/ContactServiceClient.php | 442 + .../V1/Client/ContentBundleServiceClient.php | 372 + .../V1/Client/ContentLabelServiceClient.php | 311 + .../v1/src/V1/Client/ContentServiceClient.php | 310 + .../V1/Client/CreativeSetServiceClient.php | 384 + .../Client/CreativeTemplateServiceClient.php | 312 + .../V1/Client/CustomFieldServiceClient.php | 486 + .../CustomTargetingKeyServiceClient.php | 492 + .../CustomTargetingValueServiceClient.php | 512 ++ .../Client/DeviceCapabilityServiceClient.php | 312 + .../V1/Client/DeviceCategoryServiceClient.php | 312 + .../DeviceManufacturerServiceClient.php | 312 + .../EntitySignalsMappingServiceClient.php | 432 + .../src/V1/Client/GeoTargetServiceClient.php | 310 + .../v1/src/V1/Client/LabelServiceClient.php | 482 + .../src/V1/Client/LineItemServiceClient.php | 310 + .../V1/Client/LinkedDeviceServiceClient.php | 311 + .../src/V1/Client/LiveStreamServiceClient.php | 594 ++ .../V1/Client/McmEarningsServiceClient.php | 263 + .../V1/Client/MobileCarrierServiceClient.php | 312 + .../V1/Client/MobileDeviceServiceClient.php | 311 + .../MobileDeviceSubmodelServiceClient.php | 312 + .../v1/src/V1/Client/NetworkServiceClient.php | 292 + .../Client/OperatingSystemServiceClient.php | 312 + .../OperatingSystemVersionServiceClient.php | 312 + .../v1/src/V1/Client/OrderServiceClient.php | 956 ++ .../src/V1/Client/PlacementServiceClient.php | 534 ++ .../PrivateAuctionDealServiceClient.php | 748 ++ .../V1/Client/PrivateAuctionServiceClient.php | 388 + .../Client/ProgrammaticBuyerServiceClient.php | 312 + .../v1/src/V1/Client/ReportServiceClient.php | 488 + .../RichMediaAdsCompanyServiceClient.php | 312 + .../v1/src/V1/Client/RoleServiceClient.php | 310 + .../v1/src/V1/Client/SiteServiceClient.php | 483 + .../v1/src/V1/Client/SlateServiceClient.php | 482 + .../Client/SuggestedAdUnitServiceClient.php | 342 + .../Client/TargetingPresetServiceClient.php | 841 ++ .../Client/TaxonomyCategoryServiceClient.php | 312 + .../v1/src/V1/Client/TeamServiceClient.php | 482 + .../Client/ThirdPartyCompanyServiceClient.php | 313 + .../v1/src/V1/Client/UserServiceClient.php | 268 + .../v1/src/V1/gapic_metadata.json | 1749 ++++ .../ad_break_service_client_config.json | 47 + .../ad_break_service_descriptor_config.php | 101 + .../ad_break_service_rest_client_config.php | 143 + ...eview_center_ad_service_client_config.json | 37 + ...ew_center_ad_service_descriptor_config.php | 90 + ...w_center_ad_service_rest_client_config.php | 88 + .../ad_rule_service_client_config.json | 67 + .../ad_rule_service_descriptor_config.php | 170 + .../ad_rule_service_rest_client_config.php | 160 + .../ad_spot_service_client_config.json | 52 + .../ad_spot_service_descriptor_config.php | 113 + .../ad_spot_service_rest_client_config.php | 124 + .../ad_unit_service_client_config.json | 72 + .../ad_unit_service_descriptor_config.php | 171 + .../ad_unit_service_rest_client_config.php | 171 + .../application_service_client_config.json | 62 + .../application_service_descriptor_config.php | 137 + ...application_service_rest_client_config.php | 148 + ...udience_segment_service_client_config.json | 32 + ...ence_segment_service_descriptor_config.php | 64 + ...nce_segment_service_rest_client_config.php | 75 + ...bandwidth_group_service_client_config.json | 32 + ...dwidth_group_service_descriptor_config.php | 64 + ...width_group_service_rest_client_config.php | 75 + ...rowser_language_service_client_config.json | 32 + ...ser_language_service_descriptor_config.php | 64 + ...er_language_service_rest_client_config.php | 75 + .../browser_service_client_config.json | 32 + .../browser_service_descriptor_config.php | 64 + .../browser_service_rest_client_config.php | 75 + .../cdn_config_service_client_config.json | 62 + .../cdn_config_service_descriptor_config.php | 137 + .../cdn_config_service_rest_client_config.php | 148 + ...ms_metadata_key_service_client_config.json | 42 + ...metadata_key_service_descriptor_config.php | 88 + ...etadata_key_service_rest_client_config.php | 99 + ..._metadata_value_service_client_config.json | 42 + ...tadata_value_service_descriptor_config.php | 88 + ...adata_value_service_rest_client_config.php | 99 + .../company_service_client_config.json | 32 + .../company_service_descriptor_config.php | 64 + .../company_service_rest_client_config.php | 75 + .../contact_service_client_config.json | 52 + .../contact_service_descriptor_config.php | 114 + .../contact_service_rest_client_config.php | 124 + .../content_bundle_service_client_config.json | 42 + ...ntent_bundle_service_descriptor_config.php | 88 + ...tent_bundle_service_rest_client_config.php | 99 + .../content_label_service_client_config.json | 32 + ...ontent_label_service_descriptor_config.php | 64 + ...ntent_label_service_rest_client_config.php | 75 + .../content_service_client_config.json | 32 + .../content_service_descriptor_config.php | 64 + .../content_service_rest_client_config.php | 75 + .../creative_set_service_client_config.json | 42 + ...creative_set_service_descriptor_config.php | 90 + ...reative_set_service_rest_client_config.php | 100 + ...eative_template_service_client_config.json | 32 + ...ive_template_service_descriptor_config.php | 64 + ...ve_template_service_rest_client_config.php | 75 + .../custom_field_service_client_config.json | 62 + ...custom_field_service_descriptor_config.php | 137 + ...ustom_field_service_rest_client_config.php | 148 + ...m_targeting_key_service_client_config.json | 62 + ...argeting_key_service_descriptor_config.php | 137 + ...rgeting_key_service_rest_client_config.php | 148 + ...targeting_value_service_client_config.json | 62 + ...geting_value_service_descriptor_config.php | 138 + ...eting_value_service_rest_client_config.php | 160 + ...vice_capability_service_client_config.json | 32 + ...e_capability_service_descriptor_config.php | 64 + ..._capability_service_rest_client_config.php | 75 + ...device_category_service_client_config.json | 32 + ...ice_category_service_descriptor_config.php | 64 + ...ce_category_service_rest_client_config.php | 75 + ...ce_manufacturer_service_client_config.json | 32 + ...manufacturer_service_descriptor_config.php | 64 + ...anufacturer_service_rest_client_config.php | 75 + ...signals_mapping_service_client_config.json | 52 + ...nals_mapping_service_descriptor_config.php | 113 + ...als_mapping_service_rest_client_config.php | 124 + .../geo_target_service_client_config.json | 32 + .../geo_target_service_descriptor_config.php | 64 + .../geo_target_service_rest_client_config.php | 75 + .../label_service_client_config.json | 62 + .../label_service_descriptor_config.php | 137 + .../label_service_rest_client_config.php | 148 + .../line_item_service_client_config.json | 32 + .../line_item_service_descriptor_config.php | 64 + .../line_item_service_rest_client_config.php | 75 + .../linked_device_service_client_config.json | 32 + ...inked_device_service_descriptor_config.php | 64 + ...nked_device_service_rest_client_config.php | 75 + .../live_stream_service_client_config.json | 77 + .../live_stream_service_descriptor_config.php | 174 + ...live_stream_service_rest_client_config.php | 184 + .../mcm_earnings_service_client_config.json | 27 + ...mcm_earnings_service_descriptor_config.php | 51 + ...cm_earnings_service_rest_client_config.php | 64 + .../mobile_carrier_service_client_config.json | 32 + ...bile_carrier_service_descriptor_config.php | 64 + ...ile_carrier_service_rest_client_config.php | 75 + .../mobile_device_service_client_config.json | 32 + ...obile_device_service_descriptor_config.php | 64 + ...bile_device_service_rest_client_config.php | 75 + ...device_submodel_service_client_config.json | 32 + ...ice_submodel_service_descriptor_config.php | 64 + ...ce_submodel_service_rest_client_config.php | 75 + .../network_service_client_config.json | 32 + .../network_service_descriptor_config.php | 55 + .../network_service_rest_client_config.php | 68 + ...perating_system_service_client_config.json | 32 + ...ating_system_service_descriptor_config.php | 64 + ...ting_system_service_rest_client_config.php | 75 + ..._system_version_service_client_config.json | 32 + ...stem_version_service_descriptor_config.php | 64 + ...tem_version_service_rest_client_config.php | 75 + .../order_service_client_config.json | 134 + .../order_service_descriptor_config.php | 286 + .../order_service_rest_client_config.php | 291 + .../placement_service_client_config.json | 67 + .../placement_service_descriptor_config.php | 150 + .../placement_service_rest_client_config.php | 160 + ...te_auction_deal_service_client_config.json | 42 + ...auction_deal_service_descriptor_config.php | 110 + ...uction_deal_service_rest_client_config.php | 100 + ...private_auction_service_client_config.json | 42 + ...vate_auction_service_descriptor_config.php | 90 + ...ate_auction_service_rest_client_config.php | 100 + ...grammatic_buyer_service_client_config.json | 32 + ...mmatic_buyer_service_descriptor_config.php | 64 + ...matic_buyer_service_rest_client_config.php | 75 + .../report_service_client_config.json | 52 + .../report_service_descriptor_config.php | 120 + .../report_service_rest_client_config.php | 123 + ...dia_ads_company_service_client_config.json | 32 + ..._ads_company_service_descriptor_config.php | 64 + ...ads_company_service_rest_client_config.php | 75 + .../resources/role_service_client_config.json | 32 + .../role_service_descriptor_config.php | 64 + .../role_service_rest_client_config.php | 75 + .../resources/site_service_client_config.json | 62 + .../site_service_descriptor_config.php | 137 + .../site_service_rest_client_config.php | 148 + .../slate_service_client_config.json | 62 + .../slate_service_descriptor_config.php | 137 + .../slate_service_rest_client_config.php | 148 + ...ggested_ad_unit_service_client_config.json | 37 + ...sted_ad_unit_service_descriptor_config.php | 76 + ...ted_ad_unit_service_rest_client_config.php | 87 + ...argeting_preset_service_client_config.json | 57 + ...eting_preset_service_descriptor_config.php | 146 + ...ting_preset_service_rest_client_config.php | 136 + ...xonomy_category_service_client_config.json | 32 + ...omy_category_service_descriptor_config.php | 64 + ...my_category_service_rest_client_config.php | 75 + .../resources/team_service_client_config.json | 62 + .../team_service_descriptor_config.php | 137 + .../team_service_rest_client_config.php | 148 + ...d_party_company_service_client_config.json | 32 + ...arty_company_service_descriptor_config.php | 64 + ...rty_company_service_rest_client_config.php | 75 + .../resources/user_service_client_config.json | 27 + .../user_service_descriptor_config.php | 43 + .../user_service_rest_client_config.php | 64 + .../V1/Client/AdBreakServiceClientTest.php | 501 ++ .../AdReviewCenterAdServiceClientTest.php | 475 + .../V1/Client/AdRuleServiceClientTest.php | 813 ++ .../V1/Client/AdSpotServiceClientTest.php | 560 ++ .../V1/Client/AdUnitServiceClientTest.php | 886 ++ .../Client/ApplicationServiceClientTest.php | 715 ++ .../AudienceSegmentServiceClientTest.php | 235 + .../BandwidthGroupServiceClientTest.php | 235 + .../BrowserLanguageServiceClientTest.php | 235 + .../V1/Client/BrowserServiceClientTest.php | 243 + .../V1/Client/CdnConfigServiceClientTest.php | 682 ++ .../CmsMetadataKeyServiceClientTest.php | 385 + .../CmsMetadataValueServiceClientTest.php | 387 + .../V1/Client/CompanyServiceClientTest.php | 271 + .../V1/Client/ContactServiceClientTest.php | 579 ++ .../Client/ContentBundleServiceClientTest.php | 385 + .../Client/ContentLabelServiceClientTest.php | 235 + .../V1/Client/ContentServiceClientTest.php | 235 + .../Client/CreativeSetServiceClientTest.php | 427 + .../CreativeTemplateServiceClientTest.php | 259 + .../Client/CustomFieldServiceClientTest.php | 712 ++ .../CustomTargetingKeyServiceClientTest.php | 695 ++ .../CustomTargetingValueServiceClientTest.php | 684 ++ .../DeviceCapabilityServiceClientTest.php | 235 + .../DeviceCategoryServiceClientTest.php | 235 + .../DeviceManufacturerServiceClientTest.php | 235 + .../EntitySignalsMappingServiceClientTest.php | 521 ++ .../V1/Client/GeoTargetServiceClientTest.php | 251 + .../Unit/V1/Client/LabelServiceClientTest.php | 693 ++ .../V1/Client/LineItemServiceClientTest.php | 319 + .../Client/LinkedDeviceServiceClientTest.php | 239 + .../V1/Client/LiveStreamServiceClientTest.php | 1001 +++ .../Client/McmEarningsServiceClientTest.php | 187 + .../Client/MobileCarrierServiceClientTest.php | 239 + .../Client/MobileDeviceServiceClientTest.php | 239 + .../MobileDeviceSubmodelServiceClientTest.php | 239 + .../V1/Client/NetworkServiceClientTest.php | 255 + .../OperatingSystemServiceClientTest.php | 235 + ...peratingSystemVersionServiceClientTest.php | 243 + .../Unit/V1/Client/OrderServiceClientTest.php | 1595 ++++ .../V1/Client/PlacementServiceClientTest.php | 765 ++ .../PrivateAuctionDealServiceClientTest.php | 438 + .../PrivateAuctionServiceClientTest.php | 413 + .../ProgrammaticBuyerServiceClientTest.php | 259 + .../V1/Client/ReportServiceClientTest.php | 637 ++ .../RichMediaAdsCompanyServiceClientTest.php | 243 + .../Unit/V1/Client/RoleServiceClientTest.php | 247 + .../Unit/V1/Client/SiteServiceClientTest.php | 669 ++ .../Unit/V1/Client/SlateServiceClientTest.php | 679 ++ .../SuggestedAdUnitServiceClientTest.php | 311 + .../TargetingPresetServiceClientTest.php | 604 ++ .../TaxonomyCategoryServiceClientTest.php | 247 + .../Unit/V1/Client/TeamServiceClientTest.php | 691 ++ .../ThirdPartyCompanyServiceClientTest.php | 235 + .../Unit/V1/Client/UserServiceClientTest.php | 187 + 1501 files changed, 214221 insertions(+) create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBehaviorEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBumperEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotTargetingTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdmanagerError.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AppliedLabel.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrandLiftPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyOriginForwardingEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ChildContentEligibilityEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ChildPublisherMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativePlaceholder.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateVariableUrlTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingCurve.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingGoalUnitEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealBuyerPermissionTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealPriorityTierEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryIndicator.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DiscountTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EarlyAdBreakNotificationEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EnvironmentTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExchangeSyndicationProductEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExclusionScopeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/FrequencyCap.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Goal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GoalEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpProviderEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpTargetGenderEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemAllowedFormatEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDealInfo.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDeliveryForecastSourceEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDiscount.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemStats.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NielsenCtvPacingEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NonGuaranteedDealPriority.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PacingDeviceCategorizationEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateMarketplaceEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReachPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportDefinition.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportDelivery.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RequestPlatformEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Size.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SizeTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SkippableAdTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SuggestedAdUnitMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SuggestedAdUnitService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetPlatformEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetedVideoBumperTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Targeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyEnums.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyMeasurementSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TimeUnitEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserMessages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserService.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoPositionEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoTranscodeStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ViewabilityPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/WebProperty.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ActivateCustomTargetingValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreak.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum/AdBreakFillType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum/AdBreakMarkupType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum/AdBreakState.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdManagerError.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdMediaDeliveryConfig.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAd.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum/AdReviewCenterAdStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum/AdRuleFrequencyCapBehavior.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlot.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum/AdRuleSlotBehavior.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum/AdRuleSlotBumper.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum/AdRuleSlotMidrollFrequencyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum/AdRuleStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpot.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum/AdSpotTargetingType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitParent.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitSize.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum/AdUnitStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Application.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum/ApplicationApprovalStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum/ApplicationPlatform.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum/ApplicationStore.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AppliedLabel.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegment.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegmentTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AuxiliaryAdSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthGroup.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAdReviewCenterAdsOperationMetadata.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum/BrandLiftPartner.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Browser.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguage.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguageTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfig.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum/CdnConfigStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum/CdnConfigType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicy.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum/CdnSecurityPolicyOriginForwarding.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum/CdnSecurityPolicyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum/ChildContentEligibility.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildPublisher.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsContent.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKey.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum/CmsMetadataKeyStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum/CmsMetadataValueStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum/CompanionDeliveryOption.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Company.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum/CompanyCreditStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum/CompanyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Contact.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum/ContactStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Content.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundle.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum/ContentBundleStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentLabel.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum/ContentStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum/ContentStatusSource.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdBreakRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdRuleRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdSpotRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdUnitRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateApplicationRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCdnConfigRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateContactRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCreativeSetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomFieldRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingKeyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateEntitySignalsMappingRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLabelRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLiveStreamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateOrderRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePlacementRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionDealRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateReportRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSiteRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSlateRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTargetingPresetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTeamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Creative.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholder.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholderCompanion.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum/CreativeRotationType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeSet.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplate.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum/CreativeTemplateStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum/CreativeTemplateType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable/MimeType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable/VariableChoice.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/LongCreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/StringCreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/UrlCreativeTemplateVariable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum/CreativeTemplateVariableUrlType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomField.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum/CustomFieldDataType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum/CustomFieldEntityType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldOption.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum/CustomFieldStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue/Value.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum/CustomFieldVisibility.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingCurve.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum/CustomPacingGoalUnit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingClause.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKey.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum/CustomTargetingKeyReportableType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum/CustomTargetingKeyStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum/CustomTargetingKeyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingLiteral.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum/CustomTargetingValueMatchType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum/CustomTargetingValueStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestError.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum/DaiIngestErrorReason.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum/DaiIngestStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DashBridge.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DataSegmentTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateCustomTargetingValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateTargetingPresetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum/DealBuyerPermissionType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum/DealPriorityTier.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum/DelegationType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeleteAdBreakRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeliveryIndicator.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapability.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapabilityTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategory.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategoryTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturer.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturerTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DisapprovalReason.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum/DiscountType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum/DynamicAdInsertionType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EarningsProductBreakdown.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EntitySignalsMapping.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum/EnvironmentType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum/ExchangeSyndicationProduct.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum/ExclusionScope.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FirstPartyMobileApplicationTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FrequencyCap.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTarget.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdBreakRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdRuleRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdSpotRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdUnitRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetApplicationRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAudienceSegmentRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBandwidthGroupRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserLanguageRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCdnConfigRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataKeyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCompanyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContactRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentBundleRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentLabelRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeSetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeTemplateRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomFieldRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingKeyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCapabilityRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCategoryRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceManufacturerRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetEntitySignalsMappingRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetGeoTargetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLabelRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLineItemRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLinkedDeviceRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLiveStreamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileCarrierRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceSubmodelRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetNetworkRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemVersionRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOrderRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPlacementRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionDealRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetProgrammaticBuyerRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetReportRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRichMediaAdsCompanyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRoleRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSiteRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSlateRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSuggestedAdUnitRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTargetingPresetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTaxonomyCategoryRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTeamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetThirdPartyCompanyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetUserRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Goal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum/GoalType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum/GrpProvider.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum/GrpTargetGender.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum/HlsMasterPlaylistRefreshType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum/HlsSettingsPlaylistType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/InventoryTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Label.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelFrequencyCap.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum/LabelType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItem.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum/LineItemAllowedFormat.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum/LineItemComputedStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum/LineItemCostType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDealInfo.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum/LineItemDeliveryForecastSource.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum/LineItemDeliveryRateType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDiscount.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum/LineItemReservationStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemStats.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum/LineItemType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDevice.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum/LinkedDeviceVisibility.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStream.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamConditioning.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEvent.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum/LiveStreamEventStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum/LiveStreamEventStreamingFormat.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum/ManualAdReviewCenterAdStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MasterPlaylistSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarnings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum/McmEarningsProductType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MediaLocation.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileApplicationTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrier.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrierTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDevice.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDeviceSubmodel.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Network.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum/NielsenCtvPacing.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NonGuaranteedDealPriority.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystem.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemVersion.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Order.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum/OrderStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum/PacingDeviceCategorization.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Placement.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum/PlacementStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrefetchSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrerollSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuction.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal/BuyerData.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum/PrivateMarketplaceDealStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ProgrammaticBuyer.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum/ReachPartner.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report/Visibility.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/MetricValueGroup.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/Row.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/FixedDateRange.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/RelativeDateRange.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Dimension.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Field.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FieldFilter.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FilterList.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/Operation.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Flag.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Metric.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/MetricValueType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/ReportType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Slice.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Sort.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimePeriodColumn.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimeZoneSource.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/DoubleList.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/IntList.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/StringList.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestFormatTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum/RequestPlatform.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompany.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum/RichMediaAdsCompanyGdprStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum/RoadblockingType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Role.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum/RoleStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportMetadata.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/DeliveryCondition.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/Frequency.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/MonthlySchedule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/WeeklySchedule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsResponse.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Site.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum/SiteApprovalStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum/SiteDisapprovalReason.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Size.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum/SizeType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum/SkippableAdType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Slate.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum/SlateStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum/SmartSizeMode.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SourceContentConfig.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SuggestedAdUnit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum/TargetPlatform.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum/TargetWindow.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum/TargetedVideoBumperType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Targeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPreset.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum/TargetingPresetStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyCategory.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum/TaxonomyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Team.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum/TeamAccessType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum/TeamStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TechnologyTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompany.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum/ThirdPartyCompanyStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum/ThirdPartyCompanyType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyMeasurementSettings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum/TimeUnit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum/UnitType.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdBreakRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdRuleRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdSpotRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdUnitRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateApplicationRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCdnConfigRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateContactRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCreativeSetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomFieldRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingKeyRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingValueRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateEntitySignalsMappingRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLabelRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLiveStreamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateOrderRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePlacementRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionDealRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateReportRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSiteRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSlateRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTargetingPresetRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTeamRequest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/User.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UserDomainTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPosition.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum/VideoPosition.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionTargeting.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum/VideoTranscodeStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum/ViewabilityPartner.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebProperty.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum.php create mode 100644 owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum/WebviewClaimingStatus.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/create_ad_break.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/delete_ad_break.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/get_ad_break.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/list_ad_breaks.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/update_ad_break.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_allow_ad_review_center_ads.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_block_ad_review_center_ads.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/search_ad_review_center_ads.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_activate_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_create_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_deactivate_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_delete_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_update_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/create_ad_rule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/get_ad_rule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/list_ad_rules.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/update_ad_rule.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_create_ad_spots.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_update_ad_spots.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/create_ad_spot.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/get_ad_spot.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/list_ad_spots.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/update_ad_spot.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_activate_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_archive_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_create_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_deactivate_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_update_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/create_ad_unit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/get_ad_unit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_unit_sizes.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/update_ad_unit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_archive_applications.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_create_applications.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_unarchive_applications.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_update_applications.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/create_application.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/get_application.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/list_applications.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/update_application.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/get_audience_segment.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/list_audience_segments.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/get_bandwidth_group.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/list_bandwidth_groups.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/get_browser_language.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/list_browser_languages.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/get_browser.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/list_browsers.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_activate_cdn_configs.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_archive_cdn_configs.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_create_cdn_configs.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_update_cdn_configs.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/create_cdn_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/get_cdn_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/list_cdn_configs.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/update_cdn_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_activate_cms_metadata_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_deactivate_cms_metadata_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/get_cms_metadata_key.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/list_cms_metadata_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_activate_cms_metadata_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_deactivate_cms_metadata_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/get_cms_metadata_value.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/list_cms_metadata_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/get_company.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/list_companies.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_create_contacts.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_update_contacts.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/create_contact.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/get_contact.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/list_contacts.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/update_contact.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_activate_content_bundles.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_deactivate_content_bundles.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/get_content_bundle.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/list_content_bundles.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/get_content_label.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/list_content_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/get_content.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/list_content.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/create_creative_set.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/get_creative_set.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/list_creative_sets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/update_creative_set.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/get_creative_template.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/list_creative_templates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_activate_custom_fields.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_create_custom_fields.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_deactivate_custom_fields.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_update_custom_fields.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/create_custom_field.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/get_custom_field.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/list_custom_fields.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/update_custom_field.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_activate_custom_targeting_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_create_custom_targeting_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_deactivate_custom_targeting_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_update_custom_targeting_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/create_custom_targeting_key.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/get_custom_targeting_key.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/list_custom_targeting_keys.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/update_custom_targeting_key.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_activate_custom_targeting_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_create_custom_targeting_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_deactivate_custom_targeting_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_update_custom_targeting_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/create_custom_targeting_value.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/get_custom_targeting_value.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/list_custom_targeting_values.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/update_custom_targeting_value.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/get_device_capability.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/list_device_capabilities.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/get_device_category.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/list_device_categories.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/get_device_manufacturer.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/list_device_manufacturers.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_create_entity_signals_mappings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_update_entity_signals_mappings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/create_entity_signals_mapping.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/get_entity_signals_mapping.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/list_entity_signals_mappings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/update_entity_signals_mapping.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/get_geo_target.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/list_geo_targets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_activate_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_create_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_deactivate_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_update_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/create_label.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/get_label.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/list_labels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/update_label.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/get_line_item.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/list_line_items.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/get_linked_device.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/list_linked_devices.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_activate_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_archive_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_create_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_ads_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_refresh_master_playlists.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_update_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/create_live_stream.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/get_live_stream.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/list_live_streams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/update_live_stream.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/McmEarningsServiceClient/fetch_mcm_earnings.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/get_mobile_carrier.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/list_mobile_carriers.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/get_mobile_device.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/list_mobile_devices.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/get_mobile_device_submodel.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/list_mobile_device_submodels.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/get_network.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/list_networks.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/get_operating_system.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/list_operating_systems.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/get_operating_system_version.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/list_operating_system_versions.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_and_overbook_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders_without_reservation.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_archive_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_create_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_delete_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders_without_reservation_changes.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_pause_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_and_overbook_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders_without_reservation_changes.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_and_overbook.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_without_reservation_changes.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_unarchive_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_update_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/get_order.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/list_orders.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_activate_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_archive_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_create_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_deactivate_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_update_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/create_placement.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/get_placement.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/list_placements.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/update_placement.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/create_private_auction_deal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/get_private_auction_deal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/list_private_auction_deals.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/update_private_auction_deal.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/create_private_auction.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/get_private_auction.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/list_private_auctions.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/update_private_auction.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/get_programmatic_buyer.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/list_programmatic_buyers.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/create_report.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/fetch_report_result_rows.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/get_report.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/list_reports.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/run_report.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/update_report.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/get_rich_media_ads_company.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/list_rich_media_ads_companies.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/get_role.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/list_roles.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_create_sites.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_deactivate_sites.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_submit_sites_for_approval.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_update_sites.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/create_site.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/get_site.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/list_sites.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/update_site.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_archive_slates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_create_slates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_unarchive_slates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_update_slates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/create_slate.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/get_slate.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/list_slates.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/update_slate.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/batch_approve_suggested_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/get_suggested_ad_unit.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/list_suggested_ad_units.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_create_targeting_presets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_deactivate_targeting_presets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_update_targeting_presets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/create_targeting_preset.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/get_targeting_preset.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/list_targeting_presets.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/update_targeting_preset.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/get_taxonomy_category.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/list_taxonomy_categories.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_activate_teams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_create_teams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_deactivate_teams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_update_teams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/create_team.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/get_team.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/list_teams.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/update_team.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/get_third_party_company.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/list_third_party_companies.php create mode 100644 owl-bot-staging/AdsAdManager/v1/samples/V1/UserServiceClient/get_user.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdBreakServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdReviewCenterAdServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdRuleServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdSpotServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdUnitServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ApplicationServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/AudienceSegmentServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/BandwidthGroupServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserLanguageServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CdnConfigServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataKeyServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataValueServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CompanyServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContactServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentBundleServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentLabelServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeSetServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeTemplateServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomFieldServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingKeyServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingValueServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCapabilityServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCategoryServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceManufacturerServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/EntitySignalsMappingServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/GeoTargetServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/LabelServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/LineItemServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/LinkedDeviceServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/LiveStreamServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/McmEarningsServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/MobileCarrierServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/MobileDeviceServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/MobileDeviceSubmodelServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/NetworkServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/OperatingSystemServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/OperatingSystemVersionServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/OrderServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/PlacementServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/PrivateAuctionDealServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/PrivateAuctionServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ProgrammaticBuyerServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ReportServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/RichMediaAdsCompanyServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/RoleServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/SiteServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/SlateServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/SuggestedAdUnitServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/TargetingPresetServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/TaxonomyCategoryServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/TeamServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/ThirdPartyCompanyServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/Client/UserServiceClient.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/gapic_metadata.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_break_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_break_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_break_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_review_center_ad_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_review_center_ad_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_review_center_ad_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_rule_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_rule_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_rule_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_spot_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_spot_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_spot_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_unit_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_unit_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/ad_unit_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/application_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/application_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/application_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/audience_segment_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/audience_segment_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/audience_segment_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/bandwidth_group_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/bandwidth_group_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/bandwidth_group_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_language_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_language_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_language_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/browser_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cdn_config_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cdn_config_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cdn_config_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_key_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_key_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_key_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_value_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_value_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/cms_metadata_value_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/company_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/company_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/company_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/contact_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/contact_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/contact_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_bundle_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_bundle_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_bundle_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_label_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_label_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_label_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/content_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_set_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_set_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_set_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_template_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_template_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/creative_template_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_field_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_field_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_field_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_key_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_key_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_key_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_value_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_value_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/custom_targeting_value_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_capability_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_capability_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_capability_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_category_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_category_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_category_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_manufacturer_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_manufacturer_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/device_manufacturer_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/entity_signals_mapping_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/entity_signals_mapping_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/entity_signals_mapping_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/geo_target_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/geo_target_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/geo_target_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/label_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/label_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/label_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/line_item_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/line_item_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/line_item_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/linked_device_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/linked_device_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/linked_device_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/live_stream_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/live_stream_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/live_stream_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mcm_earnings_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mcm_earnings_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mcm_earnings_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_carrier_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_carrier_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_carrier_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_submodel_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_submodel_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/mobile_device_submodel_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/network_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/network_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/network_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_version_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_version_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/operating_system_version_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/order_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/order_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/order_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/placement_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/placement_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/placement_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_deal_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_deal_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_deal_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/private_auction_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/programmatic_buyer_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/programmatic_buyer_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/programmatic_buyer_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/report_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/report_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/report_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/rich_media_ads_company_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/rich_media_ads_company_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/rich_media_ads_company_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/role_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/role_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/role_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/site_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/site_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/site_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/slate_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/slate_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/slate_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/suggested_ad_unit_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/suggested_ad_unit_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/suggested_ad_unit_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/targeting_preset_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/targeting_preset_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/targeting_preset_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/taxonomy_category_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/taxonomy_category_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/taxonomy_category_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/team_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/team_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/team_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/third_party_company_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/third_party_company_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/third_party_company_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/user_service_client_config.json create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/user_service_descriptor_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/src/V1/resources/user_service_rest_client_config.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AdBreakServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AdReviewCenterAdServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AdRuleServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AdSpotServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AdUnitServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ApplicationServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/AudienceSegmentServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/BandwidthGroupServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/BrowserLanguageServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/BrowserServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CdnConfigServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CmsMetadataKeyServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CmsMetadataValueServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CompanyServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ContactServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ContentBundleServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ContentLabelServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ContentServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CreativeSetServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CreativeTemplateServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CustomFieldServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CustomTargetingKeyServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/CustomTargetingValueServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/DeviceCapabilityServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/DeviceCategoryServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/DeviceManufacturerServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/EntitySignalsMappingServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/GeoTargetServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/LabelServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/LineItemServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/LinkedDeviceServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/LiveStreamServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/McmEarningsServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/MobileCarrierServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/MobileDeviceServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/MobileDeviceSubmodelServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/NetworkServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/OperatingSystemServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/OperatingSystemVersionServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/OrderServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/PlacementServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/PrivateAuctionDealServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/PrivateAuctionServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ProgrammaticBuyerServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ReportServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/RichMediaAdsCompanyServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/RoleServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/SiteServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/SlateServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/SuggestedAdUnitServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/TargetingPresetServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/TaxonomyCategoryServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/TeamServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/ThirdPartyCompanyServiceClientTest.php create mode 100644 owl-bot-staging/AdsAdManager/v1/tests/Unit/V1/Client/UserServiceClientTest.php diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakMessages.php new file mode 100644 index 000000000000..c5dea0e52e67 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xC5\x09\x0A/google/ads/admanager/v1/ad_break_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA8\x06\x0A\x07AdBreak\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12 \x0A\x0Bad_break_id\x18\x02 \x01(\x09B\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01\x12\x1E\x0A\x09asset_key\x18\x03 \x01(\x09B\x06\xE0A\x01\xE0A\x05H\x01\x88\x01\x01\x12%\x0A\x10custom_asset_key\x18\x04 \x01(\x09B\x06\xE0A\x01\xE0A\x05H\x02\x88\x01\x01\x12A\x0A\x13expected_start_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x03\x88\x01\x01\x125\x0A\x08duration\x18\x06 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x02H\x04\x88\x01\x01\x12U\x0A\x0Bbreak_state\x18\x07 \x01(\x0E26.google.ads.admanager.v1.AdBreakStateEnum.AdBreakStateB\x03\xE0A\x03H\x05\x88\x01\x01\x12 \x0A\x0Ebreak_sequence\x18\x08 \x01(\x03B\x03\xE0A\x03H\x06\x88\x01\x01\x12#\x0A\x11pod_template_name\x18\x09 \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01\x12\x1F\x0A\x0Dcustom_params\x18\x0A \x01(\x09B\x03\xE0A\x01H\x08\x88\x01\x01\x12!\x0A\x0Fscte_35_cue_out\x18\x0B \x01(\x09B\x03\xE0A\x01H\x09\x88\x01\x01:\x8D\x01\xEAA\x89\x01\x0A admanager.googleapis.com/AdBreak\x12Rnetworks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}*\x08adBreaks2\x07adBreakB\x0E\x0A\x0C_ad_break_idB\x0C\x0A\x0A_asset_keyB\x13\x0A\x11_custom_asset_keyB\x16\x0A\x14_expected_start_timeB\x0B\x0A\x09_durationB\x0E\x0A\x0C_break_stateB\x11\x0A\x0F_break_sequenceB\x14\x0A\x12_pod_template_nameB\x10\x0A\x0E_custom_paramsB\x12\x0A\x10_scte_35_cue_outB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14AdBreakMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakService.php new file mode 100644 index 000000000000..cf39c05478b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdBreakService.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\x97\x15\x0A.google/ads/admanager/v1/ad_break_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"K\x0A\x11GetAdBreakRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/AdBreak\"\xC7\x01\x0A\x13ListAdBreaksRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/LiveStreamEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"x\x0A\x14ListAdBreaksResponse\x123\x0A\x09ad_breaks\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.AdBreak\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x91\x01\x0A\x14CreateAdBreakRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/LiveStreamEvent\x127\x0A\x08ad_break\x18\x02 \x01(\x0B2 .google.ads.admanager.v1.AdBreakB\x03\xE0A\x02\"\x85\x01\x0A\x14UpdateAdBreakRequest\x127\x0A\x08ad_break\x18\x01 \x01(\x0B2 .google.ads.admanager.v1.AdBreakB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"N\x0A\x14DeleteAdBreakRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/AdBreak2\xCA\x0B\x0A\x0EAdBreakService\x12\xA8\x02\x0A\x0AGetAdBreak\x12*.google.ads.admanager.v1.GetAdBreakRequest\x1A .google.ads.admanager.v1.AdBreak\"\xCB\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xBD\x01\x12=/v1/{name=networks/*/liveStreamEventsByAssetKey/*/adBreaks/*}ZE\x12C/v1/{name=networks/*/liveStreamEventsByCustomAssetKey/*/adBreaks/*}Z5\x123/v1/{name=networks/*/liveStreamEvents/*/adBreaks/*}\x12\xBB\x02\x0A\x0CListAdBreaks\x12,.google.ads.admanager.v1.ListAdBreaksRequest\x1A-.google.ads.admanager.v1.ListAdBreaksResponse\"\xCD\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xBD\x01\x12=/v1/{parent=networks/*/liveStreamEventsByAssetKey/*}/adBreaksZE\x12C/v1/{parent=networks/*/liveStreamEventsByCustomAssetKey/*}/adBreaksZ5\x123/v1/{parent=networks/*/liveStreamEvents/*}/adBreaks\x12\xD7\x02\x0A\x0DCreateAdBreak\x12-.google.ads.admanager.v1.CreateAdBreakRequest\x1A .google.ads.admanager.v1.AdBreak\"\xF4\x01\xDAA\x0Fparent,ad_break\x82\xD3\xE4\x93\x02\xDB\x01\"=/v1/{parent=networks/*/liveStreamEventsByAssetKey/*}/adBreaks:\x08ad_breakZO\"C/v1/{parent=networks/*/liveStreamEventsByCustomAssetKey/*}/adBreaks:\x08ad_breakZ?\"3/v1/{parent=networks/*/liveStreamEvents/*}/adBreaks:\x08ad_break\x12\xD1\x01\x0A\x0DUpdateAdBreak\x12-.google.ads.admanager.v1.UpdateAdBreakRequest\x1A .google.ads.admanager.v1.AdBreak\"o\xDAA\x14ad_break,update_mask\x82\xD3\xE4\x93\x02R2F/v1/{ad_break.name=networks/*/liveStreamEventsByAssetKey/*/adBreaks/*}:\x08ad_break\x12\xA4\x01\x0A\x0DDeleteAdBreak\x12-.google.ads.admanager.v1.DeleteAdBreakRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1/{name=networks/*/liveStreamEventsByAssetKey/*/adBreaks/*}\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13AdBreakServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdEnums.php new file mode 100644 index 000000000000..6fc629057a06 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xF5\x04\x0A7google/ads/admanager/v1/ad_review_center_ad_enums.proto\x12\x17google.ads.admanager.v1\"\x8C\x01\x0A\x1AAdReviewCenterAdStatusEnum\"n\x0A\x16AdReviewCenterAdStatus\x12*\x0A&AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ALLOWED\x10\x01\x12\x0B\x0A\x07BLOCKED\x10\x02\x12\x0E\x0A\x0AUNREVIEWED\x10\x03\"\xB8\x01\x0A ManualAdReviewCenterAdStatusEnum\"\x93\x01\x0A\x1CManualAdReviewCenterAdStatus\x121\x0A-MANUAL_AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ALLOWED\x10\x01\x12\x0B\x0A\x07BLOCKED\x10\x02\x12\x0C\x0A\x08ARCHIVED\x10\x03\x12\x0B\x0A\x07PENDING\x10\x04\x12\x0B\x0A\x07SERVING\x10\x05B\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1AAdReviewCenterAdEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdMessages.php new file mode 100644 index 000000000000..7ca81b2678ad --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xAC\x08\x0A:google/ads/admanager/v1/ad_review_center_ad_messages.proto\x12\x17google.ads.admanager.v1\x1A?google/ads/admanager/v1/exchange_syndication_product_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xFB\x04\x0A\x10AdReviewCenterAd\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12#\x0A\x16ad_review_center_ad_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12m\x0A\x0Cproduct_type\x18\x03 \x01(\x0E2R.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProductB\x03\xE0A\x03\x12Z\x0A\x06status\x18\x04 \x01(\x0E2J.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus\x12{\x0A\x16manual_review_statuses\x18\x06 \x03(\x0E2V.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatusB\x03\xE0A\x03\x12\x1D\x0A\x0Bpreview_url\x18\x05 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\xB7\x01\xEAA\xB3\x01\x0A)admanager.googleapis.com/AdReviewCenterAd\x12anetworks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}*\x11adReviewCenterAds2\x10adReviewCenterAdB\x0E\x0A\x0C_preview_urlB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DAdReviewCenterAdMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdService.php new file mode 100644 index 000000000000..6c9a25e3047a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdReviewCenterAdService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xA3\x16\x0A9google/ads/admanager/v1/ad_review_center_ad_service.proto\x12\x17google.ads.admanager.v1\x1A:google/ads/admanager/v1/ad_review_center_ad_messages.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/longrunning/operations.proto\x1A\x17google/rpc/status.proto\x1A\x1Agoogle/type/interval.proto\"\x96\x04\x0A\x1ESearchAdReviewCenterAdsRequest\x12a\x0A\x06status\x18\x04 \x01(\x0E2J.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatusB\x03\xE0A\x01H\x00\x12{\x0A\x14manual_review_status\x18\x09 \x01(\x0E2V.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatusB\x03\xE0A\x01H\x00\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/WebProperty\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12#\x0A\x16ad_review_center_ad_id\x18\x05 \x03(\x09B\x03\xE0A\x01\x123\x0A\x0Fdate_time_range\x18\x06 \x01(\x0B2\x15.google.type.IntervalB\x03\xE0A\x01\x12\x18\x0A\x0Bsearch_text\x18\x07 \x03(\x09B\x03\xE0A\x01\x12\x1D\x0A\x10buyer_account_id\x18\x08 \x03(\x03B\x03\xE0A\x01B\x12\x0A\x10ad_review_status\"\x83\x01\x0A\x1FSearchAdReviewCenterAdsResponse\x12G\x0A\x14ad_review_center_ads\x18\x01 \x03(\x0B2).google.ads.admanager.v1.AdReviewCenterAd\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA4\x01\x0A\"BatchAllowAdReviewCenterAdsRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/WebProperty\x12@\x0A\x05names\x18\x02 \x03(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/AdReviewCenterAd\"%\x0A#BatchAllowAdReviewCenterAdsResponse\"\xA4\x01\x0A\"BatchBlockAdReviewCenterAdsRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/WebProperty\x12@\x0A\x05names\x18\x02 \x03(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/AdReviewCenterAd\"%\x0A#BatchBlockAdReviewCenterAdsResponse\"\xE3\x01\x0A'BatchAdReviewCenterAdsOperationMetadata\x12m\x0A\x0Ffailed_requests\x18\x01 \x03(\x0B2T.google.ads.admanager.v1.BatchAdReviewCenterAdsOperationMetadata.FailedRequestsEntry\x1AI\x0A\x13FailedRequestsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x05\x12!\x0A\x05value\x18\x02 \x01(\x0B2\x12.google.rpc.Status:\x028\x012\xC7\x07\x0A\x17AdReviewCenterAdService\x12\xDF\x01\x0A\x17SearchAdReviewCenterAds\x127.google.ads.admanager.v1.SearchAdReviewCenterAdsRequest\x1A8.google.ads.admanager.v1.SearchAdReviewCenterAdsResponse\"Q\xDAA\x06parent\x82\xD3\xE4\x93\x02B\x12@/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:search\x12\xA5\x02\x0A\x1BBatchAllowAdReviewCenterAds\x12;.google.ads.admanager.v1.BatchAllowAdReviewCenterAdsRequest\x1A\x1D.google.longrunning.Operation\"\xA9\x01\xCAAN\x0A#BatchAllowAdReviewCenterAdsResponse\x12'BatchAdReviewCenterAdsOperationMetadata\xDAA\x06parent\x82\xD3\xE4\x93\x02I\"D/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:batchAllow:\x01*\x12\xA5\x02\x0A\x1BBatchBlockAdReviewCenterAds\x12;.google.ads.admanager.v1.BatchBlockAdReviewCenterAdsRequest\x1A\x1D.google.longrunning.Operation\"\xA9\x01\xCAAN\x0A#BatchBlockAdReviewCenterAdsResponse\x12'BatchAdReviewCenterAdsOperationMetadata\xDAA\x06parent\x82\xD3\xE4\x93\x02I\"D/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:batchBlock:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CAdReviewCenterAdServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleEnums.php new file mode 100644 index 000000000000..24bfb852dc09 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x97\x04\x0A+google/ads/admanager/v1/ad_rule_enums.proto\x12\x17google.ads.admanager.v1\"i\x0A\x10AdRuleStatusEnum\"U\x0A\x0CAdRuleStatus\x12\x1E\x0A\x1AAD_RULE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0B\x0A\x07DELETED\x10\x02\x12\x0C\x0A\x08INACTIVE\x10\x05\"\x94\x01\x0A\x1EAdRuleFrequencyCapBehaviorEnum\"r\x0A\x1AAdRuleFrequencyCapBehavior\x12.\x0A*AD_RULE_FREQUENCY_CAP_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x09\x0A\x05DEFER\x10\x01\x12\x0C\x0A\x08TURN_OFF\x10\x02\x12\x0B\x0A\x07TURN_ON\x10\x03B\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10AdRuleEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleMessages.php new file mode 100644 index 000000000000..4a09212cdb2b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleMessages.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xAC\x14\x0A.google/ads/admanager/v1/ad_rule_messages.proto\x12\x17google.ads.admanager.v1\x1A8google/ads/admanager/v1/ad_rule_slot_behavior_enum.proto\x1A6google/ads/admanager/v1/ad_rule_slot_bumper_enum.proto\x1AFgoogle/ads/admanager/v1/ad_rule_slot_midroll_frequency_type_enum.proto\x1A'google/ads/admanager/v1/targeting.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x89\x09\x0A\x06AdRule\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1A\x0A\x08priority\x18\x03 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x128\x0A\x0Astart_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02H\x02\x88\x01\x01\x126\x0A\x08end_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x03\x88\x01\x01\x12\$\x0A\x12end_time_unlimited\x18\x0F \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x12P\x0A\x06status\x18\x04 \x01(\x0E26.google.ads.admanager.v1.AdRuleStatusEnum.AdRuleStatusB\x03\xE0A\x03H\x05\x88\x01\x01\x12|\x0A\x16frequency_cap_behavior\x18\x05 \x01(\x0E2R.google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum.AdRuleFrequencyCapBehaviorB\x03\xE0A\x01H\x06\x88\x01\x01\x12:\x0A(max_impressions_per_line_item_per_stream\x18\x06 \x01(\x05B\x03\xE0A\x01H\x07\x88\x01\x01\x127\x0A%max_impressions_per_line_item_per_pod\x18\x07 \x01(\x05B\x03\xE0A\x01H\x08\x88\x01\x01\x12>\x0A\x07preroll\x18\x08 \x01(\x0B2#.google.ads.admanager.v1.AdRuleSlotB\x03\xE0A\x02H\x09\x88\x01\x01\x12:\x0A\x08midrolls\x18\x09 \x03(\x0B2#.google.ads.admanager.v1.AdRuleSlotB\x03\xE0A\x02\x12?\x0A\x08postroll\x18\x0A \x01(\x0B2#.google.ads.admanager.v1.AdRuleSlotB\x03\xE0A\x02H\x0A\x88\x01\x01\x12?\x0A\x09targeting\x18\x0B \x01(\x0B2\".google.ads.admanager.v1.TargetingB\x03\xE0A\x02H\x0B\x88\x01\x01:`\xEAA]\x0A\x1Fadmanager.googleapis.com/AdRule\x12)networks/{network_code}/adRules/{ad_rule}*\x07adRules2\x06adRuleB\x0F\x0A\x0D_display_nameB\x0B\x0A\x09_priorityB\x0D\x0A\x0B_start_timeB\x0B\x0A\x09_end_timeB\x15\x0A\x13_end_time_unlimitedB\x09\x0A\x07_statusB\x19\x0A\x17_frequency_cap_behaviorB+\x0A)_max_impressions_per_line_item_per_streamB(\x0A&_max_impressions_per_line_item_per_podB\x0A\x0A\x08_prerollB\x0B\x0A\x09_postrollB\x0C\x0A\x0A_targeting\"\xA2\x06\x0A\x0AAdRuleSlot\x12c\x0A\x0Dslot_behavior\x18\x01 \x01(\x0E2B.google.ads.admanager.v1.AdRuleSlotBehaviorEnum.AdRuleSlotBehaviorB\x03\xE0A\x01H\x00\x88\x01\x01\x12B\x0A\x15max_video_ad_duration\x18\x04 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x01\x88\x01\x01\x12\x8A\x01\x0A\x1Cvideo_midroll_frequency_type\x18\x05 \x01(\x0E2Z.google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyTypeB\x03\xE0A\x01H\x02\x88\x01\x01\x12)\x0A\x17video_midroll_frequency\x18\x06 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01\x12X\x0A\x06bumper\x18\x07 \x01(\x0E2>.google.ads.admanager.v1.AdRuleSlotBumperEnum.AdRuleSlotBumperB\x03\xE0A\x01H\x04\x88\x01\x01\x12@\x0A\x13max_bumper_duration\x18\x08 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x05\x88\x01\x01\x12=\x0A\x10max_pod_duration\x18\x09 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x06\x88\x01\x01\x12\"\x0A\x10pod_max_ad_count\x18\x0A \x01(\x05B\x03\xE0A\x01H\x07\x88\x01\x01B\x10\x0A\x0E_slot_behaviorB\x18\x0A\x16_max_video_ad_durationB\x1F\x0A\x1D_video_midroll_frequency_typeB\x1A\x0A\x18_video_midroll_frequencyB\x09\x0A\x07_bumperB\x16\x0A\x14_max_bumper_durationB\x13\x0A\x11_max_pod_durationB\x13\x0A\x11_pod_max_ad_countB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13AdRuleMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleService.php new file mode 100644 index 000000000000..a6078d096f7f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleService.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\x9C\x1E\x0A-google/ads/admanager/v1/ad_rule_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"I\x0A\x10GetAdRuleRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdRule\"\xBE\x01\x0A\x12ListAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"u\x0A\x13ListAdRulesResponse\x121\x0A\x08ad_rules\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x86\x01\x0A\x13CreateAdRuleRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x07ad_rule\x18\x02 \x01(\x0B2\x1F.google.ads.admanager.v1.AdRuleB\x03\xE0A\x02\"\x9A\x01\x0A\x19BatchCreateAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.CreateAdRuleRequestB\x03\xE0A\x02\"O\x0A\x1ABatchCreateAdRulesResponse\x121\x0A\x08ad_rules\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdRule\"\x82\x01\x0A\x13UpdateAdRuleRequest\x125\x0A\x07ad_rule\x18\x01 \x01(\x0B2\x1F.google.ads.admanager.v1.AdRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x9A\x01\x0A\x19BatchUpdateAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.UpdateAdRuleRequestB\x03\xE0A\x02\"O\x0A\x1ABatchUpdateAdRulesResponse\x121\x0A\x08ad_rules\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdRule\"\x8F\x01\x0A\x1BBatchActivateAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdRule\"\x1E\x0A\x1CBatchActivateAdRulesResponse\"\x91\x01\x0A\x1DBatchDeactivateAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdRule\" \x0A\x1EBatchDeactivateAdRulesResponse\"\x8D\x01\x0A\x19BatchDeleteAdRulesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdRule2\xE9\x0D\x0A\x0DAdRuleService\x12\x87\x01\x0A\x09GetAdRule\x12).google.ads.admanager.v1.GetAdRuleRequest\x1A\x1F.google.ads.admanager.v1.AdRule\".\xDAA\x04name\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{name=networks/*/adRules/*}\x12\x9A\x01\x0A\x0BListAdRules\x12+.google.ads.admanager.v1.ListAdRulesRequest\x1A,.google.ads.admanager.v1.ListAdRulesResponse\"0\xDAA\x06parent\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{parent=networks/*}/adRules\x12\xA0\x01\x0A\x0CCreateAdRule\x12,.google.ads.admanager.v1.CreateAdRuleRequest\x1A\x1F.google.ads.admanager.v1.AdRule\"A\xDAA\x0Eparent,ad_rule\x82\xD3\xE4\x93\x02*\"\x1F/v1/{parent=networks/*}/adRules:\x07ad_rule\x12\xC7\x01\x0A\x12BatchCreateAdRules\x122.google.ads.admanager.v1.BatchCreateAdRulesRequest\x1A3.google.ads.admanager.v1.BatchCreateAdRulesResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adRules:batchCreate:\x01*\x12\xAD\x01\x0A\x0CUpdateAdRule\x12,.google.ads.admanager.v1.UpdateAdRuleRequest\x1A\x1F.google.ads.admanager.v1.AdRule\"N\xDAA\x13ad_rule,update_mask\x82\xD3\xE4\x93\x0222'/v1/{ad_rule.name=networks/*/adRules/*}:\x07ad_rule\x12\xC7\x01\x0A\x12BatchUpdateAdRules\x122.google.ads.admanager.v1.BatchUpdateAdRulesRequest\x1A3.google.ads.admanager.v1.BatchUpdateAdRulesResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adRules:batchUpdate:\x01*\x12\xCC\x01\x0A\x14BatchActivateAdRules\x124.google.ads.admanager.v1.BatchActivateAdRulesRequest\x1A5.google.ads.admanager.v1.BatchActivateAdRulesResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/adRules:batchActivate:\x01*\x12\xD4\x01\x0A\x16BatchDeactivateAdRules\x126.google.ads.admanager.v1.BatchDeactivateAdRulesRequest\x1A7.google.ads.admanager.v1.BatchDeactivateAdRulesResponse\"I\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/adRules:batchDeactivate:\x01*\x12\xA7\x01\x0A\x12BatchDeleteAdRules\x122.google.ads.admanager.v1.BatchDeleteAdRulesRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adRules:batchDelete:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12AdRuleServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBehaviorEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBehaviorEnum.php new file mode 100644 index 000000000000..2d3ca31b49f7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBehaviorEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB1\x03\x0A8google/ads/admanager/v1/ad_rule_slot_behavior_enum.proto\x12\x17google.ads.admanager.v1\"\x81\x01\x0A\x16AdRuleSlotBehaviorEnum\"g\x0A\x12AdRuleSlotBehavior\x12%\x0A!AD_RULE_SLOT_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BALWAYS_SHOW\x10\x01\x12\x09\x0A\x05DEFER\x10\x02\x12\x0E\x0A\x0ANEVER_SHOW\x10\x03B\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BAdRuleSlotBehaviorEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBumperEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBumperEnum.php new file mode 100644 index 000000000000..8db643996830 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotBumperEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB2\x03\x0A6google/ads/admanager/v1/ad_rule_slot_bumper_enum.proto\x12\x17google.ads.admanager.v1\"\x86\x01\x0A\x14AdRuleSlotBumperEnum\"n\x0A\x10AdRuleSlotBumper\x12#\x0A\x1FAD_RULE_SLOT_BUMPER_UNSPECIFIED\x10\x00\x12\x09\x0A\x05AFTER\x10\x01\x12\x0A\x0A\x06BEFORE\x10\x02\x12\x14\x0A\x10BEFORE_AND_AFTER\x10\x03\x12\x08\x0A\x04NONE\x10\x04B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19AdRuleSlotBumperEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php new file mode 100644 index 000000000000..b5f86475a460 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBD\x04\x0AFgoogle/ads/admanager/v1/ad_rule_slot_midroll_frequency_type_enum.proto\x12\x17google.ads.admanager.v1\"\xF3\x01\x0A\"AdRuleSlotMidrollFrequencyTypeEnum\"\xCC\x01\x0A\x1EAdRuleSlotMidrollFrequencyType\x123\x0A/AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11EVERY_N_CUEPOINTS\x10\x01\x12\x13\x0A\x0FEVERY_N_SECONDS\x10\x02\x12\x14\x0A\x10FIXED_CUE_POINTS\x10\x03\x12\x0E\x0A\x0AFIXED_TIME\x10\x04\x12\x08\x0A\x04NONE\x10\x05\x12\x19\x0A\x15REVERSE_MIDROLL_INDEX\x10\x06B\xDB\x01\x0A\x1Bcom.google.ads.admanager.v1B'AdRuleSlotMidrollFrequencyTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotMessages.php new file mode 100644 index 000000000000..eb8a432075df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xE8\x0A\x0A.google/ads/admanager/v1/ad_spot_messages.proto\x12\x17google.ads.admanager.v1\x1A-google/ads/admanager/v1/line_item_enums.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\"\xBF\x07\x0A\x06AdSpot\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12(\x0A\x16canonical_display_name\x18\x02 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x1D\x0A\x0Bcustom_spot\x18\x04 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1A\x0A\x08flexible\x18\x05 \x01(\x08B\x03\xE0A\x01H\x03\x88\x01\x01\x129\x0A\x0Cmax_duration\x18\x06 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x04\x88\x01\x01\x12<\x0A\x0Fmin_ad_duration\x18\x0C \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x05\x88\x01\x01\x12<\x0A\x0Fmax_ad_duration\x18\x0D \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x02H\x06\x88\x01\x01\x12\x19\x0A\x07max_ads\x18\x07 \x01(\x05B\x03\xE0A\x01H\x07\x88\x01\x01\x12f\x0A\x0Etargeting_type\x18\x08 \x01(\x0E2D.google.ads.admanager.v1.AdSpotTargetingTypeEnum.AdSpotTargetingTypeB\x03\xE0A\x01H\x08\x88\x01\x01\x12\"\x0A\x10backfill_blocked\x18\x09 \x01(\x08B\x03\xE0A\x01H\x09\x88\x01\x01\x12\\\x0A\x17allowed_line_item_types\x18\x0A \x03(\x0E26.google.ads.admanager.v1.LineItemTypeEnum.LineItemTypeB\x03\xE0A\x01\x12+\x0A\x19inventory_sharing_blocked\x18\x0B \x01(\x08B\x03\xE0A\x01H\x0A\x88\x01\x01:`\xEAA]\x0A\x1Fadmanager.googleapis.com/AdSpot\x12)networks/{network_code}/adSpots/{ad_spot}*\x07adSpots2\x06adSpotB\x19\x0A\x17_canonical_display_nameB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_custom_spotB\x0B\x0A\x09_flexibleB\x0F\x0A\x0D_max_durationB\x12\x0A\x10_min_ad_durationB\x12\x0A\x10_max_ad_durationB\x0A\x0A\x08_max_adsB\x11\x0A\x0F_targeting_typeB\x13\x0A\x11_backfill_blockedB\x1C\x0A\x1A_inventory_sharing_blockedB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13AdSpotMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotService.php new file mode 100644 index 000000000000..4631c5df4241 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xB7\x15\x0A-google/ads/admanager/v1/ad_spot_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"I\x0A\x10GetAdSpotRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdSpot\"\xBE\x01\x0A\x12ListAdSpotsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"u\x0A\x13ListAdSpotsResponse\x121\x0A\x08ad_spots\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdSpot\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x86\x01\x0A\x13CreateAdSpotRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x07ad_spot\x18\x02 \x01(\x0B2\x1F.google.ads.admanager.v1.AdSpotB\x03\xE0A\x02\"\x9A\x01\x0A\x19BatchCreateAdSpotsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.CreateAdSpotRequestB\x03\xE0A\x02\"O\x0A\x1ABatchCreateAdSpotsResponse\x121\x0A\x08ad_spots\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdSpot\"\x82\x01\x0A\x13UpdateAdSpotRequest\x125\x0A\x07ad_spot\x18\x01 \x01(\x0B2\x1F.google.ads.admanager.v1.AdSpotB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x9A\x01\x0A\x19BatchUpdateAdSpotsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.UpdateAdSpotRequestB\x03\xE0A\x02\"O\x0A\x1ABatchUpdateAdSpotsResponse\x121\x0A\x08ad_spots\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdSpot2\x99\x09\x0A\x0DAdSpotService\x12\x87\x01\x0A\x09GetAdSpot\x12).google.ads.admanager.v1.GetAdSpotRequest\x1A\x1F.google.ads.admanager.v1.AdSpot\".\xDAA\x04name\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{name=networks/*/adSpots/*}\x12\x9A\x01\x0A\x0BListAdSpots\x12+.google.ads.admanager.v1.ListAdSpotsRequest\x1A,.google.ads.admanager.v1.ListAdSpotsResponse\"0\xDAA\x06parent\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{parent=networks/*}/adSpots\x12\xA0\x01\x0A\x0CCreateAdSpot\x12,.google.ads.admanager.v1.CreateAdSpotRequest\x1A\x1F.google.ads.admanager.v1.AdSpot\"A\xDAA\x0Eparent,ad_spot\x82\xD3\xE4\x93\x02*\"\x1F/v1/{parent=networks/*}/adSpots:\x07ad_spot\x12\xC7\x01\x0A\x12BatchCreateAdSpots\x122.google.ads.admanager.v1.BatchCreateAdSpotsRequest\x1A3.google.ads.admanager.v1.BatchCreateAdSpotsResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adSpots:batchCreate:\x01*\x12\xAD\x01\x0A\x0CUpdateAdSpot\x12,.google.ads.admanager.v1.UpdateAdSpotRequest\x1A\x1F.google.ads.admanager.v1.AdSpot\"N\xDAA\x13ad_spot,update_mask\x82\xD3\xE4\x93\x0222'/v1/{ad_spot.name=networks/*/adSpots/*}:\x07ad_spot\x12\xC7\x01\x0A\x12BatchUpdateAdSpots\x122.google.ads.admanager.v1.BatchUpdateAdSpotsRequest\x1A3.google.ads.admanager.v1.BatchUpdateAdSpotsResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adSpots:batchUpdate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12AdSpotServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotTargetingTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotTargetingTypeEnum.php new file mode 100644 index 000000000000..313f1590711d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdSpotTargetingTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDC\x03\x0A9google/ads/admanager/v1/ad_spot_targeting_type_enum.proto\x12\x17google.ads.admanager.v1\"\xAA\x01\x0A\x17AdSpotTargetingTypeEnum\"\x8E\x01\x0A\x13AdSpotTargetingType\x12&\x0A\"AD_SPOT_TARGETING_TYPE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13EXPLICITLY_TARGETED\x10\x01\x12\$\x0A EXPLICITLY_TARGETED_EXCEPT_HOUSE\x10\x02\x12\x10\x0A\x0CNOT_REQUIRED\x10\x03B\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CAdSpotTargetingTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitEnums.php new file mode 100644 index 000000000000..4ade07be3adb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xCD\x04\x0A+google/ads/admanager/v1/ad_unit_enums.proto\x12\x17google.ads.admanager.v1\"j\x0A\x10AdUnitStatusEnum\"V\x0A\x0CAdUnitStatus\x12\x1E\x0A\x1AAD_UNIT_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\x12\x0C\x0A\x08ARCHIVED\x10\x03\"s\x0A\x11SmartSizeModeEnum\"^\x0A\x0DSmartSizeMode\x12\x1F\x0A\x1BSMART_SIZE_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x10\x0A\x0CSMART_BANNER\x10\x02\x12\x10\x0A\x0CDYNAMIC_SIZE\x10\x03\"U\x0A\x10TargetWindowEnum\"A\x0A\x0CTargetWindow\x12\x1D\x0A\x19TARGET_WINDOW_UNSPECIFIED\x10\x00\x12\x07\x0A\x03TOP\x10\x01\x12\x09\x0A\x05BLANK\x10\x02B\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10AdUnitEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitMessages.php new file mode 100644 index 000000000000..68a884dc7183 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitMessages.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xC6\x18\x0A.google/ads/admanager/v1/ad_unit_messages.proto\x12\x17google.ads.admanager.v1\x1A+google/ads/admanager/v1/applied_label.proto\x1A3google/ads/admanager/v1/environment_type_enum.proto\x1A+google/ads/admanager/v1/frequency_cap.proto\x1A\"google/ads/admanager/v1/size.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x82\x0F\x0A\x06AdUnit\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Aad_unit_id\x18\x0F \x01(\x03B\x05\x18\x01\xE0A\x03\x12G\x0A\x0Eparent_ad_unit\x18\x0A \x01(\x09B*\xE0A\x02\xE0A\x05\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnitH\x00\x88\x01\x01\x12?\x0A\x0Bparent_path\x18\x0B \x03(\x0B2%.google.ads.admanager.v1.AdUnitParentB\x03\xE0A\x03\x12\x1E\x0A\x0Cdisplay_name\x18\x09 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12!\x0A\x0Cad_unit_code\x18\x02 \x01(\x09B\x06\xE0A\x01\xE0A\x05H\x02\x88\x01\x01\x12P\x0A\x06status\x18\x0D \x01(\x0E26.google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatusB\x03\xE0A\x03H\x03\x88\x01\x01\x12_\x0A\x15applied_target_window\x18, \x01(\x0E26.google.ads.admanager.v1.TargetWindowEnum.TargetWindowB\x03\xE0A\x01H\x04\x88\x01\x01\x12d\x0A\x17effective_target_window\x18- \x01(\x0E26.google.ads.admanager.v1.TargetWindowEnum.TargetWindowB\x06\xE0A\x07\xE0A\x03H\x05\x88\x01\x01\x12<\x0A\x0Dapplied_teams\x18\x03 \x03(\x09B%\xE0A\x01\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\x124\x0A\x05teams\x18\x04 \x03(\x09B%\xE0A\x03\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\x12\x1D\x0A\x0Bdescription\x18\x05 \x01(\x09B\x03\xE0A\x01H\x06\x88\x01\x01\x12%\x0A\x13explicitly_targeted\x18\x06 \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01\x12\x1E\x0A\x0Chas_children\x18\x07 \x01(\x08B\x03\xE0A\x03H\x08\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x09\x88\x01\x01\x12?\x0A\x0Dad_unit_sizes\x18\x0E \x03(\x0B2#.google.ads.admanager.v1.AdUnitSizeB\x03\xE0A\x01\x123\x0A\x1Fexternal_set_top_box_channel_id\x18\x11 \x01(\x09B\x05\x18\x01\xE0A\x01H\x0A\x88\x01\x01\x12:\x0A\x0Drefresh_delay\x18\x13 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x0B\x88\x01\x01\x12B\x0A\x0Eapplied_labels\x18\x15 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x01\x12L\x0A\x18effective_applied_labels\x18\x16 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x03\x12U\x0A\x1Capplied_label_frequency_caps\x18\x17 \x03(\x0B2*.google.ads.admanager.v1.LabelFrequencyCapB\x03\xE0A\x01\x12W\x0A\x1Eeffective_label_frequency_caps\x18\x18 \x03(\x0B2*.google.ads.admanager.v1.LabelFrequencyCapB\x03\xE0A\x03\x12^\x0A\x0Fsmart_size_mode\x18\x19 \x01(\x0E28.google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeModeB\x06\xE0A\x01\xE0A\x07H\x0C\x88\x01\x01\x12)\x0A\x17applied_adsense_enabled\x18\x1A \x01(\x08B\x03\xE0A\x01H\x0D\x88\x01\x01\x12+\x0A\x19effective_adsense_enabled\x18\x1B \x01(\x08B\x03\xE0A\x03H\x0E\x88\x01\x01:`\xEAA]\x0A\x1Fadmanager.googleapis.com/AdUnit\x12)networks/{network_code}/adUnits/{ad_unit}*\x07adUnits2\x06adUnitB\x11\x0A\x0F_parent_ad_unitB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_ad_unit_codeB\x09\x0A\x07_statusB\x18\x0A\x16_applied_target_windowB\x1A\x0A\x18_effective_target_windowB\x0E\x0A\x0C_descriptionB\x16\x0A\x14_explicitly_targetedB\x0F\x0A\x0D_has_childrenB\x0E\x0A\x0C_update_timeB\"\x0A _external_set_top_box_channel_idB\x10\x0A\x0E_refresh_delayB\x12\x0A\x10_smart_size_modeB\x1A\x0A\x18_applied_adsense_enabledB\x1C\x0A\x1A_effective_adsense_enabled\"\xF6\x01\x0A\x0AAdUnitSize\x125\x0A\x04size\x18\x01 \x01(\x0B2\x1D.google.ads.admanager.v1.SizeB\x03\xE0A\x02H\x00\x88\x01\x01\x12`\x0A\x10environment_type\x18\x02 \x01(\x0E2<.google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentTypeB\x03\xE0A\x02H\x01\x88\x01\x01\x121\x0A\x0Acompanions\x18\x03 \x03(\x0B2\x1D.google.ads.admanager.v1.SizeB\x07\x0A\x05_sizeB\x13\x0A\x11_environment_type\"\xC9\x01\x0A\x0CAdUnitParent\x12D\x0A\x0Eparent_ad_unit\x18\x01 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnitH\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1E\x0A\x0Cad_unit_code\x18\x03 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01B\x11\x0A\x0F_parent_ad_unitB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_ad_unit_code\"\xAE\x01\x0A\x11LabelFrequencyCap\x12:\x0A\x05label\x18\x01 \x01(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/LabelH\x00\x88\x01\x01\x12A\x0A\x0Dfrequency_cap\x18\x02 \x01(\x0B2%.google.ads.admanager.v1.FrequencyCapH\x01\x88\x01\x01B\x08\x0A\x06_labelB\x10\x0A\x0E_frequency_capB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13AdUnitMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitService.php new file mode 100644 index 000000000000..fedfe9feb3bb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdUnitService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xB7\"\x0A-google/ads/admanager/v1/ad_unit_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"I\x0A\x10GetAdUnitRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit\"\xBE\x01\x0A\x12ListAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"u\x0A\x13ListAdUnitsResponse\x121\x0A\x08ad_units\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdUnit\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x86\x01\x0A\x13CreateAdUnitRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x07ad_unit\x18\x02 \x01(\x0B2\x1F.google.ads.admanager.v1.AdUnitB\x03\xE0A\x02\"\x82\x01\x0A\x13UpdateAdUnitRequest\x125\x0A\x07ad_unit\x18\x01 \x01(\x0B2\x1F.google.ads.admanager.v1.AdUnitB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x9A\x01\x0A\x19BatchCreateAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.CreateAdUnitRequestB\x03\xE0A\x02\"O\x0A\x1ABatchCreateAdUnitsResponse\x121\x0A\x08ad_units\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdUnit\"\x9A\x01\x0A\x19BatchUpdateAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12C\x0A\x08requests\x18\x02 \x03(\x0B2,.google.ads.admanager.v1.UpdateAdUnitRequestB\x03\xE0A\x02\"O\x0A\x1ABatchUpdateAdUnitsResponse\x121\x0A\x08ad_units\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.AdUnit\"\xC2\x01\x0A\x16ListAdUnitSizesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x82\x01\x0A\x17ListAdUnitSizesResponse\x12:\x0A\x0Dad_unit_sizes\x18\x01 \x03(\x0B2#.google.ads.admanager.v1.AdUnitSize\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x8F\x01\x0A\x1BBatchActivateAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit\"\x1E\x0A\x1CBatchActivateAdUnitsResponse\"\x91\x01\x0A\x1DBatchDeactivateAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit\" \x0A\x1EBatchDeactivateAdUnitsResponse\"\x8E\x01\x0A\x1ABatchArchiveAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x05names\x18\x02 \x03(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit\"\x1D\x0A\x1BBatchArchiveAdUnitsResponse2\xB7\x0F\x0A\x0DAdUnitService\x12\x87\x01\x0A\x09GetAdUnit\x12).google.ads.admanager.v1.GetAdUnitRequest\x1A\x1F.google.ads.admanager.v1.AdUnit\".\xDAA\x04name\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{name=networks/*/adUnits/*}\x12\x9A\x01\x0A\x0BListAdUnits\x12+.google.ads.admanager.v1.ListAdUnitsRequest\x1A,.google.ads.admanager.v1.ListAdUnitsResponse\"0\xDAA\x06parent\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{parent=networks/*}/adUnits\x12\xAA\x01\x0A\x0FListAdUnitSizes\x12/.google.ads.admanager.v1.ListAdUnitSizesRequest\x1A0.google.ads.admanager.v1.ListAdUnitSizesResponse\"4\xDAA\x06parent\x82\xD3\xE4\x93\x02%\x12#/v1/{parent=networks/*}/adUnitSizes\x12\xA0\x01\x0A\x0CCreateAdUnit\x12,.google.ads.admanager.v1.CreateAdUnitRequest\x1A\x1F.google.ads.admanager.v1.AdUnit\"A\xDAA\x0Eparent,ad_unit\x82\xD3\xE4\x93\x02*\"\x1F/v1/{parent=networks/*}/adUnits:\x07ad_unit\x12\xAD\x01\x0A\x0CUpdateAdUnit\x12,.google.ads.admanager.v1.UpdateAdUnitRequest\x1A\x1F.google.ads.admanager.v1.AdUnit\"N\xDAA\x13ad_unit,update_mask\x82\xD3\xE4\x93\x0222'/v1/{ad_unit.name=networks/*/adUnits/*}:\x07ad_unit\x12\xC7\x01\x0A\x12BatchCreateAdUnits\x122.google.ads.admanager.v1.BatchCreateAdUnitsRequest\x1A3.google.ads.admanager.v1.BatchCreateAdUnitsResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adUnits:batchCreate:\x01*\x12\xC7\x01\x0A\x12BatchUpdateAdUnits\x122.google.ads.admanager.v1.BatchUpdateAdUnitsRequest\x1A3.google.ads.admanager.v1.BatchUpdateAdUnitsResponse\"H\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/adUnits:batchUpdate:\x01*\x12\xCC\x01\x0A\x14BatchActivateAdUnits\x124.google.ads.admanager.v1.BatchActivateAdUnitsRequest\x1A5.google.ads.admanager.v1.BatchActivateAdUnitsResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/adUnits:batchActivate:\x01*\x12\xD4\x01\x0A\x16BatchDeactivateAdUnits\x126.google.ads.admanager.v1.BatchDeactivateAdUnitsRequest\x1A7.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse\"I\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/adUnits:batchDeactivate:\x01*\x12\xC8\x01\x0A\x13BatchArchiveAdUnits\x123.google.ads.admanager.v1.BatchArchiveAdUnitsRequest\x1A4.google.ads.admanager.v1.BatchArchiveAdUnitsResponse\"F\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x021\",/v1/{parent=networks/*}/adUnits:batchArchive:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12AdUnitServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdmanagerError.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdmanagerError.php new file mode 100644 index 000000000000..2f98c0e3358e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AdmanagerError.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xB3\x03\x0A-google/ads/admanager/v1/admanager_error.proto\x12\x17google.ads.admanager.v1\"\x96\x01\x0A\x0EAdManagerError\x12\x12\x0A\x0Aerror_code\x18\x01 \x01(\x09\x12\x0F\x0A\x07message\x18\x02 \x01(\x09\x12\x12\x0A\x0Afield_path\x18\x03 \x01(\x09\x12\x0F\x0A\x07trigger\x18\x04 \x01(\x09\x12\x13\x0A\x0Bstack_trace\x18\x05 \x01(\x09\x12%\x0A\x07details\x18\x06 \x03(\x0B2\x14.google.protobuf.AnyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13AdManagerErrorProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationEnums.php new file mode 100644 index 000000000000..b2cf3ba9b6ba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x90\x09\x0A/google/ads/admanager/v1/application_enums.proto\x12\x17google.ads.admanager.v1\"\xDC\x02\x0A\x14ApplicationStoreEnum\"\xC3\x02\x0A\x10ApplicationStore\x12!\x0A\x1DAPPLICATION_STORE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FAPPLE_APP_STORE\x10\x01\x12\x15\x0A\x11GOOGLE_PLAY_STORE\x10\x02\x12\x14\x0A\x10AMAZON_APP_STORE\x10\x0E\x12\x12\x0A\x0EOPPO_APP_STORE\x10\x0F\x12\x15\x0A\x11SAMSUNG_APP_STORE\x10\x10\x12\x12\x0A\x0EVIVO_APP_STORE\x10\x11\x12\x14\x0A\x10XIAOMI_APP_STORE\x10\x12\x12\x17\x0A\x13AMAZON_FIRETV_STORE\x10\x07\x12\x0F\x0A\x0BLG_TV_STORE\x10\x13\x12\x15\x0A\x11PLAYSTATION_STORE\x10\x08\x12\x0E\x0A\x0AROKU_STORE\x10\x06\x12\x14\x0A\x10SAMSUNG_TV_STORE\x10\x0B\x12\x0E\x0A\x0AXBOX_STORE\x10\x0A\"\xB2\x01\x0A\x1DApplicationApprovalStatusEnum\"\x90\x01\x0A\x19ApplicationApprovalStatus\x12+\x0A'APPLICATION_APPROVAL_STATUS_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09APPEALING\x10\x01\x12\x0C\x0A\x08APPROVED\x10\x02\x12\x0F\x0A\x0BDISAPPROVED\x10\x03\x12\x09\x0A\x05DRAFT\x10\x04\x12\x0D\x0A\x09UNCHECKED\x10\x05\"\xCD\x01\x0A\x17ApplicationPlatformEnum\"\xB1\x01\x0A\x13ApplicationPlatform\x12\$\x0A APPLICATION_PLATFORM_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BUNSUPPORTED\x10\x0E\x12\x0D\x0A\x09AMAZON_TV\x10\x06\x12\x0B\x0A\x07ANDROID\x10\x01\x12\x07\x0A\x03IOS\x10\x02\x12\x09\x0A\x05LG_TV\x10\x0C\x12\x0F\x0A\x0BPLAYSTATION\x10\x07\x12\x08\x0A\x04ROKU\x10\x05\x12\x0E\x0A\x0ASAMSUNG_TV\x10\x0A\x12\x08\x0A\x04XBOX\x10\x09\"\x8B\x01\x0A\x19WebviewClaimingStatusEnum\"n\x0A\x15WebviewClaimingStatus\x12'\x0A#WEBVIEW_CLAIMING_STATUS_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CSOFT_CLAIMED\x10\x01\x12\x1A\x0A\x16SOFT_CLAIMING_REVERTED\x10\x02B\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15ApplicationEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationMessages.php new file mode 100644 index 000000000000..2d2acd3d53b7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xE5\x0A\x0A2google/ads/admanager/v1/application_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\x82\x08\x0A\x0BApplication\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1E\x0A\x0Capp_store_id\x18\x05 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12W\x0A\x0Aapp_stores\x18\x07 \x03(\x0E2>.google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStoreB\x03\xE0A\x01\x12\x1A\x0A\x08archived\x18\x08 \x01(\x08B\x03\xE0A\x03H\x02\x88\x01\x01\x12(\x0A\x16app_store_display_name\x18\x09 \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x12\"\x0A\x10application_code\x18\x0A \x01(\x09B\x03\xE0A\x03H\x04\x88\x01\x01\x12\x1B\x0A\x09developer\x18\x0B \x01(\x09B\x03\xE0A\x03H\x05\x88\x01\x01\x12`\x0A\x08platform\x18\x0C \x01(\x0E2D.google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatformB\x03\xE0A\x03H\x06\x88\x01\x01\x12\x16\x0A\x04free\x18\x0D \x01(\x08B\x03\xE0A\x03H\x07\x88\x01\x01\x12\x1E\x0A\x0Cdownload_url\x18\x0E \x01(\x09B\x03\xE0A\x03H\x08\x88\x01\x01\x12s\x0A\x0Fapproval_status\x18\x0F \x01(\x0E2P.google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatusB\x03\xE0A\x03H\x09\x88\x01\x01\x12s\x0A\x17webview_claiming_status\x18\x10 \x01(\x0E2H.google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatusB\x03\xE0A\x03H\x0A\x88\x01\x01:x\xEAAu\x0A\$admanager.googleapis.com/Application\x122networks/{network_code}/applications/{application}*\x0Capplications2\x0BapplicationB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_app_store_idB\x0B\x0A\x09_archivedB\x19\x0A\x17_app_store_display_nameB\x13\x0A\x11_application_codeB\x0C\x0A\x0A_developerB\x0B\x0A\x09_platformB\x07\x0A\x05_freeB\x0F\x0A\x0D_download_urlB\x12\x0A\x10_approval_statusB\x1A\x0A\x18_webview_claiming_statusB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18ApplicationMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationService.php new file mode 100644 index 000000000000..584159b560df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ApplicationService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x83\x1E\x0A1google/ads/admanager/v1/application_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"S\x0A\x15GetApplicationRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/Application\"\xC3\x01\x0A\x17ListApplicationsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x83\x01\x0A\x18ListApplicationsResponse\x12:\x0A\x0Capplications\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.Application\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x94\x01\x0A\x18CreateApplicationRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12>\x0A\x0Bapplication\x18\x02 \x01(\x0B2\$.google.ads.admanager.v1.ApplicationB\x03\xE0A\x02\"\xA4\x01\x0A\x1EBatchCreateApplicationsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12H\x0A\x08requests\x18\x02 \x03(\x0B21.google.ads.admanager.v1.CreateApplicationRequestB\x03\xE0A\x02\"]\x0A\x1FBatchCreateApplicationsResponse\x12:\x0A\x0Capplications\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.Application\"\x90\x01\x0A\x18UpdateApplicationRequest\x12>\x0A\x0Bapplication\x18\x01 \x01(\x0B2\$.google.ads.admanager.v1.ApplicationB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xA4\x01\x0A\x1EBatchUpdateApplicationsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12H\x0A\x08requests\x18\x02 \x03(\x0B21.google.ads.admanager.v1.UpdateApplicationRequestB\x03\xE0A\x02\"]\x0A\x1FBatchUpdateApplicationsResponse\x12:\x0A\x0Capplications\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.Application\"\x98\x01\x0A\x1FBatchArchiveApplicationsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12;\x0A\x05names\x18\x02 \x03(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/Application\"\"\x0A BatchArchiveApplicationsResponse\"\x9A\x01\x0A!BatchUnarchiveApplicationsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12;\x0A\x05names\x18\x02 \x03(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/Application\"\$\x0A\"BatchUnarchiveApplicationsResponse2\xF0\x0D\x0A\x12ApplicationService\x12\x9B\x01\x0A\x0EGetApplication\x12..google.ads.admanager.v1.GetApplicationRequest\x1A\$.google.ads.admanager.v1.Application\"3\xDAA\x04name\x82\xD3\xE4\x93\x02&\x12\$/v1/{name=networks/*/applications/*}\x12\xAE\x01\x0A\x10ListApplications\x120.google.ads.admanager.v1.ListApplicationsRequest\x1A1.google.ads.admanager.v1.ListApplicationsResponse\"5\xDAA\x06parent\x82\xD3\xE4\x93\x02&\x12\$/v1/{parent=networks/*}/applications\x12\xBC\x01\x0A\x11CreateApplication\x121.google.ads.admanager.v1.CreateApplicationRequest\x1A\$.google.ads.admanager.v1.Application\"N\xDAA\x12parent,application\x82\xD3\xE4\x93\x023\"\$/v1/{parent=networks/*}/applications:\x0Bapplication\x12\xDB\x01\x0A\x17BatchCreateApplications\x127.google.ads.admanager.v1.BatchCreateApplicationsRequest\x1A8.google.ads.admanager.v1.BatchCreateApplicationsResponse\"M\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/applications:batchCreate:\x01*\x12\xCD\x01\x0A\x11UpdateApplication\x121.google.ads.admanager.v1.UpdateApplicationRequest\x1A\$.google.ads.admanager.v1.Application\"_\xDAA\x17application,update_mask\x82\xD3\xE4\x93\x02?20/v1/{application.name=networks/*/applications/*}:\x0Bapplication\x12\xDB\x01\x0A\x17BatchUpdateApplications\x127.google.ads.admanager.v1.BatchUpdateApplicationsRequest\x1A8.google.ads.admanager.v1.BatchUpdateApplicationsResponse\"M\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/applications:batchUpdate:\x01*\x12\xDC\x01\x0A\x18BatchArchiveApplications\x128.google.ads.admanager.v1.BatchArchiveApplicationsRequest\x1A9.google.ads.admanager.v1.BatchArchiveApplicationsResponse\"K\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x026\"1/v1/{parent=networks/*}/applications:batchArchive:\x01*\x12\xE4\x01\x0A\x1ABatchUnarchiveApplications\x12:.google.ads.admanager.v1.BatchUnarchiveApplicationsRequest\x1A;.google.ads.admanager.v1.BatchUnarchiveApplicationsResponse\"M\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x028\"3/v1/{parent=networks/*}/applications:batchUnarchive:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17ApplicationServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AppliedLabel.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AppliedLabel.php new file mode 100644 index 000000000000..b56585aee1cf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AppliedLabel.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x89\x03\x0A+google/ads/admanager/v1/applied_label.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"V\x0A\x0CAppliedLabel\x125\x0A\x05label\x18\x01 \x01(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Label\x12\x0F\x0A\x07negated\x18\x02 \x01(\x08B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11AppliedLabelProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentMessages.php new file mode 100644 index 000000000000..6f8efbbdf191 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB1\x04\x0A7google/ads/admanager/v1/audience_segment_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE6\x01\x0A\x0FAudienceSegment\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01:\x8E\x01\xEAA\x8A\x01\x0A(admanager.googleapis.com/AudienceSegment\x12;networks/{network_code}/audienceSegments/{audience_segment}*\x10audienceSegments2\x0FaudienceSegmentB\x0F\x0A\x0D_display_nameB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CAudienceSegmentMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentService.php new file mode 100644 index 000000000000..7f2765a5b6d5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/AudienceSegmentService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xDE\x0A\x0A6google/ads/admanager/v1/audience_segment_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"[\x0A\x19GetAudienceSegmentRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/AudienceSegment\"\xC7\x01\x0A\x1BListAudienceSegmentsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x90\x01\x0A\x1CListAudienceSegmentsResponse\x12C\x0A\x11audience_segments\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.AudienceSegment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x83\x04\x0A\x16AudienceSegmentService\x12\xAB\x01\x0A\x12GetAudienceSegment\x122.google.ads.admanager.v1.GetAudienceSegmentRequest\x1A(.google.ads.admanager.v1.AudienceSegment\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/audienceSegments/*}\x12\xBE\x01\x0A\x14ListAudienceSegments\x124.google.ads.admanager.v1.ListAudienceSegmentsRequest\x1A5.google.ads.admanager.v1.ListAudienceSegmentsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/audienceSegments\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BAudienceSegmentServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupMessages.php new file mode 100644 index 000000000000..5773dd344835 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB7\x04\x0A6google/ads/admanager/v1/bandwidth_group_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xEE\x01\x0A\x0EBandwidthGroup\x12\x16\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01:\x89\x01\xEAA\x85\x01\x0A'admanager.googleapis.com/BandwidthGroup\x129networks/{network_code}/bandwidthGroups/{bandwidth_group}*\x0FbandwidthGroups2\x0EbandwidthGroupB\x07\x0A\x05_nameB\x0F\x0A\x0D_display_nameB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BBandwidthGroupMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupService.php new file mode 100644 index 000000000000..ec556fc377fa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BandwidthGroupService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xCD\x0A\x0A5google/ads/admanager/v1/bandwidth_group_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"Y\x0A\x18GetBandwidthGroupRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/BandwidthGroup\"\xC6\x01\x0A\x1AListBandwidthGroupsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8D\x01\x0A\x1BListBandwidthGroupsResponse\x12A\x0A\x10bandwidth_groups\x18\x01 \x03(\x0B2'.google.ads.admanager.v1.BandwidthGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xFA\x03\x0A\x15BandwidthGroupService\x12\xA7\x01\x0A\x11GetBandwidthGroup\x121.google.ads.admanager.v1.GetBandwidthGroupRequest\x1A'.google.ads.admanager.v1.BandwidthGroup\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)\x12'/v1/{name=networks/*/bandwidthGroups/*}\x12\xBA\x01\x0A\x13ListBandwidthGroups\x123.google.ads.admanager.v1.ListBandwidthGroupsRequest\x1A4.google.ads.admanager.v1.ListBandwidthGroupsResponse\"8\xDAA\x06parent\x82\xD3\xE4\x93\x02)\x12'/v1/{parent=networks/*}/bandwidthGroups\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ABandwidthGroupServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrandLiftPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrandLiftPartnerEnum.php new file mode 100644 index 000000000000..68316cde7f52 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrandLiftPartnerEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xC6\x03\x0A5google/ads/admanager/v1/brand_lift_partner_enum.proto\x12\x17google.ads.admanager.v1\"\x9B\x01\x0A\x14BrandLiftPartnerEnum\"\x82\x01\x0A\x10BrandLiftPartner\x12\"\x0A\x1EBRAND_LIFT_PARTNER_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06DYNATA\x10\x01\x12\x0A\x0A\x06INTAGE\x10\x03\x12\x19\x0A\x15KANTAR_MILLWARD_BROWN\x10\x04\x12\x0D\x0A\x09MACROMILL\x10\x05\x12\x08\x0A\x04NONE\x10\x07B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19BrandLiftPartnerEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageMessages.php new file mode 100644 index 000000000000..e77c7debf1a7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB1\x04\x0A7google/ads/admanager/v1/browser_language_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE6\x01\x0A\x0FBrowserLanguage\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\x8E\x01\xEAA\x8A\x01\x0A(admanager.googleapis.com/BrowserLanguage\x12;networks/{network_code}/browserLanguages/{browser_language}*\x10browserLanguages2\x0FbrowserLanguageB\x0F\x0A\x0D_display_nameB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CBrowserLanguageMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageService.php new file mode 100644 index 000000000000..8c957687e4f0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserLanguageService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xDE\x0A\x0A6google/ads/admanager/v1/browser_language_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"[\x0A\x19GetBrowserLanguageRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/BrowserLanguage\"\xC7\x01\x0A\x1BListBrowserLanguagesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x90\x01\x0A\x1CListBrowserLanguagesResponse\x12C\x0A\x11browser_languages\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.BrowserLanguage\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x83\x04\x0A\x16BrowserLanguageService\x12\xAB\x01\x0A\x12GetBrowserLanguage\x122.google.ads.admanager.v1.GetBrowserLanguageRequest\x1A(.google.ads.admanager.v1.BrowserLanguage\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/browserLanguages/*}\x12\xBE\x01\x0A\x14ListBrowserLanguages\x124.google.ads.admanager.v1.ListBrowserLanguagesRequest\x1A5.google.ads.admanager.v1.ListBrowserLanguagesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/browserLanguages\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BBrowserLanguageServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserMessages.php new file mode 100644 index 000000000000..c998ff072da8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xD3\x04\x0A.google/ads/admanager/v1/browser_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\x99\x02\x0A\x07Browser\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1F\x0A\x0Dmajor_version\x18\x04 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1F\x0A\x0Dminor_version\x18\x05 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01:d\xEAAa\x0A admanager.googleapis.com/Browser\x12*networks/{network_code}/browsers/{browser}*\x08browsers2\x07browserB\x0F\x0A\x0D_display_nameB\x10\x0A\x0E_major_versionB\x10\x0A\x0E_minor_versionB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14BrowserMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserService.php new file mode 100644 index 000000000000..6c12decb8212 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/BrowserService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xD3\x09\x0A-google/ads/admanager/v1/browser_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"K\x0A\x11GetBrowserRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Browser\"\xBF\x01\x0A\x13ListBrowsersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"w\x0A\x14ListBrowsersResponse\x122\x0A\x08browsers\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Browser\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xBB\x03\x0A\x0EBrowserService\x12\x8B\x01\x0A\x0AGetBrowser\x12*.google.ads.admanager.v1.GetBrowserRequest\x1A .google.ads.admanager.v1.Browser\"/\xDAA\x04name\x82\xD3\xE4\x93\x02\"\x12 /v1/{name=networks/*/browsers/*}\x12\x9E\x01\x0A\x0CListBrowsers\x12,.google.ads.admanager.v1.ListBrowsersRequest\x1A-.google.ads.admanager.v1.ListBrowsersResponse\"1\xDAA\x06parent\x82\xD3\xE4\x93\x02\"\x12 /v1/{parent=networks/*}/browsers\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13BrowserServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigMessages.php new file mode 100644 index 000000000000..b65d51e29f15 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigMessages.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xDF\x15\x0A1google/ads/admanager/v1/cdn_config_messages.proto\x12\x17google.ads.admanager.v1\x1A2google/ads/admanager/v1/cdn_config_type_enum.proto\x1A6google/ads/admanager/v1/cdn_security_policy_enum.proto\x1AHgoogle/ads/admanager/v1/cdn_security_policy_origin_forwarding_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\"\xD3\x04\x0A\x09CdnConfig\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12[\x0A\x0Fcdn_config_type\x18\x03 \x01(\x0E28.google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigTypeB\x03\xE0A\x02H\x01\x88\x01\x01\x12P\x0A\x15source_content_config\x18\x04 \x01(\x0B2,.google.ads.admanager.v1.SourceContentConfigB\x03\xE0A\x01\x12U\x0A\x18ad_media_delivery_config\x18\x06 \x01(\x0B2..google.ads.admanager.v1.AdMediaDeliveryConfigB\x03\xE0A\x01\x12a\x0A\x11cdn_config_status\x18\x07 \x01(\x0E2<.google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatusB\x03\xE0A\x03H\x02\x88\x01\x01:o\xEAAl\x0A\"admanager.googleapis.com/CdnConfig\x12/networks/{network_code}/cdnConfigs/{cdn_config}*\x0AcdnConfigs2\x09cdnConfigB\x0F\x0A\x0D_display_nameB\x12\x0A\x10_cdn_config_typeB\x14\x0A\x12_cdn_config_status\"\xD9\x07\x0A\x11CdnSecurityPolicy\x12p\x0A\x14security_policy_type\x18\x01 \x01(\x0E2H.google.ads.admanager.v1.CdnSecurityPolicyTypeEnum.CdnSecurityPolicyTypeB\x03\xE0A\x02H\x00\x88\x01\x01\x12*\x0A\x18token_authentication_key\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x122\x0A server_side_url_signing_disabled\x18\x03 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x8A\x01\x0A\x16origin_forwarding_type\x18\x05 \x01(\x0E2`.google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwardingB\x03\xE0A\x01H\x03\x88\x01\x01\x12\$\x0A\x12origin_path_prefix\x18\x06 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x12\x99\x01\x0A%media_playlist_origin_forwarding_type\x18\x07 \x01(\x0E2`.google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwardingB\x03\xE0A\x01H\x05\x88\x01\x01\x123\x0A!media_playlist_origin_path_prefix\x18\x08 \x01(\x09B\x03\xE0A\x01H\x06\x88\x01\x01\x12\x18\x0A\x06keyset\x18\x0A \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01\x12J\x0A\x1Dsigned_request_expiration_ttl\x18\x0B \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x08\x88\x01\x01B\x17\x0A\x15_security_policy_typeB\x1B\x0A\x19_token_authentication_keyB#\x0A!_server_side_url_signing_disabledB\x19\x0A\x17_origin_forwarding_typeB\x15\x0A\x13_origin_path_prefixB(\x0A&_media_playlist_origin_forwarding_typeB\$\x0A\"_media_playlist_origin_path_prefixB\x09\x0A\x07_keysetB \x0A\x1E_signed_request_expiration_ttl\"\x8F\x02\x0A\x15AdMediaDeliveryConfig\x124\x0A\"override_default_delivery_settings\x18\x04 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01\x12F\x0A\x11delivery_settings\x18\x05 \x01(\x0B2&.google.ads.admanager.v1.MediaLocationB\x03\xE0A\x01\x12Q\x0A\x1Cadditional_delivery_settings\x18\x03 \x03(\x0B2&.google.ads.admanager.v1.MediaLocationB\x03\xE0A\x01B%\x0A#_override_default_delivery_settings\"\xAB\x01\x0A\x13SourceContentConfig\x12D\x0A\x0Fingest_settings\x18\x01 \x01(\x0B2&.google.ads.admanager.v1.MediaLocationB\x03\xE0A\x02\x12N\x0A\x19default_delivery_settings\x18\x02 \x01(\x0B2&.google.ads.admanager.v1.MediaLocationB\x03\xE0A\x02\"\xB7\x01\x0A\x0DMediaLocation\x12\x1E\x0A\x0Cdisplay_name\x18\x01 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Aurl_prefix\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12H\x0A\x0Fsecurity_policy\x18\x03 \x01(\x0B2*.google.ads.admanager.v1.CdnSecurityPolicyB\x03\xE0A\x01B\x0F\x0A\x0D_display_nameB\x0D\x0A\x0B_url_prefixB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16CdnConfigMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigService.php new file mode 100644 index 000000000000..d9fab362f8e8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xFF\x1C\x0A0google/ads/admanager/v1/cdn_config_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"O\x0A\x13GetCdnConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/CdnConfig\"\xC1\x01\x0A\x15ListCdnConfigsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"~\x0A\x16ListCdnConfigsResponse\x127\x0A\x0Bcdn_configs\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.CdnConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x8F\x01\x0A\x16CreateCdnConfigRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12;\x0A\x0Acdn_config\x18\x02 \x01(\x0B2\".google.ads.admanager.v1.CdnConfigB\x03\xE0A\x02\"\xA0\x01\x0A\x1CBatchCreateCdnConfigsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12F\x0A\x08requests\x18\x02 \x03(\x0B2/.google.ads.admanager.v1.CreateCdnConfigRequestB\x03\xE0A\x02\"X\x0A\x1DBatchCreateCdnConfigsResponse\x127\x0A\x0Bcdn_configs\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.CdnConfig\"\x8B\x01\x0A\x16UpdateCdnConfigRequest\x12;\x0A\x0Acdn_config\x18\x01 \x01(\x0B2\".google.ads.admanager.v1.CdnConfigB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xA0\x01\x0A\x1CBatchUpdateCdnConfigsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12F\x0A\x08requests\x18\x02 \x03(\x0B2/.google.ads.admanager.v1.UpdateCdnConfigRequestB\x03\xE0A\x02\"X\x0A\x1DBatchUpdateCdnConfigsResponse\x127\x0A\x0Bcdn_configs\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.CdnConfig\"\x95\x01\x0A\x1EBatchActivateCdnConfigsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x129\x0A\x05names\x18\x02 \x03(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/CdnConfig\"!\x0A\x1FBatchActivateCdnConfigsResponse\"\x94\x01\x0A\x1DBatchArchiveCdnConfigsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x129\x0A\x05names\x18\x02 \x03(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/CdnConfig\" \x0A\x1EBatchArchiveCdnConfigsResponse2\xA5\x0D\x0A\x10CdnConfigService\x12\x93\x01\x0A\x0CGetCdnConfig\x12,.google.ads.admanager.v1.GetCdnConfigRequest\x1A\".google.ads.admanager.v1.CdnConfig\"1\xDAA\x04name\x82\xD3\xE4\x93\x02\$\x12\"/v1/{name=networks/*/cdnConfigs/*}\x12\xA6\x01\x0A\x0EListCdnConfigs\x12..google.ads.admanager.v1.ListCdnConfigsRequest\x1A/.google.ads.admanager.v1.ListCdnConfigsResponse\"3\xDAA\x06parent\x82\xD3\xE4\x93\x02\$\x12\"/v1/{parent=networks/*}/cdnConfigs\x12\xB2\x01\x0A\x0FCreateCdnConfig\x12/.google.ads.admanager.v1.CreateCdnConfigRequest\x1A\".google.ads.admanager.v1.CdnConfig\"J\xDAA\x11parent,cdn_config\x82\xD3\xE4\x93\x020\"\"/v1/{parent=networks/*}/cdnConfigs:\x0Acdn_config\x12\xD3\x01\x0A\x15BatchCreateCdnConfigs\x125.google.ads.admanager.v1.BatchCreateCdnConfigsRequest\x1A6.google.ads.admanager.v1.BatchCreateCdnConfigsResponse\"K\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/cdnConfigs:batchCreate:\x01*\x12\xC2\x01\x0A\x0FUpdateCdnConfig\x12/.google.ads.admanager.v1.UpdateCdnConfigRequest\x1A\".google.ads.admanager.v1.CdnConfig\"Z\xDAA\x16cdn_config,update_mask\x82\xD3\xE4\x93\x02;2-/v1/{cdn_config.name=networks/*/cdnConfigs/*}:\x0Acdn_config\x12\xD3\x01\x0A\x15BatchUpdateCdnConfigs\x125.google.ads.admanager.v1.BatchUpdateCdnConfigsRequest\x1A6.google.ads.admanager.v1.BatchUpdateCdnConfigsResponse\"K\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/cdnConfigs:batchUpdate:\x01*\x12\xD8\x01\x0A\x17BatchActivateCdnConfigs\x127.google.ads.admanager.v1.BatchActivateCdnConfigsRequest\x1A8.google.ads.admanager.v1.BatchActivateCdnConfigsResponse\"J\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/cdnConfigs:batchActivate:\x01*\x12\xD4\x01\x0A\x16BatchArchiveCdnConfigs\x126.google.ads.admanager.v1.BatchArchiveCdnConfigsRequest\x1A7.google.ads.admanager.v1.BatchArchiveCdnConfigsResponse\"I\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/cdnConfigs:batchArchive:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15CdnConfigServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigStatusEnum.php new file mode 100644 index 000000000000..9b3536fd43bf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigStatusEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x8D\x03\x0A4google/ads/admanager/v1/cdn_config_status_enum.proto\x12\x17google.ads.admanager.v1\"e\x0A\x13CdnConfigStatusEnum\"N\x0A\x0FCdnConfigStatus\x12!\x0A\x1DCDN_CONFIG_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08ARCHIVED\x10\x02B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18CdnConfigStatusEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigTypeEnum.php new file mode 100644 index 000000000000..3c257468cc86 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnConfigTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xC7\x03\x0A2google/ads/admanager/v1/cdn_config_type_enum.proto\x12\x17google.ads.admanager.v1\"\xA2\x01\x0A\x11CdnConfigTypeEnum\"\x8C\x01\x0A\x0DCdnConfigType\x12\x1F\x0A\x1BCDN_CONFIG_TYPE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11AD_MEDIA_DELIVERY\x10\x01\x12\x1E\x0A\x1ALIVE_STREAM_SOURCE_CONTENT\x10\x02\x12\x0B\x0A\x07MIDROLL\x10\x03\x12\x16\x0A\x12VOD_SOURCE_CONTENT\x10\x04B\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16CdnConfigTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyEnum.php new file mode 100644 index 000000000000..e6bd0de42491 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB2\x03\x0A6google/ads/admanager/v1/cdn_security_policy_enum.proto\x12\x17google.ads.admanager.v1\"\x85\x01\x0A\x19CdnSecurityPolicyTypeEnum\"h\x0A\x15CdnSecurityPolicyType\x12(\x0A\$CDN_SECURITY_POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06AKAMAI\x10\x01\x12\x0F\x0A\x0BCLOUD_MEDIA\x10\x02\x12\x08\x0A\x04NONE\x10\x03B\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ACdnSecurityPolicyEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyOriginForwardingEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyOriginForwardingEnum.php new file mode 100644 index 000000000000..47dd38468161 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CdnSecurityPolicyOriginForwardingEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x80\x04\x0AHgoogle/ads/admanager/v1/cdn_security_policy_origin_forwarding_enum.proto\x12\x17google.ads.admanager.v1\"\xB1\x01\x0A%CdnSecurityPolicyOriginForwardingEnum\"\x87\x01\x0A!CdnSecurityPolicyOriginForwarding\x125\x0A1CDN_SECURITY_POLICY_ORIGIN_FORWARDING_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CCONVENTIONAL\x10\x01\x12\x08\x0A\x04NONE\x10\x02\x12\x0F\x0A\x0BORIGIN_PATH\x10\x03B\xDE\x01\x0A\x1Bcom.google.ads.admanager.v1B*CdnSecurityPolicyOriginForwardingEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ChildContentEligibilityEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ChildContentEligibilityEnum.php new file mode 100644 index 000000000000..ad85eb1c685a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ChildContentEligibilityEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB9\x03\x0AinternalAddGeneratedFile( + "\x0A\xF8\x03\x0A6google/ads/admanager/v1/child_publisher_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xAF\x01\x0A\x0EChildPublisher\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08:\x89\x01\xEAA\x85\x01\x0A'admanager.googleapis.com/ChildPublisher\x129networks/{network_code}/childPublishers/{child_publisher}*\x0FchildPublishers2\x0EchildPublisherB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BChildPublisherMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyEnums.php new file mode 100644 index 000000000000..05b5dc586ff1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x9D\x03\x0A4google/ads/admanager/v1/cms_metadata_key_enums.proto\x12\x17google.ads.admanager.v1\"u\x0A\x18CmsMetadataKeyStatusEnum\"Y\x0A\x14CmsMetadataKeyStatus\x12'\x0A#CMS_METADATA_KEY_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18CmsMetadataKeyEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyMessages.php new file mode 100644 index 000000000000..e767a76387be --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x93\x05\x0A7google/ads/admanager/v1/cms_metadata_key_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xA8\x02\x0A\x0ECmsMetadataKey\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12[\x0A\x06status\x18\x04 \x01(\x0E2F.google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatusB\x03\xE0A\x03:\x8A\x01\xEAA\x86\x01\x0A'admanager.googleapis.com/CmsMetadataKey\x12:networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}*\x0FcmsMetadataKeys2\x0EcmsMetadataKeyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BCmsMetadataKeyMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyService.php new file mode 100644 index 000000000000..13c29bfcd154 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataKeyService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xCD\x11\x0A6google/ads/admanager/v1/cms_metadata_key_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"Y\x0A\x18GetCmsMetadataKeyRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/CmsMetadataKey\"\xC6\x01\x0A\x1AListCmsMetadataKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8E\x01\x0A\x1BListCmsMetadataKeysResponse\x12B\x0A\x11cms_metadata_keys\x18\x01 \x03(\x0B2'.google.ads.admanager.v1.CmsMetadataKey\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x9F\x01\x0A#BatchActivateCmsMetadataKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12>\x0A\x05names\x18\x02 \x03(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/CmsMetadataKey\"&\x0A\$BatchActivateCmsMetadataKeysResponse\"\xA1\x01\x0A%BatchDeactivateCmsMetadataKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12>\x0A\x05names\x18\x02 \x03(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/CmsMetadataKey\"(\x0A&BatchDeactivateCmsMetadataKeysResponse2\xE0\x07\x0A\x15CmsMetadataKeyService\x12\xA7\x01\x0A\x11GetCmsMetadataKey\x121.google.ads.admanager.v1.GetCmsMetadataKeyRequest\x1A'.google.ads.admanager.v1.CmsMetadataKey\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)\x12'/v1/{name=networks/*/cmsMetadataKeys/*}\x12\xBA\x01\x0A\x13ListCmsMetadataKeys\x123.google.ads.admanager.v1.ListCmsMetadataKeysRequest\x1A4.google.ads.admanager.v1.ListCmsMetadataKeysResponse\"8\xDAA\x06parent\x82\xD3\xE4\x93\x02)\x12'/v1/{parent=networks/*}/cmsMetadataKeys\x12\xEC\x01\x0A\x1CBatchActivateCmsMetadataKeys\x12<.google.ads.admanager.v1.BatchActivateCmsMetadataKeysRequest\x1A=.google.ads.admanager.v1.BatchActivateCmsMetadataKeysResponse\"O\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02:\"5/v1/{parent=networks/*}/cmsMetadataKeys:batchActivate:\x01*\x12\xF4\x01\x0A\x1EBatchDeactivateCmsMetadataKeys\x12>.google.ads.admanager.v1.BatchDeactivateCmsMetadataKeysRequest\x1A?.google.ads.admanager.v1.BatchDeactivateCmsMetadataKeysResponse\"Q\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02<\"7/v1/{parent=networks/*}/cmsMetadataKeys:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ACmsMetadataKeyServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueEnums.php new file mode 100644 index 000000000000..ebaa7149ea5f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB6\x03\x0A6google/ads/admanager/v1/cms_metadata_value_enums.proto\x12\x17google.ads.admanager.v1\"\x89\x01\x0A\x1ACmsMetadataValueStatusEnum\"k\x0A\x16CmsMetadataValueStatus\x12)\x0A%CMS_METADATA_VALUE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08ARCHIVED\x10\x02\x12\x0C\x0A\x08INACTIVE\x10\x03B\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ACmsMetadataValueEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueMessages.php new file mode 100644 index 000000000000..72ac2b6bd75e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xE3\x05\x0A9google/ads/admanager/v1/cms_metadata_value_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xF4\x02\x0A\x10CmsMetadataValue\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12?\x0A\x03key\x18\x05 \x01(\x09B2\xE0A\x02\xE0A\x05\xFAA)\x0A'admanager.googleapis.com/CmsMetadataKey\x12_\x0A\x06status\x18\x06 \x01(\x0E2J.google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatusB\x03\xE0A\x03:\x94\x01\xEAA\x90\x01\x0A)admanager.googleapis.com/CmsMetadataValue\x12>networks/{network_code}/cmsMetadataValues/{cms_metadata_value}*\x11cmsMetadataValues2\x10cmsMetadataValueB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DCmsMetadataValueMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueService.php new file mode 100644 index 000000000000..eed20c5febb0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CmsMetadataValueService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x8B\x12\x0A8google/ads/admanager/v1/cms_metadata_value_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"]\x0A\x1AGetCmsMetadataValueRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/CmsMetadataValue\"\xC8\x01\x0A\x1CListCmsMetadataValuesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x94\x01\x0A\x1DListCmsMetadataValuesResponse\x12F\x0A\x13cms_metadata_values\x18\x01 \x03(\x0B2).google.ads.admanager.v1.CmsMetadataValue\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\xA3\x01\x0A%BatchActivateCmsMetadataValuesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12@\x0A\x05names\x18\x02 \x03(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/CmsMetadataValue\"(\x0A&BatchActivateCmsMetadataValuesResponse\"\xA5\x01\x0A'BatchDeactivateCmsMetadataValuesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12@\x0A\x05names\x18\x02 \x03(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/CmsMetadataValue\"*\x0A(BatchDeactivateCmsMetadataValuesResponse2\x82\x08\x0A\x17CmsMetadataValueService\x12\xAF\x01\x0A\x13GetCmsMetadataValue\x123.google.ads.admanager.v1.GetCmsMetadataValueRequest\x1A).google.ads.admanager.v1.CmsMetadataValue\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+\x12)/v1/{name=networks/*/cmsMetadataValues/*}\x12\xC2\x01\x0A\x15ListCmsMetadataValues\x125.google.ads.admanager.v1.ListCmsMetadataValuesRequest\x1A6.google.ads.admanager.v1.ListCmsMetadataValuesResponse\":\xDAA\x06parent\x82\xD3\xE4\x93\x02+\x12)/v1/{parent=networks/*}/cmsMetadataValues\x12\xF4\x01\x0A\x1EBatchActivateCmsMetadataValues\x12>.google.ads.admanager.v1.BatchActivateCmsMetadataValuesRequest\x1A?.google.ads.admanager.v1.BatchActivateCmsMetadataValuesResponse\"Q\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02<\"7/v1/{parent=networks/*}/cmsMetadataValues:batchActivate:\x01*\x12\xFC\x01\x0A BatchDeactivateCmsMetadataValues\x12@.google.ads.admanager.v1.BatchDeactivateCmsMetadataValuesRequest\x1AA.google.ads.admanager.v1.BatchDeactivateCmsMetadataValuesResponse\"S\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/cmsMetadataValues:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CCmsMetadataValueServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyEnums.php new file mode 100644 index 000000000000..7be6e8c75090 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xC3\x04\x0A+google/ads/admanager/v1/company_enums.proto\x12\x17google.ads.admanager.v1\"\x92\x01\x0A\x0FCompanyTypeEnum\"\x7F\x0A\x0BCompanyType\x12\x1C\x0A\x18COMPANY_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AADVERTISER\x10\x01\x12\x14\x0A\x10HOUSE_ADVERTISER\x10\x02\x12\x0A\x0A\x06AGENCY\x10\x03\x12\x10\x0A\x0CHOUSE_AGENCY\x10\x04\x12\x0E\x0A\x0AAD_NETWORK\x10\x05\"\x95\x01\x0A\x17CompanyCreditStatusEnum\"z\x0A\x13CompanyCreditStatus\x12%\x0A!COMPANY_CREDIT_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\x12\x0B\x0A\x07ON_HOLD\x10\x03\x12\x08\x0A\x04STOP\x10\x04\x12\x0B\x0A\x07BLOCKED\x10\x05B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11CompanyEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyMessages.php new file mode 100644 index 000000000000..1c4e1e2f2c48 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAD\x0B\x0A.google/ads/admanager/v1/company_messages.proto\x12\x17google.ads.admanager.v1\x1A+google/ads/admanager/v1/company_enums.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x84\x08\x0A\x07Company\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Acompany_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12L\x0A\x04type\x18\x04 \x01(\x0E24.google.ads.admanager.v1.CompanyTypeEnum.CompanyTypeB\x03\xE0A\x02H\x02\x88\x01\x01\x12\x19\x0A\x07address\x18\x05 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01\x12\x17\x0A\x05email\x18\x06 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x12\x15\x0A\x03fax\x18\x07 \x01(\x09B\x03\xE0A\x01H\x05\x88\x01\x01\x12\x17\x0A\x05phone\x18\x08 \x01(\x09B\x03\xE0A\x01H\x06\x88\x01\x01\x12\x1D\x0A\x0Bexternal_id\x18\x09 \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01\x12\x19\x0A\x07comment\x18\x0A \x01(\x09B\x03\xE0A\x01H\x08\x88\x01\x01\x12e\x0A\x0Dcredit_status\x18\x0B \x01(\x0E2D.google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatusB\x03\xE0A\x01H\x09\x88\x01\x01\x12B\x0A\x0Eapplied_labels\x18\x0C \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x01\x12F\x0A\x0Fprimary_contact\x18\x0D \x01(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/ContactH\x0A\x88\x01\x01\x12<\x0A\x0Dapplied_teams\x18\x0E \x03(\x09B%\xE0A\x01\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\x12(\x0A\x16third_party_company_id\x18\x10 \x01(\x03B\x03\xE0A\x01H\x0B\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x0F \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x0C\x88\x01\x01:f\xEAAc\x0A admanager.googleapis.com/Company\x12+networks/{network_code}/companies/{company}*\x09companies2\x07companyB\x0D\x0A\x0B_company_idB\x0F\x0A\x0D_display_nameB\x07\x0A\x05_typeB\x0A\x0A\x08_addressB\x08\x0A\x06_emailB\x06\x0A\x04_faxB\x08\x0A\x06_phoneB\x0E\x0A\x0C_external_idB\x0A\x0A\x08_commentB\x10\x0A\x0E_credit_statusB\x12\x0A\x10_primary_contactB\x19\x0A\x17_third_party_company_idB\x0E\x0A\x0C_update_timeB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14CompanyMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyService.php new file mode 100644 index 000000000000..8ca12a11dd16 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CompanyService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xDB\x09\x0A-google/ads/admanager/v1/company_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"K\x0A\x11GetCompanyRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Company\"\xC0\x01\x0A\x14ListCompaniesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"y\x0A\x15ListCompaniesResponse\x123\x0A\x09companies\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Company\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xC0\x03\x0A\x0ECompanyService\x12\x8C\x01\x0A\x0AGetCompany\x12*.google.ads.admanager.v1.GetCompanyRequest\x1A .google.ads.admanager.v1.Company\"0\xDAA\x04name\x82\xD3\xE4\x93\x02#\x12!/v1/{name=networks/*/companies/*}\x12\xA2\x01\x0A\x0DListCompanies\x12-.google.ads.admanager.v1.ListCompaniesRequest\x1A..google.ads.admanager.v1.ListCompaniesResponse\"2\xDAA\x06parent\x82\xD3\xE4\x93\x02#\x12!/v1/{parent=networks/*}/companies\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13CompanyServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactEnums.php new file mode 100644 index 000000000000..f316340698cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xCE\x03\x0A+google/ads/admanager/v1/contact_enums.proto\x12\x17google.ads.admanager.v1\"\xB5\x01\x0A\x11ContactStatusEnum\"\x9F\x01\x0A\x0DContactStatus\x12\x1E\x0A\x1ACONTACT_STATUS_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FINVITE_CANCELED\x10\x01\x12\x12\x0A\x0EINVITE_EXPIRED\x10\x02\x12\x12\x0A\x0EINVITE_PENDING\x10\x03\x12\x0D\x0A\x09UNINVITED\x10\x04\x12\x0F\x0A\x0BUSER_ACTIVE\x10\x05\x12\x11\x0A\x0DUSER_DISABLED\x10\x06B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11ContactEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactMessages.php new file mode 100644 index 000000000000..70af0fcd415b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xC9\x07\x0A.google/ads/admanager/v1/contact_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xEE\x04\x0A\x07Contact\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12A\x0A\x07company\x18\x05 \x01(\x09B+\xE0A\x02\xE0A\x05\xFAA\"\x0A admanager.googleapis.com/CompanyH\x01\x88\x01\x01\x12R\x0A\x06status\x18\x06 \x01(\x0E28.google.ads.admanager.v1.ContactStatusEnum.ContactStatusB\x03\xE0A\x03H\x02\x88\x01\x01\x12\x19\x0A\x07address\x18\x07 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01\x12\x1C\x0A\x0Acell_phone\x18\x08 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x12\x19\x0A\x07comment\x18\x09 \x01(\x09B\x03\xE0A\x01H\x05\x88\x01\x01\x12\x17\x0A\x05email\x18\x0A \x01(\x09B\x03\xE0A\x01H\x06\x88\x01\x01\x12\x15\x0A\x03fax\x18\x0B \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01\x12\x17\x0A\x05title\x18\x0C \x01(\x09B\x03\xE0A\x01H\x08\x88\x01\x01\x12\x1C\x0A\x0Awork_phone\x18\x0D \x01(\x09B\x03\xE0A\x01H\x09\x88\x01\x01:d\xEAAa\x0A admanager.googleapis.com/Contact\x12*networks/{network_code}/contacts/{contact}*\x08contacts2\x07contactB\x0F\x0A\x0D_display_nameB\x0A\x0A\x08_companyB\x09\x0A\x07_statusB\x0A\x0A\x08_addressB\x0D\x0A\x0B_cell_phoneB\x0A\x0A\x08_commentB\x08\x0A\x06_emailB\x06\x0A\x04_faxB\x08\x0A\x06_titleB\x0D\x0A\x0B_work_phoneB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14ContactMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactService.php new file mode 100644 index 000000000000..31494b44cc47 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContactService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xE2\x15\x0A-google/ads/admanager/v1/contact_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"K\x0A\x11GetContactRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Contact\"\xBF\x01\x0A\x13ListContactsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"w\x0A\x14ListContactsResponse\x122\x0A\x08contacts\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Contact\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x88\x01\x0A\x14CreateContactRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x126\x0A\x07contact\x18\x02 \x01(\x0B2 .google.ads.admanager.v1.ContactB\x03\xE0A\x02\"\x9C\x01\x0A\x1ABatchCreateContactsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12D\x0A\x08requests\x18\x02 \x03(\x0B2-.google.ads.admanager.v1.CreateContactRequestB\x03\xE0A\x02\"Q\x0A\x1BBatchCreateContactsResponse\x122\x0A\x08contacts\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Contact\"\x84\x01\x0A\x14UpdateContactRequest\x126\x0A\x07contact\x18\x01 \x01(\x0B2 .google.ads.admanager.v1.ContactB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x9C\x01\x0A\x1ABatchUpdateContactsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12D\x0A\x08requests\x18\x02 \x03(\x0B2-.google.ads.admanager.v1.UpdateContactRequestB\x03\xE0A\x02\"Q\x0A\x1BBatchUpdateContactsResponse\x122\x0A\x08contacts\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Contact2\xB2\x09\x0A\x0EContactService\x12\x8B\x01\x0A\x0AGetContact\x12*.google.ads.admanager.v1.GetContactRequest\x1A .google.ads.admanager.v1.Contact\"/\xDAA\x04name\x82\xD3\xE4\x93\x02\"\x12 /v1/{name=networks/*/contacts/*}\x12\x9E\x01\x0A\x0CListContacts\x12,.google.ads.admanager.v1.ListContactsRequest\x1A-.google.ads.admanager.v1.ListContactsResponse\"1\xDAA\x06parent\x82\xD3\xE4\x93\x02\"\x12 /v1/{parent=networks/*}/contacts\x12\xA4\x01\x0A\x0DCreateContact\x12-.google.ads.admanager.v1.CreateContactRequest\x1A .google.ads.admanager.v1.Contact\"B\xDAA\x0Eparent,contact\x82\xD3\xE4\x93\x02+\" /v1/{parent=networks/*}/contacts:\x07contact\x12\xCB\x01\x0A\x13BatchCreateContacts\x123.google.ads.admanager.v1.BatchCreateContactsRequest\x1A4.google.ads.admanager.v1.BatchCreateContactsResponse\"I\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x021\",/v1/{parent=networks/*}/contacts:batchCreate:\x01*\x12\xB1\x01\x0A\x0DUpdateContact\x12-.google.ads.admanager.v1.UpdateContactRequest\x1A .google.ads.admanager.v1.Contact\"O\xDAA\x13contact,update_mask\x82\xD3\xE4\x93\x0232(/v1/{contact.name=networks/*/contacts/*}:\x07contact\x12\xCB\x01\x0A\x13BatchUpdateContacts\x123.google.ads.admanager.v1.BatchUpdateContactsRequest\x1A4.google.ads.admanager.v1.BatchUpdateContactsResponse\"I\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x021\",/v1/{parent=networks/*}/contacts:batchUpdate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13ContactServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleEnums.php new file mode 100644 index 000000000000..5cb50cbe2827 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA4\x03\x0A2google/ads/admanager/v1/content_bundle_enums.proto\x12\x17google.ads.admanager.v1\"\x7F\x0A\x17ContentBundleStatusEnum\"d\x0A\x13ContentBundleStatus\x12%\x0A!CONTENT_BUNDLE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08ARCHIVED\x10\x02\x12\x0C\x0A\x08INACTIVE\x10\x03B\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17ContentBundleEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleMessages.php new file mode 100644 index 000000000000..90d9e38ba4fa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xDE\x05\x0A5google/ads/admanager/v1/content_bundle_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD5\x02\x0A\x0DContentBundle\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12Y\x0A\x06status\x18\x04 \x01(\x0E2D.google.ads.admanager.v1.ContentBundleStatusEnum.ContentBundleStatusB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:\x84\x01\xEAA\x80\x01\x0A&admanager.googleapis.com/ContentBundle\x127networks/{network_code}/contentBundles/{content_bundle}*\x0EcontentBundles2\x0DcontentBundleB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1AContentBundleMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleService.php new file mode 100644 index 000000000000..42612758e406 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentBundleService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAC\x11\x0A4google/ads/admanager/v1/content_bundle_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"W\x0A\x17GetContentBundleRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&admanager.googleapis.com/ContentBundle\"\xC5\x01\x0A\x19ListContentBundlesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8A\x01\x0A\x1AListContentBundlesResponse\x12?\x0A\x0Fcontent_bundles\x18\x01 \x03(\x0B2&.google.ads.admanager.v1.ContentBundle\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x9D\x01\x0A\"BatchActivateContentBundlesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12=\x0A\x05names\x18\x02 \x03(\x09B.\xE0A\x02\xFAA(\x0A&admanager.googleapis.com/ContentBundle\"%\x0A#BatchActivateContentBundlesResponse\"\x9F\x01\x0A\$BatchDeactivateContentBundlesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12=\x0A\x05names\x18\x02 \x03(\x09B.\xE0A\x02\xFAA(\x0A&admanager.googleapis.com/ContentBundle\"'\x0A%BatchDeactivateContentBundlesResponse2\xCF\x07\x0A\x14ContentBundleService\x12\xA3\x01\x0A\x10GetContentBundle\x120.google.ads.admanager.v1.GetContentBundleRequest\x1A&.google.ads.admanager.v1.ContentBundle\"5\xDAA\x04name\x82\xD3\xE4\x93\x02(\x12&/v1/{name=networks/*/contentBundles/*}\x12\xB6\x01\x0A\x12ListContentBundles\x122.google.ads.admanager.v1.ListContentBundlesRequest\x1A3.google.ads.admanager.v1.ListContentBundlesResponse\"7\xDAA\x06parent\x82\xD3\xE4\x93\x02(\x12&/v1/{parent=networks/*}/contentBundles\x12\xE8\x01\x0A\x1BBatchActivateContentBundles\x12;.google.ads.admanager.v1.BatchActivateContentBundlesRequest\x1A<.google.ads.admanager.v1.BatchActivateContentBundlesResponse\"N\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/contentBundles:batchActivate:\x01*\x12\xF0\x01\x0A\x1DBatchDeactivateContentBundles\x12=.google.ads.admanager.v1.BatchDeactivateContentBundlesRequest\x1A>.google.ads.admanager.v1.BatchDeactivateContentBundlesResponse\"P\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02;\"6/v1/{parent=networks/*}/contentBundles:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19ContentBundleServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentEnums.php new file mode 100644 index 000000000000..7dc2624aa379 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xCE\x17\x0A+google/ads/admanager/v1/content_enums.proto\x12\x17google.ads.admanager.v1\"\x89\x01\x0A\x11ContentStatusEnum\"t\x0A\x0DContentStatus\x12\x1E\x0A\x1ACONTENT_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\x12\x0C\x0A\x08ARCHIVED\x10\x03\x12\x0B\x0A\x07DELETED\x10\x04\x12\x0E\x0A\x0ADUPLICATED\x10\x05\"j\x0A\x17ContentStatusSourceEnum\"O\x0A\x13ContentStatusSource\x12%\x0A!CONTENT_STATUS_SOURCE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03CMS\x10\x01\x12\x08\x0A\x04USER\x10\x02\"\xCD\x01\x0A\x13DaiIngestStatusEnum\"\xB5\x01\x0A\x0FDaiIngestStatus\x12!\x0A\x1DDAI_INGEST_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07SUCCESS\x10\x01\x12\x0B\x0A\x07WARNING\x10\x02\x12\x0C\x0A\x08INGESTED\x10\x03\x12\x1A\x0A\x16INGESTED_WITH_WARNINGS\x10\x04\x12\x0F\x0A\x0BCONDITIONED\x10\x05\x12\x1D\x0A\x19CONDITIONED_WITH_WARNINGS\x10\x06\x12\x0B\x0A\x07FAILURE\x10\x07\"\xED\x11\x0A\x18DaiIngestErrorReasonEnum\"\xD0\x11\x0A\x14DaiIngestErrorReason\x12'\x0A#DAI_INGEST_ERROR_REASON_UNSPECIFIED\x10\x00\x12\x16\x0A\x12INVALID_INGEST_URL\x10\x01\x12\x1E\x0A\x1AINVALID_CLOSED_CAPTION_URL\x10\x02\x12\x1E\x0A\x1AMISSING_CLOSED_CAPTION_URL\x10\x03\x12\x17\x0A\x13COULD_NOT_FETCH_HLS\x10\x04\x12\x1D\x0A\x19COULD_NOT_FETCH_SUBTITLES\x10\x05\x12\x1D\x0A\x19MISSING_SUBTITLE_LANGUAGE\x10\x06\x12\x19\x0A\x15COULD_NOT_FETCH_MEDIA\x10\x07\x12\x19\x0A\x15MALFORMED_MEDIA_BYTES\x10\x08\x12\x1E\x0A\x1ACHAPTER_TIME_OUT_OF_BOUNDS\x10\x09\x12\x12\x0A\x0EINTERNAL_ERROR\x10\x0A\x125\x0A1CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS\x10\x0B\x12\x1C\x0A\x18MALFORMED_MEDIA_PLAYLIST\x10\x0C\x12\x17\x0A\x13MIXED_AD_BREAK_TAGS\x10\x0D\x12.\x0A*AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS\x10\x0E\x12\x17\x0A\x13MALFORMED_SUBTITLES\x10\x0F\x12\x17\x0A\x13SUBTITLES_TOO_LARGE\x10\x10\x127\x0A3PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH\x10\x11\x126\x0A2COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED\x10\x12\x122\x0A.COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED\x10\x13\x12-\x0A)COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED\x10\x14\x126\x0A2PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES\x10\x15\x12&\x0A\"PLAYLIST_HAS_NO_STARTING_PTS_VALUE\x10\x16\x125\x0A1PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH\x10\x17\x12\x16\x0A\x12SEGMENT_HAS_NO_PTS\x10\x18\x125\x0A1SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED\x10\x19\x123\x0A/CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE\x10\x1A\x12\x17\x0A\x13NO_CDN_CONFIG_FOUND\x10\x1B\x124\x0A0CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG\x10\x1C\x129\x0A5CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED\x10\x1D\x12\x14\x0A\x10ADTS_PARSE_ERROR\x10\x1E\x12\x13\x0A\x0FAAC_SPLIT_ERROR\x10\x1F\x12\x13\x0A\x0FAAC_PARSE_ERROR\x10 \x12\x12\x0A\x0ETS_PARSE_ERROR\x10!\x12\x12\x0A\x0ETS_SPLIT_ERROR\x10\"\x12 \x0A\x1CUNSUPPORTED_CONTAINER_FORMAT\x10#\x128\x0A4MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS\x10\$\x12\x1F\x0A\x1BUNSUPPORTED_TS_MEDIA_FORMAT\x10%\x12\x1D\x0A\x19NO_IFRAMES_NEAR_CUE_POINT\x10&\x12\x13\x0A\x0FAC3_SPLIT_ERROR\x10'\x12\x13\x0A\x0FAC3_PARSE_ERROR\x10(\x12\x14\x0A\x10EAC3_SPLIT_ERROR\x10)\x12\x1A\x0A\x16INVALID_ENCRYPTION_KEY\x10*\x12\x14\x0A\x10EAC3_PARSE_ERROR\x10+\x12,\x0A(CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT\x10,\x120\x0A,DISCONTINUITY_COUNT_DOES_NOT_MATCH_PTS_COUNT\x10-\x12!\x0A\x1DDASH_CUE_POINT_EVENT_MISMATCH\x10.\x12%\x0A!DASH_MANIFEST_CONDITIONING_FAILED\x10/\x125\x0A1DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR\x100\x12)\x0A%CLOSED_CAPTION_LANGUAGE_VALUE_INVALID\x101\x12%\x0A!CLOSED_CAPTION_NAME_VALUE_INVALID\x102\x123\x0A/CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED\x103\x12'\x0A#CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS\x104\x12*\x0A&SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST\x105\x12\x19\x0A\x15INVALID_MEDIA_PROFILE\x106\x12\x18\x0A\x14CHAPTER_PTS_MISMATCH\x107\x12\x1B\x0A\x17CHAPTER_RENDITION_ERROR\x108\x12\x1F\x0A\x1BINVALID_TRANSCODING_REQUEST\x109\x12\x14\x0A\x10TRANSCODE_FAILED\x10:\x12\x1E\x0A\x1APLAYLIST_GENERATION_FAILED\x10;\x12\x18\x0A\x14COULD_NOT_FETCH_DASH\x10<\x12\x12\x0A\x0EMALFORMED_DASH\x10=\x12#\x0A\x1FDASH_CONDITIONING_NOT_SUPPORTED\x10>B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11ContentEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelMessages.php new file mode 100644 index 000000000000..4856deb7d62f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x81\x04\x0A4google/ads/admanager/v1/content_label_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xBC\x01\x0A\x0CContentLabel\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x01:~\xEAA{\x0A%admanager.googleapis.com/ContentLabel\x125networks/{network_code}/contentLabels/{content_label}*\x0DcontentLabels2\x0CcontentLabelB\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19ContentLabelMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelService.php new file mode 100644 index 000000000000..3121f0cbc08d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentLabelService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAB\x0A\x0A3google/ads/admanager/v1/content_label_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"U\x0A\x16GetContentLabelRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%admanager.googleapis.com/ContentLabel\"\xC4\x01\x0A\x18ListContentLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x87\x01\x0A\x19ListContentLabelsResponse\x12=\x0A\x0Econtent_labels\x18\x01 \x03(\x0B2%.google.ads.admanager.v1.ContentLabel\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xE8\x03\x0A\x13ContentLabelService\x12\x9F\x01\x0A\x0FGetContentLabel\x12/.google.ads.admanager.v1.GetContentLabelRequest\x1A%.google.ads.admanager.v1.ContentLabel\"4\xDAA\x04name\x82\xD3\xE4\x93\x02'\x12%/v1/{name=networks/*/contentLabels/*}\x12\xB2\x01\x0A\x11ListContentLabels\x121.google.ads.admanager.v1.ListContentLabelsRequest\x1A2.google.ads.admanager.v1.ListContentLabelsResponse\"6\xDAA\x06parent\x82\xD3\xE4\x93\x02'\x12%/v1/{parent=networks/*}/contentLabels\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18ContentLabelServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentMessages.php new file mode 100644 index 000000000000..c63e28527d1f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xBE\x12\x0A.google/ads/admanager/v1/content_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x8E\x0B\x0A\x07Content\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12R\x0A\x06status\x18\x03 \x01(\x0E28.google.ads.admanager.v1.ContentStatusEnum.ContentStatusB\x03\xE0A\x03H\x01\x88\x01\x01\x12m\x0A\x15content_status_source\x18\x04 \x01(\x0E2D.google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSourceB\x03\xE0A\x03H\x02\x88\x01\x01\x12a\x0A\x11hls_ingest_status\x18\x05 \x01(\x0E2<.google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatusB\x03\xE0A\x03H\x03\x88\x01\x01\x12G\x0A\x11hls_ingest_errors\x18\x06 \x03(\x0B2'.google.ads.admanager.v1.DaiIngestErrorB\x03\xE0A\x03\x12B\x0A\x14last_hls_ingest_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x04\x88\x01\x01\x12b\x0A\x12dash_ingest_status\x18\x08 \x01(\x0E2<.google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatusB\x03\xE0A\x03H\x05\x88\x01\x01\x12H\x0A\x12dash_ingest_errors\x18\x09 \x03(\x0B2'.google.ads.admanager.v1.DaiIngestErrorB\x03\xE0A\x03\x12C\x0A\x15last_dash_ingest_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x06\x88\x01\x01\x129\x0A\x0Bimport_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x07\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x08\x88\x01\x01\x12=\x0A\x0Bcms_sources\x18\x0D \x03(\x0B2#.google.ads.admanager.v1.CmsContentB\x03\xE0A\x03\x12G\x0A\x0Fcontent_bundles\x18\x0E \x03(\x09B.\xE0A\x03\xFAA(\x0A&admanager.googleapis.com/ContentBundle\x12N\x0A\x13cms_metadata_values\x18\x0F \x03(\x09B1\xE0A\x03\xFAA+\x0A)admanager.googleapis.com/CmsMetadataValue\x125\x0A\x08duration\x18\x10 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x03H\x09\x88\x01\x01:b\xEAA_\x0A admanager.googleapis.com/Content\x12)networks/{network_code}/content/{content}*\x07content2\x07contentB\x0F\x0A\x0D_display_nameB\x09\x0A\x07_statusB\x18\x0A\x16_content_status_sourceB\x14\x0A\x12_hls_ingest_statusB\x17\x0A\x15_last_hls_ingest_timeB\x15\x0A\x13_dash_ingest_statusB\x18\x0A\x16_last_dash_ingest_timeB\x0E\x0A\x0C_import_timeB\x0E\x0A\x0C_update_timeB\x0B\x0A\x09_duration\"\x9F\x01\x0A\x0EDaiIngestError\x12[\x0A\x06reason\x18\x01 \x01(\x0E2F.google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReasonH\x00\x88\x01\x01\x12\x19\x0A\x07trigger\x18\x02 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01B\x09\x0A\x07_reasonB\x0A\x0A\x08_trigger\"\xEB\x01\x0A\x0ACmsContent\x12K\x0A\x0Econtent_source\x18\x01 \x01(\x09B.\xE0A\x03\xFAA(\x0A&admanager.googleapis.com/ContentSourceH\x00\x88\x01\x01\x12-\x0A\x1Bcontent_source_display_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1B\x0A\x0Ecms_content_id\x18\x03 \x01(\x09H\x02\x88\x01\x01B\x11\x0A\x0F_content_sourceB\x1E\x0A\x1C_content_source_display_nameB\x11\x0A\x0F_cms_content_idB\xCC\x02\x0A\x1Bcom.google.ads.admanager.v1B\x14ContentMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1\xEAA\x80\x01\x0A&admanager.googleapis.com/ContentSource\x127networks/{network_code}/contentSources/{content_source}*\x0EcontentSources2\x0DcontentSourceb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentService.php new file mode 100644 index 000000000000..450a19febdb1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ContentService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xCB\x09\x0A-google/ads/admanager/v1/content_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"K\x0A\x11GetContentRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Content\"\xBE\x01\x0A\x12ListContentRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"u\x0A\x13ListContentResponse\x121\x0A\x07content\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Content\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xB6\x03\x0A\x0EContentService\x12\x8A\x01\x0A\x0AGetContent\x12*.google.ads.admanager.v1.GetContentRequest\x1A .google.ads.admanager.v1.Content\".\xDAA\x04name\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{name=networks/*/content/*}\x12\x9A\x01\x0A\x0BListContent\x12+.google.ads.admanager.v1.ListContentRequest\x1A,.google.ads.admanager.v1.ListContentResponse\"0\xDAA\x06parent\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{parent=networks/*}/content\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13ContentServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeMessages.php new file mode 100644 index 000000000000..941eb084564b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF5\x03\x0A/google/ads/admanager/v1/creative_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xB9\x01\x0A\x08Creative\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01:i\xEAAf\x0A!admanager.googleapis.com/Creative\x12,networks/{network_code}/creatives/{creative}*\x09creatives2\x08creativeB\x0F\x0A\x0D_display_nameB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15CreativeMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativePlaceholder.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativePlaceholder.php new file mode 100644 index 000000000000..2f1174b5b2f5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativePlaceholder.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x8F\x07\x0A2google/ads/admanager/v1/creative_placeholder.proto\x12\x17google.ads.admanager.v1\x1A\"google/ads/admanager/v1/size.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xA8\x03\x0A\x13CreativePlaceholder\x120\x0A\x04size\x18\x01 \x01(\x0B2\x1D.google.ads.admanager.v1.SizeB\x03\xE0A\x02\x12N\x0A\x0Acompanions\x18\x0A \x03(\x0B25.google.ads.admanager.v1.CreativePlaceholderCompanionB\x03\xE0A\x01\x12,\x0A\x17expected_creative_count\x18\x03 \x01(\x05B\x06\xE0A\x01\xE0A\x07H\x00\x88\x01\x01\x12B\x0A\x0Eapplied_labels\x18\x04 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x01\x12\x1D\x0A\x08amp_only\x18\x05 \x01(\x08B\x06\xE0A\x01\xE0A\x07H\x01\x88\x01\x01\x121\x0A\x1Fcreative_targeting_display_name\x18\x06 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01B\x1A\x0A\x18_expected_creative_countB\x0B\x0A\x09_amp_onlyB\"\x0A _creative_targeting_display_name\"^\x0A\x1CCreativePlaceholderCompanion\x125\x0A\x04size\x18\x01 \x01(\x0B2\x1D.google.ads.admanager.v1.SizeB\x03\xE0A\x02H\x00\x88\x01\x01B\x07\x0A\x05_sizeB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18CreativePlaceholderProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetMessages.php new file mode 100644 index 000000000000..b52b624e4dfe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xA3\x06\x0A3google/ads/admanager/v1/creative_set_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xBF\x03\x0A\x0BCreativeSet\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12J\x0A\x0Fmaster_creative\x18\x05 \x01(\x09B,\xE0A\x02\xE0A\x05\xFAA#\x0A!admanager.googleapis.com/CreativeH\x01\x88\x01\x01\x12F\x0A\x13companion_creatives\x18\x07 \x03(\x09B)\xE0A\x02\xFAA#\x0A!admanager.googleapis.com/Creative\x129\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x02\x88\x01\x01:y\xEAAv\x0A\$admanager.googleapis.com/CreativeSet\x123networks/{network_code}/creativeSets/{creative_set}*\x0CcreativeSets2\x0BcreativeSetB\x0F\x0A\x0D_display_nameB\x12\x0A\x10_master_creativeB\x0E\x0A\x0C_update_timeB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18CreativeSetMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetService.php new file mode 100644 index 000000000000..5c259e14db4a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeSetService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xFC\x0F\x0A2google/ads/admanager/v1/creative_set_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"S\x0A\x15GetCreativeSetRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/CreativeSet\"\xC3\x01\x0A\x17ListCreativeSetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x84\x01\x0A\x18ListCreativeSetsResponse\x12;\x0A\x0Dcreative_sets\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.CreativeSet\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x95\x01\x0A\x18CreateCreativeSetRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12?\x0A\x0Ccreative_set\x18\x02 \x01(\x0B2\$.google.ads.admanager.v1.CreativeSetB\x03\xE0A\x02\"\x91\x01\x0A\x18UpdateCreativeSetRequest\x12?\x0A\x0Ccreative_set\x18\x01 \x01(\x0B2\$.google.ads.admanager.v1.CreativeSetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x012\xF3\x06\x0A\x12CreativeSetService\x12\x9B\x01\x0A\x0EGetCreativeSet\x12..google.ads.admanager.v1.GetCreativeSetRequest\x1A\$.google.ads.admanager.v1.CreativeSet\"3\xDAA\x04name\x82\xD3\xE4\x93\x02&\x12\$/v1/{name=networks/*/creativeSets/*}\x12\xAE\x01\x0A\x10ListCreativeSets\x120.google.ads.admanager.v1.ListCreativeSetsRequest\x1A1.google.ads.admanager.v1.ListCreativeSetsResponse\"5\xDAA\x06parent\x82\xD3\xE4\x93\x02&\x12\$/v1/{parent=networks/*}/creativeSets\x12\xBE\x01\x0A\x11CreateCreativeSet\x121.google.ads.admanager.v1.CreateCreativeSetRequest\x1A\$.google.ads.admanager.v1.CreativeSet\"P\xDAA\x13parent,creative_set\x82\xD3\xE4\x93\x024\"\$/v1/{parent=networks/*}/creativeSets:\x0Ccreative_set\x12\xD0\x01\x0A\x11UpdateCreativeSet\x121.google.ads.admanager.v1.UpdateCreativeSetRequest\x1A\$.google.ads.admanager.v1.CreativeSet\"b\xDAA\x18creative_set,update_mask\x82\xD3\xE4\x93\x02A21/v1/{creative_set.name=networks/*/creativeSets/*}:\x0Ccreative_set\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17CreativeSetServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTargeting.php new file mode 100644 index 000000000000..a897e5e721fb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTargeting.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xFD\x03\x0A0google/ads/admanager/v1/creative_targeting.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"\xB9\x01\x0A\x11CreativeTargeting\x121\x0A\x1Fcreative_targeting_display_name\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12?\x0A\x09targeting\x18\x02 \x01(\x0B2\".google.ads.admanager.v1.TargetingB\x03\xE0A\x02H\x01\x88\x01\x01B\"\x0A _creative_targeting_display_nameB\x0C\x0A\x0A_targetingB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16CreativeTargetingProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateEnums.php new file mode 100644 index 000000000000..ef3e52892828 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA9\x04\x0A5google/ads/admanager/v1/creative_template_enums.proto\x12\x17google.ads.admanager.v1\"t\x0A\x18CreativeTemplateTypeEnum\"X\x0A\x14CreativeTemplateType\x12&\x0A\"CREATIVE_TEMPLATE_TYPE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0A\x0A\x06CUSTOM\x10\x02\"\x87\x01\x0A\x1ACreativeTemplateStatusEnum\"i\x0A\x16CreativeTemplateStatus\x12(\x0A\$CREATIVE_TEMPLATE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0B\x0A\x07DELETED\x10\x02\x12\x0C\x0A\x08INACTIVE\x10\x03B\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ACreativeTemplateEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateMessages.php new file mode 100644 index 000000000000..4821f5da6f32 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xAD\x19\x0A8google/ads/admanager/v1/creative_template_messages.proto\x12\x17google.ads.admanager.v1\x1AFgoogle/ads/admanager/v1/creative_template_variable_url_type_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xD5\x06\x0A\x10CreativeTemplate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07snippet\x18\x04 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x12d\x0A\x06status\x18\x06 \x01(\x0E2J.google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatusB\x03\xE0A\x03H\x03\x88\x01\x01\x12^\x0A\x04type\x18\x07 \x01(\x0E2F.google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateTypeB\x03\xE0A\x01H\x04\x88\x01\x01\x12\x1E\x0A\x0Cinterstitial\x18\x08 \x01(\x08B\x03\xE0A\x01H\x05\x88\x01\x01\x12!\x0A\x0Fnative_eligible\x18\x09 \x01(\x08B\x03\xE0A\x01H\x06\x88\x01\x01\x12'\x0A\x15native_video_eligible\x18\x0A \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01\x12'\x0A\x15safe_frame_compatible\x18\x0C \x01(\x08B\x03\xE0A\x01H\x08\x88\x01\x01\x12I\x0A\x09variables\x18\x0E \x03(\x0B21.google.ads.admanager.v1.CreativeTemplateVariableB\x03\xE0A\x02:\x93\x01\xEAA\x8F\x01\x0A)admanager.googleapis.com/CreativeTemplate\x12=networks/{network_code}/creativeTemplates/{creative_template}*\x11creativeTemplates2\x10creativeTemplateB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x0A\x0A\x08_snippetB\x09\x0A\x07_statusB\x07\x0A\x05_typeB\x0F\x0A\x0D_interstitialB\x12\x0A\x10_native_eligibleB\x18\x0A\x16_native_video_eligibleB\x18\x0A\x16_safe_frame_compatible\"\x9F\x0F\x0A\x18CreativeTemplateVariable\x12n\x0A\x0Easset_variable\x18\x05 \x01(\x0B2O.google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariableB\x03\xE0A\x01H\x00\x12y\x0A\x14list_string_variable\x18\x07 \x01(\x0B2T.google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariableB\x03\xE0A\x01H\x00\x12l\x0A\x0Dlong_variable\x18\x08 \x01(\x0B2N.google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariableB\x03\xE0A\x01H\x00\x12p\x0A\x0Fstring_variable\x18\x09 \x01(\x0B2P.google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariableB\x03\xE0A\x01H\x00\x12j\x0A\x0Curl_variable\x18\x0A \x01(\x0B2M.google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariableB\x03\xE0A\x01H\x00\x12\x17\x0A\x05label\x18\x01 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12%\x0A\x13unique_display_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01\x12\x1A\x0A\x08required\x18\x04 \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x1A\xD4\x01\x0A\x1DAssetCreativeTemplateVariable\x12q\x0A\x0Amime_types\x18\x01 \x03(\x0E2X.google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeTypeB\x03\xE0A\x01\"@\x0A\x08MimeType\x12\x19\x0A\x15MIME_TYPE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03JPG\x10\x01\x12\x07\x0A\x03PNG\x10\x02\x12\x07\x0A\x03GIF\x10\x03\x1A\x98\x03\x0A\"ListStringCreativeTemplateVariable\x12\x1F\x0A\x0Ddefault_value\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Csample_value\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12y\x0A\x07choices\x18\x03 \x03(\x0B2c.google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoiceB\x03\xE0A\x01\x12\$\x0A\x12allow_other_choice\x18\x04 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x1AV\x0A\x0EVariableChoice\x12\x17\x0A\x05label\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x17\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x08\x0A\x06_labelB\x08\x0A\x06_valueB\x10\x0A\x0E_default_valueB\x0F\x0A\x0D_sample_valueB\x15\x0A\x13_allow_other_choice\x1A\x82\x01\x0A\x1CLongCreativeTemplateVariable\x12\x1F\x0A\x0Ddefault_value\x18\x01 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Csample_value\x18\x02 \x01(\x03B\x03\xE0A\x01H\x01\x88\x01\x01B\x10\x0A\x0E_default_valueB\x0F\x0A\x0D_sample_value\x1A\x84\x01\x0A\x1EStringCreativeTemplateVariable\x12\x1F\x0A\x0Ddefault_value\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Csample_value\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01B\x10\x0A\x0E_default_valueB\x0F\x0A\x0D_sample_value\x1A\x88\x02\x0A\x1BUrlCreativeTemplateVariable\x12\x1F\x0A\x0Ddefault_value\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Csample_value\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12x\x0A\x08url_type\x18\x04 \x01(\x0E2\\.google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlTypeB\x03\xE0A\x01H\x02\x88\x01\x01B\x10\x0A\x0E_default_valueB\x0F\x0A\x0D_sample_valueB\x0B\x0A\x09_url_typeB\x09\x0A\x07SubTypeB\x08\x0A\x06_labelB\x16\x0A\x14_unique_display_nameB\x0E\x0A\x0C_descriptionB\x0B\x0A\x09_requiredB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DCreativeTemplateMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateService.php new file mode 100644 index 000000000000..80391ebc75a4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xEF\x0A\x0A7google/ads/admanager/v1/creative_template_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"]\x0A\x1AGetCreativeTemplateRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/CreativeTemplate\"\xC8\x01\x0A\x1CListCreativeTemplatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x93\x01\x0A\x1DListCreativeTemplatesResponse\x12E\x0A\x12creative_templates\x18\x01 \x03(\x0B2).google.ads.admanager.v1.CreativeTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x8C\x04\x0A\x17CreativeTemplateService\x12\xAF\x01\x0A\x13GetCreativeTemplate\x123.google.ads.admanager.v1.GetCreativeTemplateRequest\x1A).google.ads.admanager.v1.CreativeTemplate\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+\x12)/v1/{name=networks/*/creativeTemplates/*}\x12\xC2\x01\x0A\x15ListCreativeTemplates\x125.google.ads.admanager.v1.ListCreativeTemplatesRequest\x1A6.google.ads.admanager.v1.ListCreativeTemplatesResponse\":\xDAA\x06parent\x82\xD3\xE4\x93\x02+\x12)/v1/{parent=networks/*}/creativeTemplates\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CCreativeTemplateServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateVariableUrlTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateVariableUrlTypeEnum.php new file mode 100644 index 000000000000..e4f9e552aa41 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CreativeTemplateVariableUrlTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x95\x04\x0AFgoogle/ads/admanager/v1/creative_template_variable_url_type_enum.proto\x12\x17google.ads.admanager.v1\"\xCA\x01\x0A#CreativeTemplateVariableUrlTypeEnum\"\xA2\x01\x0A\x1FCreativeTemplateVariableUrlType\x123\x0A/CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DCLICK_TRACKER\x10\x01\x12\x0C\x0A\x08DEEPLINK\x10\x02\x12\x16\x0A\x12IMPRESSION_TRACKER\x10\x03\x12\x11\x0A\x0DSTANDARD_HTTP\x10\x04B\xDC\x01\x0A\x1Bcom.google.ads.admanager.v1B(CreativeTemplateVariableUrlTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldEnums.php new file mode 100644 index 000000000000..6fe609fc4122 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xD3\x06\x0A0google/ads/admanager/v1/custom_field_enums.proto\x12\x17google.ads.admanager.v1\"\x8B\x01\x0A\x17CustomFieldDataTypeEnum\"p\x0A\x13CustomFieldDataType\x12&\x0A\"CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06STRING\x10\x01\x12\x0A\x0A\x06NUMBER\x10\x02\x12\x0A\x0A\x06TOGGLE\x10\x03\x12\x0D\x0A\x09DROP_DOWN\x10\x04\"\xAD\x01\x0A\x19CustomFieldEntityTypeEnum\"\x8F\x01\x0A\x15CustomFieldEntityType\x12(\x0A\$CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09LINE_ITEM\x10\x01\x12\x09\x0A\x05ORDER\x10\x02\x12\x0C\x0A\x08CREATIVE\x10\x03\x12\x0C\x0A\x08PROPOSAL\x10\x04\x12\x16\x0A\x12PROPOSAL_LINE_ITEM\x10\x05\"k\x0A\x15CustomFieldStatusEnum\"R\x0A\x11CustomFieldStatus\x12#\x0A\x1FCUSTOM_FIELD_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\"\x86\x01\x0A\x19CustomFieldVisibilityEnum\"i\x0A\x15CustomFieldVisibility\x12'\x0A#CUSTOM_FIELD_VISIBILITY_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06HIDDEN\x10\x01\x12\x0D\x0A\x09READ_ONLY\x10\x02\x12\x0C\x0A\x08EDITABLE\x10\x03B\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15CustomFieldEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldMessages.php new file mode 100644 index 000000000000..f98665587eb9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xFA\x09\x0A3google/ads/admanager/v1/custom_field_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xBE\x06\x0A\x0BCustomField\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12#\x0A\x0Fcustom_field_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12Z\x0A\x06status\x18\x05 \x01(\x0E2@.google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatusB\x03\xE0A\x03H\x03\x88\x01\x01\x12g\x0A\x0Bentity_type\x18\x07 \x01(\x0E2H.google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityTypeB\x03\xE0A\x02H\x04\x88\x01\x01\x12a\x0A\x09data_type\x18\x08 \x01(\x0E2D.google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataTypeB\x03\xE0A\x02H\x05\x88\x01\x01\x12f\x0A\x0Avisibility\x18\x09 \x01(\x0E2H.google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibilityB\x03\xE0A\x02H\x06\x88\x01\x01\x12@\x0A\x07options\x18\x0A \x03(\x0B2*.google.ads.admanager.v1.CustomFieldOptionB\x03\xE0A\x01:y\xEAAv\x0A\$admanager.googleapis.com/CustomField\x123networks/{network_code}/customFields/{custom_field}*\x0CcustomFields2\x0BcustomFieldB\x12\x0A\x10_custom_field_idB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x09\x0A\x07_statusB\x0E\x0A\x0C_entity_typeB\x0C\x0A\x0A_data_typeB\x0D\x0A\x0B_visibility\"V\x0A\x11CustomFieldOption\x12&\x0A\x16custom_field_option_id\x18\x01 \x01(\x03B\x06\xE0A\x01\xE0A\x07\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18CustomFieldMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldService.php new file mode 100644 index 000000000000..281868038105 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9A\x1E\x0A2google/ads/admanager/v1/custom_field_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"S\x0A\x15GetCustomFieldRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/CustomField\"\xC3\x01\x0A\x17ListCustomFieldsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x84\x01\x0A\x18ListCustomFieldsResponse\x12;\x0A\x0Dcustom_fields\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.CustomField\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x95\x01\x0A\x18CreateCustomFieldRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12?\x0A\x0Ccustom_field\x18\x02 \x01(\x0B2\$.google.ads.admanager.v1.CustomFieldB\x03\xE0A\x02\"\xA4\x01\x0A\x1EBatchCreateCustomFieldsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12H\x0A\x08requests\x18\x02 \x03(\x0B21.google.ads.admanager.v1.CreateCustomFieldRequestB\x03\xE0A\x02\"^\x0A\x1FBatchCreateCustomFieldsResponse\x12;\x0A\x0Dcustom_fields\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.CustomField\"\x91\x01\x0A\x18UpdateCustomFieldRequest\x12?\x0A\x0Ccustom_field\x18\x01 \x01(\x0B2\$.google.ads.admanager.v1.CustomFieldB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xA4\x01\x0A\x1EBatchUpdateCustomFieldsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12H\x0A\x08requests\x18\x02 \x03(\x0B21.google.ads.admanager.v1.UpdateCustomFieldRequestB\x03\xE0A\x02\"^\x0A\x1FBatchUpdateCustomFieldsResponse\x12;\x0A\x0Dcustom_fields\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.CustomField\"\x99\x01\x0A BatchActivateCustomFieldsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12;\x0A\x05names\x18\x03 \x03(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/CustomField\"#\x0A!BatchActivateCustomFieldsResponse\"\x9B\x01\x0A\"BatchDeactivateCustomFieldsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12;\x0A\x05names\x18\x03 \x03(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/CustomField\"%\x0A#BatchDeactivateCustomFieldsResponse2\xFD\x0D\x0A\x12CustomFieldService\x12\x9B\x01\x0A\x0EGetCustomField\x12..google.ads.admanager.v1.GetCustomFieldRequest\x1A\$.google.ads.admanager.v1.CustomField\"3\xDAA\x04name\x82\xD3\xE4\x93\x02&\x12\$/v1/{name=networks/*/customFields/*}\x12\xAE\x01\x0A\x10ListCustomFields\x120.google.ads.admanager.v1.ListCustomFieldsRequest\x1A1.google.ads.admanager.v1.ListCustomFieldsResponse\"5\xDAA\x06parent\x82\xD3\xE4\x93\x02&\x12\$/v1/{parent=networks/*}/customFields\x12\xBE\x01\x0A\x11CreateCustomField\x121.google.ads.admanager.v1.CreateCustomFieldRequest\x1A\$.google.ads.admanager.v1.CustomField\"P\xDAA\x13parent,custom_field\x82\xD3\xE4\x93\x024\"\$/v1/{parent=networks/*}/customFields:\x0Ccustom_field\x12\xDB\x01\x0A\x17BatchCreateCustomFields\x127.google.ads.admanager.v1.BatchCreateCustomFieldsRequest\x1A8.google.ads.admanager.v1.BatchCreateCustomFieldsResponse\"M\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/customFields:batchCreate:\x01*\x12\xD0\x01\x0A\x11UpdateCustomField\x121.google.ads.admanager.v1.UpdateCustomFieldRequest\x1A\$.google.ads.admanager.v1.CustomField\"b\xDAA\x18custom_field,update_mask\x82\xD3\xE4\x93\x02A21/v1/{custom_field.name=networks/*/customFields/*}:\x0Ccustom_field\x12\xDB\x01\x0A\x17BatchUpdateCustomFields\x127.google.ads.admanager.v1.BatchUpdateCustomFieldsRequest\x1A8.google.ads.admanager.v1.BatchUpdateCustomFieldsResponse\"M\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/customFields:batchUpdate:\x01*\x12\xE0\x01\x0A\x19BatchActivateCustomFields\x129.google.ads.admanager.v1.BatchActivateCustomFieldsRequest\x1A:.google.ads.admanager.v1.BatchActivateCustomFieldsResponse\"L\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x027\"2/v1/{parent=networks/*}/customFields:batchActivate:\x01*\x12\xE8\x01\x0A\x1BBatchDeactivateCustomFields\x12;.google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest\x1A<.google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse\"N\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/customFields:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17CustomFieldServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldValue.php new file mode 100644 index 000000000000..d8a338a32950 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomFieldValue.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xDB\x04\x0A0google/ads/admanager/v1/custom_field_value.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\x9E\x02\x0A\x10CustomFieldValue\x12B\x0A\x0Ccustom_field\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$admanager.googleapis.com/CustomField\x12H\x0A\x05value\x18\x02 \x01(\x0B2/.google.ads.admanager.v1.CustomFieldValue.ValueB\x03\xE0A\x02H\x00\x88\x01\x01\x1Ar\x0A\x05Value\x12\x18\x0A\x0Edropdown_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cstring_value\x18\x02 \x01(\x09H\x00\x12\x16\x0A\x0Cnumber_value\x18\x03 \x01(\x01H\x00\x12\x16\x0A\x0Ctoggle_value\x18\x04 \x01(\x08H\x00B\x07\x0A\x05valueB\x08\x0A\x06_valueB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15CustomFieldValueProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingCurve.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingCurve.php new file mode 100644 index 000000000000..8aea04bfb426 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingCurve.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xA4\x06\x0A1google/ads/admanager/v1/custom_pacing_curve.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xEF\x01\x0A\x11CustomPacingCurve\x12q\x0A\x17custom_pacing_goal_unit\x18\x01 \x01(\x0E2F.google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnitB\x03\xE0A\x02H\x00\x88\x01\x01\x12K\x0A\x13custom_pacing_goals\x18\x02 \x03(\x0B2).google.ads.admanager.v1.CustomPacingGoalB\x03\xE0A\x02B\x1A\x0A\x18_custom_pacing_goal_unit\"\xCC\x01\x0A\x10CustomPacingGoal\x128\x0A\x0Astart_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x00\x88\x01\x01\x12-\x0A\x18use_line_item_start_time\x18\x02 \x01(\x08B\x06\xE0A\x01\xE0A\x04H\x01\x88\x01\x01\x12\x18\x0A\x06amount\x18\x03 \x01(\x03B\x03\xE0A\x01H\x02\x88\x01\x01B\x0D\x0A\x0B_start_timeB\x1B\x0A\x19_use_line_item_start_timeB\x09\x0A\x07_amountB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16CustomPacingCurveProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingGoalUnitEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingGoalUnitEnum.php new file mode 100644 index 000000000000..7fa7c67ca2e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomPacingGoalUnitEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xAF\x03\x0A:google/ads/admanager/v1/custom_pacing_goal_unit_enum.proto\x12\x17google.ads.admanager.v1\"|\x0A\x18CustomPacingGoalUnitEnum\"`\x0A\x14CustomPacingGoalUnit\x12'\x0A#CUSTOM_PACING_GOAL_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08ABSOLUTE\x10\x01\x12\x11\x0A\x0DMILLI_PERCENT\x10\x02B\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DCustomPacingGoalUnitEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyEnums.php new file mode 100644 index 000000000000..e2a834bf1fa9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDD\x05\x0A8google/ads/admanager/v1/custom_targeting_key_enums.proto\x12\x17google.ads.admanager.v1\"\x81\x01\x0A\x1CCustomTargetingKeyStatusEnum\"a\x0A\x18CustomTargetingKeyStatus\x12+\x0A'CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\"\x7F\x0A\x1ACustomTargetingKeyTypeEnum\"a\x0A\x16CustomTargetingKeyType\x12)\x0A%CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0APREDEFINED\x10\x01\x12\x0C\x0A\x08FREEFORM\x10\x02\"\xA7\x01\x0A\$CustomTargetingKeyReportableTypeEnum\"\x7F\x0A CustomTargetingKeyReportableType\x124\x0A0CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03OFF\x10\x01\x12\x06\x0A\x02ON\x10\x02\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x03B\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CCustomTargetingKeyEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyMessages.php new file mode 100644 index 000000000000..7b50e335d7ad --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xDE\x08\x0A;google/ads/admanager/v1/custom_targeting_key_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xEB\x05\x0A\x12CustomTargetingKey\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12+\x0A\x17custom_targeting_key_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1D\x0A\x0Bad_tag_name\x18\x03 \x01(\x09B\x03\xE0A\x05H\x01\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12b\x0A\x04type\x18\x05 \x01(\x0E2J.google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyTypeB\x03\xE0A\x02H\x03\x88\x01\x01\x12h\x0A\x06status\x18\x06 \x01(\x0E2N.google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatusB\x03\xE0A\x03H\x04\x88\x01\x01\x12\x81\x01\x0A\x0Freportable_type\x18\x07 \x01(\x0E2^.google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableTypeB\x03\xE0A\x02H\x05\x88\x01\x01:\x9E\x01\xEAA\x9A\x01\x0A+admanager.googleapis.com/CustomTargetingKey\x12Bnetworks/{network_code}/customTargetingKeys/{custom_targeting_key}*\x13customTargetingKeys2\x12customTargetingKeyB\x1A\x0A\x18_custom_targeting_key_idB\x0E\x0A\x0C_ad_tag_nameB\x0F\x0A\x0D_display_nameB\x07\x0A\x05_typeB\x09\x0A\x07_statusB\x12\x0A\x10_reportable_typeB\xD3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1FCustomTargetingKeyMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyService.php new file mode 100644 index 000000000000..8b14677442a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingKeyService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x82\"\x0A:google/ads/admanager/v1/custom_targeting_key_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"a\x0A\x1CGetCustomTargetingKeyRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+admanager.googleapis.com/CustomTargetingKey\"\xCA\x01\x0A\x1EListCustomTargetingKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x9A\x01\x0A\x1FListCustomTargetingKeysResponse\x12J\x0A\x15custom_targeting_keys\x18\x01 \x03(\x0B2+.google.ads.admanager.v1.CustomTargetingKey\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\xAB\x01\x0A\x1FCreateCustomTargetingKeyRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12N\x0A\x14custom_targeting_key\x18\x02 \x01(\x0B2+.google.ads.admanager.v1.CustomTargetingKeyB\x03\xE0A\x02\"\xB2\x01\x0A%BatchCreateCustomTargetingKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12O\x0A\x08requests\x18\x02 \x03(\x0B28.google.ads.admanager.v1.CreateCustomTargetingKeyRequestB\x03\xE0A\x02\"t\x0A&BatchCreateCustomTargetingKeysResponse\x12J\x0A\x15custom_targeting_keys\x18\x01 \x03(\x0B2+.google.ads.admanager.v1.CustomTargetingKey\"\xA7\x01\x0A\x1FUpdateCustomTargetingKeyRequest\x12N\x0A\x14custom_targeting_key\x18\x01 \x01(\x0B2+.google.ads.admanager.v1.CustomTargetingKeyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xB2\x01\x0A%BatchUpdateCustomTargetingKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12O\x0A\x08requests\x18\x02 \x03(\x0B28.google.ads.admanager.v1.UpdateCustomTargetingKeyRequestB\x03\xE0A\x02\"t\x0A&BatchUpdateCustomTargetingKeysResponse\x12J\x0A\x15custom_targeting_keys\x18\x01 \x03(\x0B2+.google.ads.admanager.v1.CustomTargetingKey\"\xA7\x01\x0A'BatchActivateCustomTargetingKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+admanager.googleapis.com/CustomTargetingKey\"*\x0A(BatchActivateCustomTargetingKeysResponse\"\xA9\x01\x0A)BatchDeactivateCustomTargetingKeysRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+admanager.googleapis.com/CustomTargetingKey\",\x0A*BatchDeactivateCustomTargetingKeysResponse2\x8D\x10\x0A\x19CustomTargetingKeyService\x12\xB7\x01\x0A\x15GetCustomTargetingKey\x125.google.ads.admanager.v1.GetCustomTargetingKeyRequest\x1A+.google.ads.admanager.v1.CustomTargetingKey\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=networks/*/customTargetingKeys/*}\x12\xCA\x01\x0A\x17ListCustomTargetingKeys\x127.google.ads.admanager.v1.ListCustomTargetingKeysRequest\x1A8.google.ads.admanager.v1.ListCustomTargetingKeysResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=networks/*}/customTargetingKeys\x12\xEA\x01\x0A\x18CreateCustomTargetingKey\x128.google.ads.admanager.v1.CreateCustomTargetingKeyRequest\x1A+.google.ads.admanager.v1.CustomTargetingKey\"g\xDAA\x1Bparent,custom_targeting_key\x82\xD3\xE4\x93\x02C\"+/v1/{parent=networks/*}/customTargetingKeys:\x14custom_targeting_key\x12\xF7\x01\x0A\x1EBatchCreateCustomTargetingKeys\x12>.google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest\x1A?.google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse\"T\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02<\"7/v1/{parent=networks/*}/customTargetingKeys:batchCreate:\x01*\x12\x85\x02\x0A\x18UpdateCustomTargetingKey\x128.google.ads.admanager.v1.UpdateCustomTargetingKeyRequest\x1A+.google.ads.admanager.v1.CustomTargetingKey\"\x81\x01\xDAA custom_targeting_key,update_mask\x82\xD3\xE4\x93\x02X2@/v1/{custom_targeting_key.name=networks/*/customTargetingKeys/*}:\x14custom_targeting_key\x12\xF7\x01\x0A\x1EBatchUpdateCustomTargetingKeys\x12>.google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest\x1A?.google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse\"T\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02<\"7/v1/{parent=networks/*}/customTargetingKeys:batchUpdate:\x01*\x12\xFC\x01\x0A BatchActivateCustomTargetingKeys\x12@.google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest\x1AA.google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse\"S\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/customTargetingKeys:batchActivate:\x01*\x12\x84\x02\x0A\"BatchDeactivateCustomTargetingKeys\x12B.google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest\x1AC.google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse\"U\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02@\";/v1/{parent=networks/*}/customTargetingKeys:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ECustomTargetingKeyServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueEnums.php new file mode 100644 index 000000000000..e2dc5c4c6362 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x85\x05\x0A:google/ads/admanager/v1/custom_targeting_value_enums.proto\x12\x17google.ads.admanager.v1\"\x87\x01\x0A\x1ECustomTargetingValueStatusEnum\"e\x0A\x1ACustomTargetingValueStatus\x12-\x0A)CUSTOM_TARGETING_VALUE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\"\xC6\x01\x0A!CustomTargetingValueMatchTypeEnum\"\xA0\x01\x0A\x1DCustomTargetingValueMatchType\x121\x0A-CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x09\x0A\x05BROAD\x10\x02\x12\x0A\x0A\x06PREFIX\x10\x03\x12\x10\x0A\x0CBROAD_PREFIX\x10\x04\x12\x0A\x0A\x06SUFFIX\x10\x05\x12\x0C\x0A\x08CONTAINS\x10\x06B\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ECustomTargetingValueEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueMessages.php new file mode 100644 index 000000000000..76b6457c5de9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xA2\x08\x0A=google/ads/admanager/v1/custom_targeting_value_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xAB\x05\x0A\x14CustomTargetingValue\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12Y\x0A\x14custom_targeting_key\x18\x08 \x01(\x09B6\xE0A\x02\xE0A\x05\xFAA-\x0A+admanager.googleapis.com/CustomTargetingKeyH\x00\x88\x01\x01\x12\x1D\x0A\x0Bad_tag_name\x18\x04 \x01(\x09B\x03\xE0A\x05H\x01\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12y\x0A\x0Amatch_type\x18\x06 \x01(\x0E2X.google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchTypeB\x06\xE0A\x05\xE0A\x02H\x03\x88\x01\x01\x12l\x0A\x06status\x18\x07 \x01(\x0E2R.google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatusB\x03\xE0A\x03H\x04\x88\x01\x01:\xA8\x01\xEAA\xA4\x01\x0A-admanager.googleapis.com/CustomTargetingValue\x12Fnetworks/{network_code}/customTargetingValues/{custom_targeting_value}*\x15customTargetingValues2\x14customTargetingValueB\x17\x0A\x15_custom_targeting_keyB\x0E\x0A\x0C_ad_tag_nameB\x0F\x0A\x0D_display_nameB\x0D\x0A\x0B_match_typeB\x09\x0A\x07_statusB\xD5\x01\x0A\x1Bcom.google.ads.admanager.v1B!CustomTargetingValueMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueService.php new file mode 100644 index 000000000000..431f2cfd0fa1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/CustomTargetingValueService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9A&\x0A.google.ads.admanager.v1.DeactivateCustomTargetingValueRequestB\x03\xE0A\x02\".\x0A,BatchDeactivateCustomTargetingValuesResponse2\xEF\x11\x0A\x1BCustomTargetingValueService\x12\x87\x02\x0A\x17GetCustomTargetingValue\x127.google.ads.admanager.v1.GetCustomTargetingValueRequest\x1A-.google.ads.admanager.v1.CustomTargetingValue\"\x83\x01\xDAA\x04name\x82\xD3\xE4\x93\x02v\x12-/v1/{name=networks/*/customTargetingValues/*}ZE\x12C/v1/{name=networks/*/customTargetingKeys/*/customTargetingValues/*}\x12\x9A\x02\x0A\x19ListCustomTargetingValues\x129.google.ads.admanager.v1.ListCustomTargetingValuesRequest\x1A:.google.ads.admanager.v1.ListCustomTargetingValuesResponse\"\x85\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02v\x12-/v1/{parent=networks/*}/customTargetingValuesZE\x12C/v1/{parent=networks/*/customTargetingKeys/*}/customTargetingValues\x12\xF6\x01\x0A\x1ACreateCustomTargetingValue\x12:.google.ads.admanager.v1.CreateCustomTargetingValueRequest\x1A-.google.ads.admanager.v1.CustomTargetingValue\"m\xDAA\x1Dparent,custom_targeting_value\x82\xD3\xE4\x93\x02G\"-/v1/{parent=networks/*}/customTargetingValues:\x16custom_targeting_value\x12\xFF\x01\x0A BatchCreateCustomTargetingValues\x12@.google.ads.admanager.v1.BatchCreateCustomTargetingValuesRequest\x1AA.google.ads.admanager.v1.BatchCreateCustomTargetingValuesResponse\"V\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/customTargetingValues:batchCreate:\x01*\x12\x93\x02\x0A\x1AUpdateCustomTargetingValue\x12:.google.ads.admanager.v1.UpdateCustomTargetingValueRequest\x1A-.google.ads.admanager.v1.CustomTargetingValue\"\x89\x01\xDAA\"custom_targeting_value,update_mask\x82\xD3\xE4\x93\x02^2D/v1/{custom_targeting_value.name=networks/*/customTargetingValues/*}:\x16custom_targeting_value\x12\xFF\x01\x0A BatchUpdateCustomTargetingValues\x12@.google.ads.admanager.v1.BatchUpdateCustomTargetingValuesRequest\x1AA.google.ads.admanager.v1.BatchUpdateCustomTargetingValuesResponse\"V\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/customTargetingValues:batchUpdate:\x01*\x12\x87\x02\x0A\"BatchActivateCustomTargetingValues\x12B.google.ads.admanager.v1.BatchActivateCustomTargetingValuesRequest\x1AC.google.ads.admanager.v1.BatchActivateCustomTargetingValuesResponse\"X\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02@\";/v1/{parent=networks/*}/customTargetingValues:batchActivate:\x01*\x12\x8F\x02\x0A\$BatchDeactivateCustomTargetingValues\x12D.google.ads.admanager.v1.BatchDeactivateCustomTargetingValuesRequest\x1AE.google.ads.admanager.v1.BatchDeactivateCustomTargetingValuesResponse\"Z\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02B\"=/v1/{parent=networks/*}/customTargetingValues:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B CustomTargetingValueServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealBuyerPermissionTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealBuyerPermissionTypeEnum.php new file mode 100644 index 000000000000..8b338a3f84a0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealBuyerPermissionTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBF\x03\x0A=google/ads/admanager/v1/deal_buyer_permission_type_enum.proto\x12\x17google.ads.admanager.v1\"\x85\x01\x0A\x1BDealBuyerPermissionTypeEnum\"f\x0A\x17DealBuyerPermissionType\x12*\x0A&DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FNEGOTIATOR_ONLY\x10\x01\x12\x0A\x0A\x06BIDDER\x10\x02B\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B DealBuyerPermissionTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealPriorityTierEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealPriorityTierEnum.php new file mode 100644 index 000000000000..733b5ac075ba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DealPriorityTierEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xED\x03\x0A5google/ads/admanager/v1/deal_priority_tier_enum.proto\x12\x17google.ads.admanager.v1\"\xC2\x01\x0A\x14DealPriorityTierEnum\"\xA9\x01\x0A\x10DealPriorityTier\x12\"\x0A\x1EDEAL_PRIORITY_TIER_UNSPECIFIED\x10\x00\x12\x09\x0A\x05TIER1\x10\x01\x12\x09\x0A\x05TIER2\x10\x02\x12\x09\x0A\x05TIER3\x10\x03\x12\x09\x0A\x05TIER4\x10\x04\x12\x09\x0A\x05TIER5\x10\x05\x12\x09\x0A\x05TIER6\x10\x06\x12\x09\x0A\x05TIER7\x10\x07\x12\x09\x0A\x05TIER8\x10\x08\x12\x09\x0A\x05TIER9\x10\x09\x12\x0E\x0A\x09OPTIMIZED\x10\xE8\x07B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19DealPriorityTierEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryEnums.php new file mode 100644 index 000000000000..77575a30fb70 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x8C\x07\x0A,google/ads/admanager/v1/delivery_enums.proto\x12\x17google.ads.admanager.v1\"\x9E\x01\x0A\x1CLineItemDeliveryRateTypeEnum\"~\x0A\x18LineItemDeliveryRateType\x12,\x0A(LINE_ITEM_DELIVERY_RATE_TYPE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13AS_FAST_AS_POSSIBLE\x10\x03\x12\x0A\x0A\x06EVENLY\x10\x01\x12\x0F\x0A\x0BFRONTLOADED\x10\x02\"\xAB\x01\x0A\x14RoadblockingTypeEnum\"\x92\x01\x0A\x10RoadblockingType\x12!\x0A\x1DROADBLOCKING_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DALL_ROADBLOCK\x10\x01\x12\x17\x0A\x13AS_MANY_AS_POSSIBLE\x10\x02\x12\x10\x0A\x0CCREATIVE_SET\x10\x03\x12\x0F\x0A\x0BONE_OR_MORE\x10\x04\x12\x0C\x0A\x08ONLY_ONE\x10\x05\"\x8C\x01\x0A\x1BCompanionDeliveryOptionEnum\"m\x0A\x17CompanionDeliveryOption\x12)\x0A%COMPANION_DELIVERY_OPTION_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08OPTIONAL\x10\x01\x12\x10\x0A\x0CAT_LEAST_ONE\x10\x02\x12\x07\x0A\x03ALL\x10\x03\"\x93\x01\x0A\x18CreativeRotationTypeEnum\"w\x0A\x14CreativeRotationType\x12&\x0A\"CREATIVE_ROTATION_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06EVENLY\x10\x01\x12\x0D\x0A\x09OPTIMIZED\x10\x02\x12\x0E\x0A\x0ASEQUENTIAL\x10\x04\x12\x0C\x0A\x08WEIGHTED\x10\x03B\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12DeliveryEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryIndicator.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryIndicator.php new file mode 100644 index 000000000000..237e76a171e9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeliveryIndicator.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xD4\x03\x0A0google/ads/admanager/v1/delivery_indicator.proto\x12\x17google.ads.admanager.v1\"\xB1\x01\x0A\x11DeliveryIndicator\x12.\x0A\x1Cexpected_delivery_percentage\x18\x01 \x01(\x01B\x03\xE0A\x03H\x00\x88\x01\x01\x12,\x0A\x1Aactual_delivery_percentage\x18\x02 \x01(\x01B\x03\xE0A\x03H\x01\x88\x01\x01B\x1F\x0A\x1D_expected_delivery_percentageB\x1D\x0A\x1B_actual_delivery_percentageB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16DeliveryIndicatorProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityMessages.php new file mode 100644 index 000000000000..3de9a46e5a83 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xBB\x04\x0A8google/ads/admanager/v1/device_capability_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xEE\x01\x0A\x10DeviceCapability\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\x95\x01\xEAA\x91\x01\x0A)admanager.googleapis.com/DeviceCapability\x12>networks/{network_code}/deviceCapabilities/{device_capability}*\x12deviceCapabilities2\x10deviceCapabilityB\x0F\x0A\x0D_display_nameB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DDeviceCapabilityMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityService.php new file mode 100644 index 000000000000..589526039a94 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCapabilityService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xF7\x0A\x0A7google/ads/admanager/v1/device_capability_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"]\x0A\x1AGetDeviceCapabilityRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/DeviceCapability\"\xC9\x01\x0A\x1DListDeviceCapabilitiesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x95\x01\x0A\x1EListDeviceCapabilitiesResponse\x12F\x0A\x13device_capabilities\x18\x01 \x03(\x0B2).google.ads.admanager.v1.DeviceCapability\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x91\x04\x0A\x17DeviceCapabilityService\x12\xB0\x01\x0A\x13GetDeviceCapability\x123.google.ads.admanager.v1.GetDeviceCapabilityRequest\x1A).google.ads.admanager.v1.DeviceCapability\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1/{name=networks/*/deviceCapabilities/*}\x12\xC6\x01\x0A\x16ListDeviceCapabilities\x126.google.ads.admanager.v1.ListDeviceCapabilitiesRequest\x1A7.google.ads.admanager.v1.ListDeviceCapabilitiesResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1/{parent=networks/*}/deviceCapabilities\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CDeviceCapabilityServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryMessages.php new file mode 100644 index 000000000000..419d7ca4f4dd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xAB\x04\x0A6google/ads/admanager/v1/device_category_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE2\x01\x0A\x0EDeviceCategory\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\x8B\x01\xEAA\x87\x01\x0A'admanager.googleapis.com/DeviceCategory\x12:networks/{network_code}/deviceCategories/{device_category}*\x10deviceCategories2\x0EdeviceCategoryB\x0F\x0A\x0D_display_nameB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BDeviceCategoryMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryService.php new file mode 100644 index 000000000000..24f5a2d65f76 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceCategoryService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xD5\x0A\x0A5google/ads/admanager/v1/device_category_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"Y\x0A\x18GetDeviceCategoryRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/DeviceCategory\"\xC7\x01\x0A\x1BListDeviceCategoriesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8F\x01\x0A\x1CListDeviceCategoriesResponse\x12B\x0A\x11device_categories\x18\x01 \x03(\x0B2'.google.ads.admanager.v1.DeviceCategory\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xFF\x03\x0A\x15DeviceCategoryService\x12\xA8\x01\x0A\x11GetDeviceCategory\x121.google.ads.admanager.v1.GetDeviceCategoryRequest\x1A'.google.ads.admanager.v1.DeviceCategory\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/deviceCategories/*}\x12\xBE\x01\x0A\x14ListDeviceCategories\x124.google.ads.admanager.v1.ListDeviceCategoriesRequest\x1A5.google.ads.admanager.v1.ListDeviceCategoriesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/deviceCategories\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ADeviceCategoryServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerMessages.php new file mode 100644 index 000000000000..50d8daae6d5c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xC9\x04\x0A:google/ads/admanager/v1/device_manufacturer_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xF8\x01\x0A\x12DeviceManufacturer\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\x9D\x01\xEAA\x99\x01\x0A+admanager.googleapis.com/DeviceManufacturer\x12Anetworks/{network_code}/deviceManufacturers/{device_manufacturer}*\x13deviceManufacturers2\x12deviceManufacturerB\x0F\x0A\x0D_display_nameB\xD3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1FDeviceManufacturerMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerService.php new file mode 100644 index 000000000000..d080d18df4f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DeviceManufacturerService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x91\x0B\x0A9google/ads/admanager/v1/device_manufacturer_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"a\x0A\x1CGetDeviceManufacturerRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+admanager.googleapis.com/DeviceManufacturer\"\xCA\x01\x0A\x1EListDeviceManufacturersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x99\x01\x0A\x1FListDeviceManufacturersResponse\x12I\x0A\x14device_manufacturers\x18\x01 \x03(\x0B2+.google.ads.admanager.v1.DeviceManufacturer\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x9E\x04\x0A\x19DeviceManufacturerService\x12\xB7\x01\x0A\x15GetDeviceManufacturer\x125.google.ads.admanager.v1.GetDeviceManufacturerRequest\x1A+.google.ads.admanager.v1.DeviceManufacturer\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=networks/*/deviceManufacturers/*}\x12\xCA\x01\x0A\x17ListDeviceManufacturers\x127.google.ads.admanager.v1.ListDeviceManufacturersRequest\x1A8.google.ads.admanager.v1.ListDeviceManufacturersResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=networks/*}/deviceManufacturers\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1EDeviceManufacturerServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DiscountTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DiscountTypeEnum.php new file mode 100644 index 000000000000..b666eb55c6c1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/DiscountTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x86\x03\x0A0google/ads/admanager/v1/discount_type_enum.proto\x12\x17google.ads.admanager.v1\"e\x0A\x10DiscountTypeEnum\"Q\x0A\x0CDiscountType\x12\x1D\x0A\x19DISCOUNT_TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EABSOLUTE_VALUE\x10\x01\x12\x0E\x0A\x0APERCENTAGE\x10\x02B\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15DiscountTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EarlyAdBreakNotificationEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EarlyAdBreakNotificationEnums.php new file mode 100644 index 000000000000..926e96797923 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EarlyAdBreakNotificationEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xAC\x03\x0A?google/ads/admanager/v1/early_ad_break_notification_enums.proto\x12\x17google.ads.admanager.v1\"o\x0A\x10AdBreakStateEnum\"[\x0A\x0CAdBreakState\x12\x1E\x0A\x1AAD_BREAK_STATE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ADECISIONED\x10\x01\x12\x0C\x0A\x08COMPLETE\x10\x02\x12\x0D\x0A\x09SCHEDULED\x10\x03B\xD6\x01\x0A\x1Bcom.google.ads.admanager.v1B\"EarlyAdBreakNotificationEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingMessages.php new file mode 100644 index 000000000000..dc293e3e24a8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x86\x06\x0A=google/ads/admanager/v1/entity_signals_mapping_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xB0\x03\x0A\x14EntitySignalsMapping\x12\x1D\x0A\x13audience_segment_id\x18\x03 \x01(\x03H\x00\x12\x1B\x0A\x11content_bundle_id\x18\x04 \x01(\x03H\x00\x12#\x0A\x19custom_targeting_value_id\x18\x05 \x01(\x03H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12-\x0A\x19entity_signals_mapping_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x01\x88\x01\x01\x12\"\x0A\x15taxonomy_category_ids\x18\x06 \x03(\x03B\x03\xE0A\x01:\xA8\x01\xEAA\xA4\x01\x0A-admanager.googleapis.com/EntitySignalsMapping\x12Fnetworks/{network_code}/entitySignalsMappings/{entity_signals_mapping}*\x15entitySignalsMappings2\x14entitySignalsMappingB\x08\x0A\x06entityB\x1C\x0A\x1A_entity_signals_mapping_idB\xD5\x01\x0A\x1Bcom.google.ads.admanager.v1B!EntitySignalsMappingMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingService.php new file mode 100644 index 000000000000..ddabbd8c74b4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EntitySignalsMappingService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xB8\x1B\x0A\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=networks/*}/entitySignalsMappings\x12\xF6\x01\x0A\x1ACreateEntitySignalsMapping\x12:.google.ads.admanager.v1.CreateEntitySignalsMappingRequest\x1A-.google.ads.admanager.v1.EntitySignalsMapping\"m\xDAA\x1Dparent,entity_signals_mapping\x82\xD3\xE4\x93\x02G\"-/v1/{parent=networks/*}/entitySignalsMappings:\x16entity_signals_mapping\x12\x93\x02\x0A\x1AUpdateEntitySignalsMapping\x12:.google.ads.admanager.v1.UpdateEntitySignalsMappingRequest\x1A-.google.ads.admanager.v1.EntitySignalsMapping\"\x89\x01\xDAA\"entity_signals_mapping,update_mask\x82\xD3\xE4\x93\x02^2D/v1/{entity_signals_mapping.name=networks/*/entitySignalsMappings/*}:\x16entity_signals_mapping\x12\xFF\x01\x0A BatchCreateEntitySignalsMappings\x12@.google.ads.admanager.v1.BatchCreateEntitySignalsMappingsRequest\x1AA.google.ads.admanager.v1.BatchCreateEntitySignalsMappingsResponse\"V\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/entitySignalsMappings:batchCreate:\x01*\x12\xFF\x01\x0A BatchUpdateEntitySignalsMappings\x12@.google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsRequest\x1AA.google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsResponse\"V\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02>\"9/v1/{parent=networks/*}/entitySignalsMappings:batchUpdate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B EntitySignalsMappingServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EnvironmentTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EnvironmentTypeEnum.php new file mode 100644 index 000000000000..f280dc0e3c4f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/EnvironmentTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x90\x03\x0A3google/ads/admanager/v1/environment_type_enum.proto\x12\x17google.ads.admanager.v1\"i\x0A\x13EnvironmentTypeEnum\"R\x0A\x0FEnvironmentType\x12 \x0A\x1CENVIRONMENT_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BROWSER\x10\x01\x12\x10\x0A\x0CVIDEO_PLAYER\x10\x02B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18EnvironmentTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExchangeSyndicationProductEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExchangeSyndicationProductEnum.php new file mode 100644 index 000000000000..612084b5b662 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExchangeSyndicationProductEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xE9\x03\x0A?google/ads/admanager/v1/exchange_syndication_product_enum.proto\x12\x17google.ads.admanager.v1\"\xAA\x01\x0A\x1EExchangeSyndicationProductEnum\"\x87\x01\x0A\x1AExchangeSyndicationProduct\x12,\x0A(EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07DISPLAY\x10\x01\x12\x0E\x0A\x0AMOBILE_APP\x10\x02\x12\x13\x0A\x0FVIDEO_AND_AUDIO\x10\x03\x12\x09\x0A\x05GAMES\x10\x04B\xD7\x01\x0A\x1Bcom.google.ads.admanager.v1B#ExchangeSyndicationProductEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExclusionScopeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExclusionScopeEnum.php new file mode 100644 index 000000000000..57b00f689426 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ExclusionScopeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x8B\x03\x0A2google/ads/admanager/v1/exclusion_scope_enum.proto\x12\x17google.ads.admanager.v1\"f\x0A\x12ExclusionScopeEnum\"P\x0A\x0EExclusionScope\x12\x1F\x0A\x1BEXCLUSION_SCOPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04PAGE\x10\x01\x12\x0A\x0A\x06STREAM\x10\x02\x12\x07\x0A\x03POD\x10\x03B\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17ExclusionScopeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/FrequencyCap.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/FrequencyCap.php new file mode 100644 index 000000000000..654b2b6a0b5d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/FrequencyCap.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xD9\x03\x0A+google/ads/admanager/v1/frequency_cap.proto\x12\x17google.ads.admanager.v1\"\xC0\x01\x0A\x0CFrequencyCap\x12\x1C\x0A\x0Fmax_impressions\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Btime_amount\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12F\x0A\x09time_unit\x18\x03 \x01(\x0E2..google.ads.admanager.v1.TimeUnitEnum.TimeUnitH\x02\x88\x01\x01B\x12\x0A\x10_max_impressionsB\x0E\x0A\x0C_time_amountB\x0C\x0A\x0A_time_unitB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11FrequencyCapProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetMessages.php new file mode 100644 index 000000000000..dfea894c5053 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF7\x05\x0A1google/ads/admanager/v1/geo_target_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xB8\x03\x0A\x09GeoTarget\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12I\x0A\x10canonical_parent\x18\x03 \x01(\x09B*\xE0A\x03\xFAA\$\x0A\"admanager.googleapis.com/GeoTargetH\x01\x88\x01\x01\x12\x19\x0A\x0Cparent_names\x18\x04 \x03(\x09B\x03\xE0A\x03\x12\x1D\x0A\x0Bregion_code\x18\x05 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x12\x16\x0A\x04type\x18\x06 \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x12\x1C\x0A\x0Atargetable\x18\x07 \x01(\x08B\x03\xE0A\x03H\x04\x88\x01\x01:o\xEAAl\x0A\"admanager.googleapis.com/GeoTarget\x12/networks/{network_code}/geoTargets/{geo_target}*\x0AgeoTargets2\x09geoTargetB\x0F\x0A\x0D_display_nameB\x13\x0A\x11_canonical_parentB\x0E\x0A\x0C_region_codeB\x07\x0A\x05_typeB\x0D\x0A\x0B_targetableB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16GeoTargetMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetService.php new file mode 100644 index 000000000000..5143b3aa370a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GeoTargetService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xF7\x09\x0A0google/ads/admanager/v1/geo_target_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"O\x0A\x13GetGeoTargetRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/GeoTarget\"\xC1\x01\x0A\x15ListGeoTargetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"~\x0A\x16ListGeoTargetsResponse\x127\x0A\x0Bgeo_targets\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.GeoTarget\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xCD\x03\x0A\x10GeoTargetService\x12\x93\x01\x0A\x0CGetGeoTarget\x12,.google.ads.admanager.v1.GetGeoTargetRequest\x1A\".google.ads.admanager.v1.GeoTarget\"1\xDAA\x04name\x82\xD3\xE4\x93\x02\$\x12\"/v1/{name=networks/*/geoTargets/*}\x12\xA6\x01\x0A\x0EListGeoTargets\x12..google.ads.admanager.v1.ListGeoTargetsRequest\x1A/.google.ads.admanager.v1.ListGeoTargetsResponse\"3\xDAA\x06parent\x82\xD3\xE4\x93\x02\$\x12\"/v1/{parent=networks/*}/geoTargets\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15GeoTargetServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Goal.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Goal.php new file mode 100644 index 000000000000..dc9cb07dc0d8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Goal.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xD8\x03\x0A\"google/ads/admanager/v1/goal.proto\x12\x17google.ads.admanager.v1\"\xD0\x01\x0A\x04Goal\x12F\x0A\x09goal_type\x18\x01 \x01(\x0E2..google.ads.admanager.v1.GoalTypeEnum.GoalTypeH\x00\x88\x01\x01\x12F\x0A\x09unit_type\x18\x02 \x01(\x0E2..google.ads.admanager.v1.UnitTypeEnum.UnitTypeH\x01\x88\x01\x01\x12\x12\x0A\x05units\x18\x03 \x01(\x03H\x02\x88\x01\x01B\x0C\x0A\x0A_goal_typeB\x0C\x0A\x0A_unit_typeB\x08\x0A\x06_unitsB\xBD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x09GoalProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GoalEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GoalEnums.php new file mode 100644 index 000000000000..a42a7a91fb86 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GoalEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xEA\x04\x0A(google/ads/admanager/v1/goal_enums.proto\x12\x17google.ads.admanager.v1\"X\x0A\x0CGoalTypeEnum\"H\x0A\x08GoalType\x12\x19\x0A\x15GOAL_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x0C\x0A\x08LIFETIME\x10\x02\x12\x09\x0A\x05DAILY\x10\x03\"\xFD\x01\x0A\x0CUnitTypeEnum\"\xEC\x01\x0A\x08UnitType\x12\x19\x0A\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BIMPRESSIONS\x10\x01\x12\x0A\x0A\x06CLICKS\x10\x02\x12!\x0A\x1DCLICK_THROUGH_CPA_CONVERSIONS\x10\x03\x12 \x0A\x1CVIEW_THROUGH_CPA_CONVERSIONS\x10\x04\x12\x19\x0A\x15TOTAL_CPA_CONVERSIONS\x10\x05\x12\x18\x0A\x14VIEWABLE_IMPRESSIONS\x10\x06\x12\x19\x0A\x15IN_TARGET_IMPRESSIONS\x10\x07\x12\x13\x0A\x0FCOMPLETED_VIEWS\x10\x08B\xC2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0EGoalEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpProviderEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpProviderEnum.php new file mode 100644 index 000000000000..bc4cd5857271 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpProviderEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xF6\x02\x0A/google/ads/admanager/v1/grp_provider_enum.proto\x12\x17google.ads.admanager.v1\"W\x0A\x0FGrpProviderEnum\"D\x0A\x0BGrpProvider\x12\x1C\x0A\x18GRP_PROVIDER_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06GOOGLE\x10\x01\x12\x0B\x0A\x07NIELSEN\x10\x02B\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14GrpProviderEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpSettings.php new file mode 100644 index 000000000000..c87b03d8a154 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpSettings.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x84\x0A\x0A*google/ads/admanager/v1/grp_settings.proto\x12\x17google.ads.admanager.v1\x1A4google/ads/admanager/v1/grp_target_gender_enum.proto\x1A5google/ads/admanager/v1/nielsen_ctv_pacing_enum.proto\x1A?google/ads/admanager/v1/pacing_device_categorization_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\"\x9E\x06\x0A\x0BGrpSettings\x12 \x0A\x0Emin_target_age\x18\x01 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x12 \x0A\x0Emax_target_age\x18\x02 \x01(\x03B\x03\xE0A\x01H\x01\x88\x01\x01\x12]\x0A\x0Dtarget_gender\x18\x03 \x01(\x0E2<.google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGenderB\x03\xE0A\x01H\x02\x88\x01\x01\x12P\x0A\x08provider\x18\x04 \x01(\x0E24.google.ads.admanager.v1.GrpProviderEnum.GrpProviderB\x03\xE0A\x01H\x03\x88\x01\x01\x128\x0A&in_target_ratio_estimate_milli_percent\x18\x06 \x01(\x03B\x03\xE0A\x01H\x04\x88\x01\x01\x12i\x0A\x17nielsen_ctv_pacing_type\x18\x08 \x01(\x0E2>.google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacingB\x03\xE0A\x01H\x05\x88\x01\x01\x12\x87\x01\x0A!pacing_device_categorization_type\x18\x09 \x01(\x0E2R.google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorizationB\x03\xE0A\x01H\x06\x88\x01\x01\x12#\x0A\x11apply_true_coview\x18\x0A \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01B\x11\x0A\x0F_min_target_ageB\x11\x0A\x0F_max_target_ageB\x10\x0A\x0E_target_genderB\x0B\x0A\x09_providerB)\x0A'_in_target_ratio_estimate_milli_percentB\x1A\x0A\x18_nielsen_ctv_pacing_typeB\$\x0A\"_pacing_device_categorization_typeB\x14\x0A\x12_apply_true_coviewB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10GrpSettingsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpTargetGenderEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpTargetGenderEnum.php new file mode 100644 index 000000000000..eb039e237b2e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/GrpTargetGenderEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x93\x03\x0A4google/ads/admanager/v1/grp_target_gender_enum.proto\x12\x17google.ads.admanager.v1\"k\x0A\x13GrpTargetGenderEnum\"T\x0A\x0FGrpTargetGender\x12!\x0A\x1DGRP_TARGET_GENDER_UNSPECIFIED\x10\x00\x12\x08\x0A\x04BOTH\x10\x01\x12\x0A\x0A\x06FEMALE\x10\x02\x12\x08\x0A\x04MALE\x10\x03B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18GrpTargetGenderEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelEnums.php new file mode 100644 index 000000000000..1d91e625a212 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xC4\x03\x0A)google/ads/admanager/v1/label_enums.proto\x12\x17google.ads.admanager.v1\"\xAF\x01\x0A\x0DLabelTypeEnum\"\x9D\x01\x0A\x09LabelType\x12\x1A\x0A\x16LABEL_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CAD_EXCLUSION\x10\x01\x12\x19\x0A\x15AD_UNIT_FREQUENCY_CAP\x10\x02\x12\x16\x0A\x12CANONICAL_CATEGORY\x10\x03\x12\x19\x0A\x15COMPETITIVE_EXCLUSION\x10\x04\x12\x14\x0A\x10CREATIVE_WRAPPER\x10\x05B\xC3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0FLabelEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelMessages.php new file mode 100644 index 000000000000..8ce4de0fc40c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x9B\x05\x0A,google/ads/admanager/v1/label_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xC4\x02\x0A\x05Label\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x18\x0A\x06active\x18\x05 \x01(\x08B\x03\xE0A\x03H\x02\x88\x01\x01\x12G\x0A\x05types\x18\x07 \x03(\x0E20.google.ads.admanager.v1.LabelTypeEnum.LabelTypeB\x06\xE0A\x02\xE0A\x06:Z\xEAAW\x0A\x1Eadmanager.googleapis.com/Label\x12&networks/{network_code}/labels/{label}*\x06labels2\x05labelB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x09\x0A\x07_activeB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12LabelMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelService.php new file mode 100644 index 000000000000..150930250877 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LabelService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xF5\x1A\x0A+google/ads/admanager/v1/label_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"G\x0A\x0FGetLabelRequest\x124\x0A\x04name\x18\x01 \x01(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Label\"\xBD\x01\x0A\x11ListLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"q\x0A\x12ListLabelsResponse\x12.\x0A\x06labels\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Label\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x82\x01\x0A\x12CreateLabelRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x122\x0A\x05label\x18\x02 \x01(\x0B2\x1E.google.ads.admanager.v1.LabelB\x03\xE0A\x02\"\x98\x01\x0A\x18BatchCreateLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x08requests\x18\x02 \x03(\x0B2+.google.ads.admanager.v1.CreateLabelRequestB\x03\xE0A\x02\"K\x0A\x19BatchCreateLabelsResponse\x12.\x0A\x06labels\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Label\"~\x0A\x12UpdateLabelRequest\x122\x0A\x05label\x18\x01 \x01(\x0B2\x1E.google.ads.admanager.v1.LabelB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x98\x01\x0A\x18BatchUpdateLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x08requests\x18\x02 \x03(\x0B2+.google.ads.admanager.v1.UpdateLabelRequestB\x03\xE0A\x02\"K\x0A\x19BatchUpdateLabelsResponse\x12.\x0A\x06labels\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Label\"\x8D\x01\x0A\x1ABatchActivateLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Label\"\x1D\x0A\x1BBatchActivateLabelsResponse\"\x8F\x01\x0A\x1CBatchDeactivateLabelsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Label\"\x1F\x0A\x1DBatchDeactivateLabelsResponse2\x94\x0C\x0A\x0CLabelService\x12\x83\x01\x0A\x08GetLabel\x12(.google.ads.admanager.v1.GetLabelRequest\x1A\x1E.google.ads.admanager.v1.Label\"-\xDAA\x04name\x82\xD3\xE4\x93\x02 \x12\x1E/v1/{name=networks/*/labels/*}\x12\x96\x01\x0A\x0AListLabels\x12*.google.ads.admanager.v1.ListLabelsRequest\x1A+.google.ads.admanager.v1.ListLabelsResponse\"/\xDAA\x06parent\x82\xD3\xE4\x93\x02 \x12\x1E/v1/{parent=networks/*}/labels\x12\x98\x01\x0A\x0BCreateLabel\x12+.google.ads.admanager.v1.CreateLabelRequest\x1A\x1E.google.ads.admanager.v1.Label\"<\xDAA\x0Cparent,label\x82\xD3\xE4\x93\x02'\"\x1E/v1/{parent=networks/*}/labels:\x05label\x12\xC3\x01\x0A\x11BatchCreateLabels\x121.google.ads.admanager.v1.BatchCreateLabelsRequest\x1A2.google.ads.admanager.v1.BatchCreateLabelsResponse\"G\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/labels:batchCreate:\x01*\x12\xA3\x01\x0A\x0BUpdateLabel\x12+.google.ads.admanager.v1.UpdateLabelRequest\x1A\x1E.google.ads.admanager.v1.Label\"G\xDAA\x11label,update_mask\x82\xD3\xE4\x93\x02-2\$/v1/{label.name=networks/*/labels/*}:\x05label\x12\xC3\x01\x0A\x11BatchUpdateLabels\x121.google.ads.admanager.v1.BatchUpdateLabelsRequest\x1A2.google.ads.admanager.v1.BatchUpdateLabelsResponse\"G\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/labels:batchUpdate:\x01*\x12\xC8\x01\x0A\x13BatchActivateLabels\x123.google.ads.admanager.v1.BatchActivateLabelsRequest\x1A4.google.ads.admanager.v1.BatchActivateLabelsResponse\"F\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x021\",/v1/{parent=networks/*}/labels:batchActivate:\x01*\x12\xD0\x01\x0A\x15BatchDeactivateLabels\x125.google.ads.admanager.v1.BatchDeactivateLabelsRequest\x1A6.google.ads.admanager.v1.BatchDeactivateLabelsResponse\"H\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/labels:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11LabelServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemAllowedFormatEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemAllowedFormatEnum.php new file mode 100644 index 000000000000..8586406c43ce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemAllowedFormatEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB7\x03\x0A;google/ads/admanager/v1/line_item_allowed_format_enum.proto\x12\x17google.ads.admanager.v1\"\x81\x01\x0A\x19LineItemAllowedFormatEnum\"d\x0A\x15LineItemAllowedFormat\x12(\x0A\$LINE_ITEM_ALLOWED_FORMAT_UNSPECIFIED\x10\x00\x12\x09\x0A\x05AUDIO\x10\x01\x12\x09\x0A\x05VIDEO\x10\x02\x12\x0B\x0A\x07DISPLAY\x10\x03B\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ELineItemAllowedFormatEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDealInfo.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDealInfo.php new file mode 100644 index 000000000000..0954abe6ddf1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDealInfo.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xED\x02\x0A1google/ads/admanager/v1/line_item_deal_info.proto\x12\x17google.ads.admanager.v1\"K\x0A\x10LineItemDealInfo\x12\"\x0A\x10external_deal_id\x18\x02 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01B\x13\x0A\x11_external_deal_idB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15LineItemDealInfoProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDeliveryForecastSourceEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDeliveryForecastSourceEnum.php new file mode 100644 index 000000000000..924a1292fb7f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDeliveryForecastSourceEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xFE\x03\x0AEgoogle/ads/admanager/v1/line_item_delivery_forecast_source_enum.proto\x12\x17google.ads.admanager.v1\"\xB5\x01\x0A\"LineItemDeliveryForecastSourceEnum\"\x8E\x01\x0A\x1ELineItemDeliveryForecastSource\x122\x0A.LINE_ITEM_DELIVERY_FORECAST_SOURCE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13CUSTOM_PACING_CURVE\x10\x01\x12\x0F\x0A\x0BFORECASTING\x10\x02\x12\x0E\x0A\x0AHISTORICAL\x10\x03B\xDB\x01\x0A\x1Bcom.google.ads.admanager.v1B'LineItemDeliveryForecastSourceEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDiscount.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDiscount.php new file mode 100644 index 000000000000..3e752d9556e0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemDiscount.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xE9\x03\x0A0google/ads/admanager/v1/line_item_discount.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"\xA6\x01\x0A\x10LineItemDiscount\x12W\x0A\x0Ddiscount_type\x18\x01 \x01(\x0E26.google.ads.admanager.v1.DiscountTypeEnum.DiscountTypeB\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1A\x0A\x08discount\x18\x02 \x01(\x01B\x03\xE0A\x01H\x01\x88\x01\x01B\x10\x0A\x0E_discount_typeB\x0B\x0A\x09_discountB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15LineItemDiscountProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemEnums.php new file mode 100644 index 000000000000..cee92b73f8c1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xF3\x08\x0A-google/ads/admanager/v1/line_item_enums.proto\x12\x17google.ads.admanager.v1\"\xA8\x01\x0A\x14LineItemCostTypeEnum\"\x8F\x01\x0A\x10LineItemCostType\x12#\x0A\x1FLINE_ITEM_COST_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x03CPA\x10\x01\x1A\x02\x08\x01\x12\x07\x0A\x03CPC\x10\x02\x12\x07\x0A\x03CPD\x10\x03\x12\x07\x0A\x03CPM\x10\x04\x12\x08\x0A\x04VCPM\x10\x05\x12\x11\x0A\x0DCPM_IN_TARGET\x10\x06\x12\x07\x0A\x03CPF\x10\x07\x12\x08\x0A\x04CPCV\x10\x08\"\x82\x02\x0A\x10LineItemTypeEnum\"\xED\x01\x0A\x0CLineItemType\x12\x1E\x0A\x1ALINE_ITEM_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BSPONSORSHIP\x10\x0C\x12\x0C\x0A\x08STANDARD\x10\x0D\x12\x0B\x0A\x07NETWORK\x10\x09\x12\x08\x0A\x04BULK\x10\x04\x12\x12\x0A\x0EPRICE_PRIORITY\x10\x0B\x12\x09\x0A\x05HOUSE\x10\x07\x12\x12\x0A\x0ECLICK_TRACKING\x10\x06\x12\x0B\x0A\x07ADSENSE\x10\x02\x12\x0F\x0A\x0BAD_EXCHANGE\x10\x03\x12\x0A\x0A\x06BUMPER\x10\x05\x12\x12\x0A\x0EPREFERRED_DEAL\x10\x0A\x12\x16\x0A\x12AUDIENCE_EXTENSION\x10\x0E\"\x88\x01\x0A\x1DLineItemReservationStatusEnum\"g\x0A\x19LineItemReservationStatus\x12,\x0A(LINE_ITEM_RESERVATION_STATUS_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08RESERVED\x10\x01\x12\x0E\x0A\x0AUNRESERVED\x10\x02\"\x9C\x02\x0A\x1ALineItemComputedStatusEnum\"\xFD\x01\x0A\x16LineItemComputedStatus\x12)\x0A%LINE_ITEM_COMPUTED_STATUS_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08CANCELED\x10\x01\x12\x0D\x0A\x09COMPLETED\x10\x02\x12\x0E\x0A\x0ADELIVERING\x10\x03\x12\x15\x0A\x11DELIVERY_EXTENDED\x10\x04\x12\x0F\x0A\x0BDISAPPROVED\x10\x05\x12\x09\x0A\x05DRAFT\x10\x06\x12\x0C\x0A\x08INACTIVE\x10\x07\x12\x0A\x0A\x06PAUSED\x10\x08\x12\x1D\x0A\x19PAUSED_INVENTORY_RELEASED\x10\x09\x12\x14\x0A\x10PENDING_APPROVAL\x10\x0A\x12\x09\x0A\x05READY\x10\x0BB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12LineItemEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemMessages.php new file mode 100644 index 000000000000..6afad2e139cb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemMessages.php @@ -0,0 +1,51 @@ +internalAddGeneratedFile( + "\x0A\xEA6\x0A0google/ads/admanager/v1/line_item_messages.proto\x12\x17google.ads.admanager.v1\x1Agoogle/ads/admanager/v1/third_party_measurement_settings.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/type/money.proto\"\xFD*\x0A\x08LineItem\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12=\x0A\x05order\x18\x02 \x01(\x09B)\xE0A\x02\xE0A\x05\xFAA \x0A\x1Eadmanager.googleapis.com/OrderH\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12'\x0A\x15external_line_item_id\x18\x04 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\$\x0A\x12order_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x128\x0A\x0Astart_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02H\x04\x88\x01\x01\x12=\x0A\x0Ftarget_end_time\x18_ \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x05\x88\x01\x01\x126\x0A\x08end_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x06\x88\x01\x01\x12%\x0A\x13auto_extension_days\x18\x08 \x01(\x05B\x03\xE0A\x01H\x07\x88\x01\x01\x12'\x0A\x12end_time_unlimited\x18\x09 \x01(\x08B\x06\xE0A\x01\xE0A\x07H\x08\x88\x01\x01\x12p\x0A\x16creative_rotation_type\x18\x0A \x01(\x0E2F.google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationTypeB\x03\xE0A\x02H\x09\x88\x01\x01\x12w\x0A\x12delivery_rate_type\x18\x0B \x01(\x0E2N.google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateTypeB\x06\xE0A\x01\xE0A\x07H\x0A\x88\x01\x01\x12\x89\x01\x0A\x18delivery_forecast_source\x18\x0C \x01(\x0E2Z.google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum.LineItemDeliveryForecastSourceB\x06\xE0A\x01\xE0A\x07H\x0B\x88\x01\x01\x12Q\x0A\x13custom_pacing_curve\x18\x0D \x01(\x0B2*.google.ads.admanager.v1.CustomPacingCurveB\x03\xE0A\x01H\x0C\x88\x01\x01\x12f\x0A\x11roadblocking_type\x18\x0E \x01(\x0E2>.google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingTypeB\x06\xE0A\x01\xE0A\x07H\x0D\x88\x01\x01\x12d\x0A\x11skippable_ad_type\x18\x0F \x01(\x0E2<.google.ads.admanager.v1.SkippableAdTypeEnum.SkippableAdTypeB\x06\xE0A\x01\xE0A\x07H\x0E\x88\x01\x01\x12B\x0A\x0Efrequency_caps\x18\x10 \x03(\x0B2%.google.ads.admanager.v1.FrequencyCapB\x03\xE0A\x01\x12X\x0A\x0Eline_item_type\x18\x11 \x01(\x0E26.google.ads.admanager.v1.LineItemTypeEnum.LineItemTypeB\x03\xE0A\x02H\x0F\x88\x01\x01\x12\x1D\x0A\x08priority\x18\x13 \x01(\x05B\x06\xE0A\x01\xE0A\x07H\x10\x88\x01\x01\x12*\x0A\x04rate\x18\x14 \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x02H\x11\x88\x01\x01\x122\x0A\x09value_cpm\x18\x15 \x01(\x0B2\x12.google.type.MoneyB\x06\xE0A\x01\xE0A\x07H\x12\x88\x01\x01\x12[\x0A\x09cost_type\x18\x16 \x01(\x0E2>.google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostTypeB\x03\xE0A\x02H\x13\x88\x01\x01\x12E\x0A\x08discount\x18\x17 \x01(\x0B2).google.ads.admanager.v1.LineItemDiscountB\x03\xE0A\x01H\x14\x88\x01\x01\x12)\x0A\x17contracted_units_bought\x18\x18 \x01(\x03B\x03\xE0A\x01H\x15\x88\x01\x01\x12P\x0A\x15creative_placeholders\x18\x19 \x03(\x0B2,.google.ads.admanager.v1.CreativePlaceholderB\x03\xE0A\x02\x12c\x0A\x10environment_type\x18\x1A \x01(\x0E2<.google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentTypeB\x06\xE0A\x01\xE0A\x07H\x16\x88\x01\x01\x12y\x0A\x19companion_delivery_option\x18\x1B \x01(\x0E2L.google.ads.admanager.v1.CompanionDeliveryOptionEnum.CompanionDeliveryOptionB\x03\xE0A\x01H\x17\x88\x01\x01\x12 \x0A\x0Eallow_overbook\x18\x1C \x01(\x08B\x03\xE0A\x04H\x18\x88\x01\x01\x12&\x0A\x14skip_inventory_check\x18\x1D \x01(\x08B\x03\xE0A\x04H\x19\x88\x01\x01\x128\x0A&skip_cross_selling_rule_warning_checks\x18\x1E \x01(\x08B\x03\xE0A\x04H\x1A\x88\x01\x01\x12%\x0A\x13reserve_on_creation\x18\x1F \x01(\x08B\x03\xE0A\x04H\x1B\x88\x01\x01\x12?\x0A\x05stats\x18 \x01(\x0B2&.google.ads.admanager.v1.LineItemStatsB\x03\xE0A\x03H\x1C\x88\x01\x01\x12P\x0A\x12delivery_indicator\x18! \x01(\x0B2*.google.ads.admanager.v1.DeliveryIndicatorB\x03\xE0A\x03H\x1D\x88\x01\x01\x12,\x0A\x06budget\x18# \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03H\x1E\x88\x01\x01\x12d\x0A\x06status\x18\$ \x01(\x0E2J.google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatusB\x03\xE0A\x03H\x1F\x88\x01\x01\x12v\x0A\x12reservation_status\x18& \x01(\x0E2P.google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatusB\x03\xE0A\x03H \x88\x01\x01\x12\x1A\x0A\x08archived\x18' \x01(\x08B\x03\xE0A\x03H!\x88\x01\x01\x12#\x0A\x11web_property_code\x181 \x01(\x09B\x03\xE0A\x01H\"\x88\x01\x01\x12B\x0A\x0Eapplied_labels\x182 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x01\x12L\x0A\x18effective_applied_labels\x183 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x03\x123\x0A!same_advertiser_exception_enabled\x184 \x01(\x08B\x03\xE0A\x01H#\x88\x01\x01\x12\x1F\x0A\x0Dupdate_source\x185 \x01(\x09B\x03\xE0A\x03H\$\x88\x01\x01\x12\x17\x0A\x05notes\x186 \x01(\x09B\x03\xE0A\x01H%\x88\x01\x01\x12m\x0A\x1Ccompetitive_constraint_scope\x188 \x01(\x0E2:.google.ads.admanager.v1.ExclusionScopeEnum.ExclusionScopeB\x06\xE0A\x01\xE0A\x07H&\x88\x01\x01\x129\x0A\x0Bupdate_time\x189 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H'\x88\x01\x01\x129\x0A\x0Bcreate_time\x18: \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H(\x88\x01\x01\x12K\x0A\x13custom_field_values\x18; \x03(\x0B2).google.ads.admanager.v1.CustomFieldValueB\x03\xE0A\x01\x12#\x0A\x11missing_creatives\x18= \x01(\x08B\x03\xE0A\x03H)\x88\x01\x01\x12j\x0A third_party_measurement_settings\x18C \x01(\x0B26.google.ads.admanager.v1.ThirdPartyMeasurementSettingsB\x03\xE0A\x01H*\x88\x01\x01\x12)\x0A\x17youtube_kids_restricted\x18J \x01(\x08B\x03\xE0A\x01H+\x88\x01\x01\x12H\x0A\x1Bmax_video_creative_duration\x18K \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H,\x88\x01\x01\x125\x0A\x04goal\x18L \x01(\x0B2\x1D.google.ads.admanager.v1.GoalB\x03\xE0A\x01H-\x88\x01\x01\x12;\x0A\x0Fsecondary_goals\x18d \x03(\x0B2\x1D.google.ads.admanager.v1.GoalB\x03\xE0A\x01\x12D\x0A\x0Cgrp_settings\x18N \x01(\x0B2\$.google.ads.admanager.v1.GrpSettingsB\x03\xE0A\x01H.\x88\x01\x01\x12F\x0A\x09deal_info\x18O \x01(\x0B2).google.ads.admanager.v1.LineItemDealInfoB\x03\xE0A\x01H/\x88\x01\x01\x12P\x0A\x1Eviewability_provider_companies\x18U \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Company\x12|\x0A\x19child_content_eligibility\x18V \x01(\x0E2L.google.ads.admanager.v1.ChildContentEligibilityEnum.ChildContentEligibilityB\x06\xE0A\x01\xE0A\x07H0\x88\x01\x01\x12'\x0A\x15custom_vast_extension\x18X \x01(\x09B\x03\xE0A\x01H1\x88\x01\x01\x121\x0A\x1Fsponsorship_exclusivity_enabled\x18Y \x01(\x08B\x03\xE0A\x01H2\x88\x01\x01\x123\x0A!repeated_creative_serving_enabled\x18Z \x01(\x08B\x03\xE0A\x01H3\x88\x01\x01\x12?\x0A\x09targeting\x18] \x01(\x0B2\".google.ads.admanager.v1.TargetingB\x03\xE0A\x02H4\x88\x01\x01\x12L\x0A\x13creative_targetings\x18^ \x03(\x0B2*.google.ads.admanager.v1.CreativeTargetingB\x03\xE0A\x01\x12f\x0A\x0Fallowed_formats\x18p \x03(\x0E2H.google.ads.admanager.v1.LineItemAllowedFormatEnum.LineItemAllowedFormatB\x03\xE0A\x01:j\xEAAg\x0A!admanager.googleapis.com/LineItem\x12-networks/{network_code}/lineItems/{line_item}*\x09lineItems2\x08lineItemB\x08\x0A\x06_orderB\x0F\x0A\x0D_display_nameB\x18\x0A\x16_external_line_item_idB\x15\x0A\x13_order_display_nameB\x0D\x0A\x0B_start_timeB\x12\x0A\x10_target_end_timeB\x0B\x0A\x09_end_timeB\x16\x0A\x14_auto_extension_daysB\x15\x0A\x13_end_time_unlimitedB\x19\x0A\x17_creative_rotation_typeB\x15\x0A\x13_delivery_rate_typeB\x1B\x0A\x19_delivery_forecast_sourceB\x16\x0A\x14_custom_pacing_curveB\x14\x0A\x12_roadblocking_typeB\x14\x0A\x12_skippable_ad_typeB\x11\x0A\x0F_line_item_typeB\x0B\x0A\x09_priorityB\x07\x0A\x05_rateB\x0C\x0A\x0A_value_cpmB\x0C\x0A\x0A_cost_typeB\x0B\x0A\x09_discountB\x1A\x0A\x18_contracted_units_boughtB\x13\x0A\x11_environment_typeB\x1C\x0A\x1A_companion_delivery_optionB\x11\x0A\x0F_allow_overbookB\x17\x0A\x15_skip_inventory_checkB)\x0A'_skip_cross_selling_rule_warning_checksB\x16\x0A\x14_reserve_on_creationB\x08\x0A\x06_statsB\x15\x0A\x13_delivery_indicatorB\x09\x0A\x07_budgetB\x09\x0A\x07_statusB\x15\x0A\x13_reservation_statusB\x0B\x0A\x09_archivedB\x14\x0A\x12_web_property_codeB\$\x0A\"_same_advertiser_exception_enabledB\x10\x0A\x0E_update_sourceB\x08\x0A\x06_notesB\x1F\x0A\x1D_competitive_constraint_scopeB\x0E\x0A\x0C_update_timeB\x0E\x0A\x0C_create_timeB\x14\x0A\x12_missing_creativesB#\x0A!_third_party_measurement_settingsB\x1A\x0A\x18_youtube_kids_restrictedB\x1E\x0A\x1C_max_video_creative_durationB\x07\x0A\x05_goalB\x0F\x0A\x0D_grp_settingsB\x0C\x0A\x0A_deal_infoB\x1C\x0A\x1A_child_content_eligibilityB\x18\x0A\x16_custom_vast_extensionB\"\x0A _sponsorship_exclusivity_enabledB\$\x0A\"_repeated_creative_serving_enabledB\x0C\x0A\x0A_targetingB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15LineItemMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemService.php new file mode 100644 index 000000000000..ac89d199027b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xE6\x09\x0A/google/ads/admanager/v1/line_item_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"M\x0A\x12GetLineItemRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!admanager.googleapis.com/LineItem\"\xC0\x01\x0A\x14ListLineItemsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"{\x0A\x15ListLineItemsResponse\x125\x0A\x0Aline_items\x18\x01 \x03(\x0B2!.google.ads.admanager.v1.LineItem\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xC4\x03\x0A\x0FLineItemService\x12\x8F\x01\x0A\x0BGetLineItem\x12+.google.ads.admanager.v1.GetLineItemRequest\x1A!.google.ads.admanager.v1.LineItem\"0\xDAA\x04name\x82\xD3\xE4\x93\x02#\x12!/v1/{name=networks/*/lineItems/*}\x12\xA2\x01\x0A\x0DListLineItems\x12-.google.ads.admanager.v1.ListLineItemsRequest\x1A..google.ads.admanager.v1.ListLineItemsResponse\"2\xDAA\x06parent\x82\xD3\xE4\x93\x02#\x12!/v1/{parent=networks/*}/lineItems\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14LineItemServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemStats.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemStats.php new file mode 100644 index 000000000000..8f5c33de2763 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LineItemStats.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xAC\x05\x0A-google/ads/admanager/v1/line_item_stats.proto\x12\x17google.ads.admanager.v1\"\x90\x03\x0A\x0DLineItemStats\x12'\x0A\x15impressions_delivered\x18\x01 \x01(\x03B\x03\xE0A\x03H\x00\x88\x01\x01\x12\"\x0A\x10clicks_delivered\x18\x02 \x01(\x03B\x03\xE0A\x03H\x01\x88\x01\x01\x12-\x0A\x1Bvideo_completions_delivered\x18\x03 \x01(\x03B\x03\xE0A\x03H\x02\x88\x01\x01\x12(\x0A\x16video_starts_delivered\x18\x04 \x01(\x03B\x03\xE0A\x03H\x03\x88\x01\x01\x120\x0A\x1Eviewable_impressions_delivered\x18\x05 \x01(\x03B\x03\xE0A\x03H\x04\x88\x01\x01\x12\x1A\x0A\x0Ddelivery_data\x18\x08 \x03(\x03B\x03\xE0A\x03B\x18\x0A\x16_impressions_deliveredB\x13\x0A\x11_clicks_deliveredB\x1E\x0A\x1C_video_completions_deliveredB\x19\x0A\x17_video_starts_deliveredB!\x0A\x1F_viewable_impressions_deliveredB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12LineItemStatsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceEnums.php new file mode 100644 index 000000000000..2a48ef4fa492 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x9C\x03\x0A1google/ads/admanager/v1/linked_device_enums.proto\x12\x17google.ads.admanager.v1\"y\x0A\x1ALinkedDeviceVisibilityEnum\"[\x0A\x16LinkedDeviceVisibility\x12(\x0A\$LINKED_DEVICE_VISIBILITY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PRIVATE\x10\x02\x12\x0A\x0A\x06PUBLIC\x10\x03B\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16LinkedDeviceEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceMessages.php new file mode 100644 index 000000000000..3eb7bbadae65 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xF6\x05\x0A4google/ads/admanager/v1/linked_device_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\x90\x03\x0A\x0CLinkedDevice\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x129\x0A\x05owner\x18\x07 \x01(\x09B%\xE0A\x03\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/UserH\x01\x88\x01\x01\x12h\x0A\x0Avisibility\x18\x09 \x01(\x0E2J.google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibilityB\x03\xE0A\x01H\x02\x88\x01\x01:~\xEAA{\x0A%admanager.googleapis.com/LinkedDevice\x125networks/{network_code}/linkedDevices/{linked_device}*\x0DlinkedDevices2\x0ClinkedDeviceB\x0F\x0A\x0D_display_nameB\x08\x0A\x06_ownerB\x0D\x0A\x0B_visibilityB\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19LinkedDeviceMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceService.php new file mode 100644 index 000000000000..47db37525978 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LinkedDeviceService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAB\x0A\x0A3google/ads/admanager/v1/linked_device_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"U\x0A\x16GetLinkedDeviceRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%admanager.googleapis.com/LinkedDevice\"\xC4\x01\x0A\x18ListLinkedDevicesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x87\x01\x0A\x19ListLinkedDevicesResponse\x12=\x0A\x0Elinked_devices\x18\x01 \x03(\x0B2%.google.ads.admanager.v1.LinkedDevice\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xE8\x03\x0A\x13LinkedDeviceService\x12\x9F\x01\x0A\x0FGetLinkedDevice\x12/.google.ads.admanager.v1.GetLinkedDeviceRequest\x1A%.google.ads.admanager.v1.LinkedDevice\"4\xDAA\x04name\x82\xD3\xE4\x93\x02'\x12%/v1/{name=networks/*/linkedDevices/*}\x12\xB2\x01\x0A\x11ListLinkedDevices\x121.google.ads.admanager.v1.ListLinkedDevicesRequest\x1A2.google.ads.admanager.v1.ListLinkedDevicesResponse\"6\xDAA\x06parent\x82\xD3\xE4\x93\x02'\x12%/v1/{parent=networks/*}/linkedDevices\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18LinkedDeviceServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventEnums.php new file mode 100644 index 000000000000..7c261d0f5d64 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBA\x0C\x0A5google/ads/admanager/v1/live_stream_event_enums.proto\x12\x17google.ads.admanager.v1\"X\x0A\x0FSlateStatusEnum\"E\x0A\x0BSlateStatus\x12\x1C\x0A\x18SLATE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08ARCHIVED\x10\x02\"\x94\x01\x0A\x19LiveStreamEventStatusEnum\"w\x0A\x15LiveStreamEventStatus\x12(\x0A\$LIVE_STREAM_EVENT_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0E\x0A\x0AADS_PAUSED\x10\x02\x12\x0C\x0A\x08ARCHIVED\x10\x03\x12\x0A\x0A\x06PAUSED\x10\x04\"\xD6\x02\x0A\x15AdBreakMarkupTypeEnum\"\xBC\x02\x0A\x11AdBreakMarkupType\x12\$\x0A AD_BREAK_MARKUP_TYPE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14HLS_DATERANGE_SPLICE\x10\x01\x12\x0F\x0A\x0BHLS_EXT_CUE\x10\x02\x12\x18\x0A\x14HLS_PRIMETIME_SPLICE\x10\x03\x12!\x0A\x1DSCTE35_BINARY_BREAK_START_END\x10\x04\x12'\x0A#SCTE35_BINARY_PROVIDER_AD_START_END\x10\x05\x121\x0A-SCTE35_BINARY_PROVIDER_PLACEMENT_OP_START_END\x10\x06\x12\x1F\x0A\x1BSCTE35_BINARY_SPLICE_INSERT\x10\x07\x12\x1C\x0A\x18SCTE35_XML_SPLICE_INSERT\x10\x0B\"\x8D\x01\x0A\"LiveStreamEventStreamingFormatEnum\"g\x0A\x1ELiveStreamEventStreamingFormat\x122\x0A.LIVE_STREAM_EVENT_STREAMING_FORMAT_UNSPECIFIED\x10\x00\x12\x08\x0A\x04DASH\x10\x01\x12\x07\x0A\x03HLS\x10\x02\"\xA2\x01\x0A\x1ADynamicAdInsertionTypeEnum\"\x83\x01\x0A\x16DynamicAdInsertionType\x12)\x0A%DYNAMIC_AD_INSERTION_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06LINEAR\x10\x01\x12\x18\x0A\x14POD_SERVING_MANIFEST\x10\x02\x12\x18\x0A\x14POD_SERVING_REDIRECT\x10\x03\"y\x0A\x1BHlsSettingsPlaylistTypeEnum\"Z\x0A\x17HlsSettingsPlaylistType\x12*\x0A&HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04LIVE\x10\x02\"\x8F\x01\x0A HlsMasterPlaylistRefreshTypeEnum\"k\x0A\x1CHlsMasterPlaylistRefreshType\x120\x0A,HLS_MASTER_PLAYLIST_REFRESH_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09AUTOMATIC\x10\x01\x12\x0A\x0A\x06MANUAL\x10\x02\"\x83\x01\x0A\x13AdBreakFillTypeEnum\"l\x0A\x0FAdBreakFillType\x12\"\x0A\x1EAD_BREAK_FILL_TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EMINIMIZE_SLATE\x10\x01\x12\x09\x0A\x05SLATE\x10\x02\x12\x16\x0A\x12UNDERLYING_CONTENT\x10\x03B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19LiveStreamEventEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventMessages.php new file mode 100644 index 000000000000..124e7bc40e02 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamEventMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x82\x04\x0A8google/ads/admanager/v1/live_stream_event_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xB6\x01\x0A\x0FLiveStreamEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08:\x8F\x01\xEAA\x8B\x01\x0A(admanager.googleapis.com/LiveStreamEvent\x12internalAddGeneratedFile( + "\x0A\x94\$\x0A2google/ads/admanager/v1/live_stream_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xFC\x19\x0A\x0ALiveStream\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12b\x0A\x06status\x18\x03 \x01(\x0E2H.google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatusB\x03\xE0A\x03H\x01\x88\x01\x01\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x121\x0A\x08end_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\$\x0A\x12end_time_unlimited\x18\x08 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x19\x0A\x0Ccontent_urls\x18\x09 \x03(\x09B\x03\xE0A\x02\x12\x14\x0A\x07ad_tags\x18\x0A \x03(\x09B\x03\xE0A\x02\x12\x1B\x0A\x09asset_key\x18\x0B \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x120\x0A\x1Eenable_dai_authentication_keys\x18\x0E \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x12b\x0A\x12ad_break_fill_type\x18\x0F \x01(\x0E2<.google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillTypeB\x03\xE0A\x01H\x05\x88\x01\x01\x12l\x0A\x1Cunderfill_ad_break_fill_type\x18\x10 \x01(\x0E2<.google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillTypeB\x03\xE0A\x01H\x06\x88\x01\x01\x12@\x0A\x13ad_holiday_duration\x18\x11 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x07\x88\x01\x01\x12,\x0A\x1Aenable_max_filler_duration\x18\x12 \x01(\x08B\x03\xE0A\x01H\x08\x88\x01\x01\x12@\x0A\x13max_filler_duration\x18\x13 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x09\x88\x01\x01\x12I\x0A\x1Cpod_serving_segment_duration\x18\x14 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x0A\x88\x01\x01\x12/\x0A\x1Denable_durationless_ad_breaks\x18\x15 \x01(\x08B\x03\xE0A\x01H\x0B\x88\x01\x01\x12F\x0A\x19default_ad_break_duration\x18\x16 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x0C\x88\x01\x01\x12Q\x0A\x1Dsource_content_configurations\x18\x1A \x03(\x09B*\xE0A\x01\xFAA\$\x0A\"admanager.googleapis.com/CdnConfig\x12Q\x0A\x18ad_media_delivery_config\x18\x1B \x01(\x09B*\xE0A\x01\xFAA\$\x0A\"admanager.googleapis.com/CdnConfigH\x0D\x88\x01\x01\x12G\x0A\x10preroll_settings\x18\x1C \x01(\x0B2(.google.ads.admanager.v1.PrerollSettingsB\x03\xE0A\x01\x12?\x0A\x0Chls_settings\x18\x1D \x01(\x0B2\$.google.ads.admanager.v1.HlsSettingsB\x03\xE0A\x01\x12)\x0A\x17allowlisted_ips_enabled\x18\x1E \x01(\x08B\x03\xE0A\x01H\x0E\x88\x01\x01\x12w\x0A\x19dynamic_ad_insertion_type\x18\x1F \x01(\x0E2J.google.ads.admanager.v1.DynamicAdInsertionTypeEnum.DynamicAdInsertionTypeB\x03\xE0A\x05H\x0F\x88\x01\x01\x124\x0A\"relative_playlist_delivery_enabled\x18! \x01(\x08B\x03\xE0A\x01H\x10\x88\x01\x01\x12~\x0A\x10streaming_format\x18\" \x01(\x0E2Z.google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum.LiveStreamEventStreamingFormatB\x03\xE0A\x05H\x11\x88\x01\x01\x12\"\x0A\x10prefetch_enabled\x18# \x01(\x08B\x03\xE0A\x01H\x12\x88\x01\x01\x12I\x0A\x11prefetch_settings\x18\$ \x01(\x0B2).google.ads.admanager.v1.PrefetchSettingsB\x03\xE0A\x01\x12'\x0A\x15forced_cue_in_enabled\x18% \x01(\x08B\x03\xE0A\x01H\x13\x88\x01\x01\x120\x0A\x1Eshort_segment_dropping_enabled\x18& \x01(\x08B\x03\xE0A\x01H\x14\x88\x01\x01\x12\"\x0A\x10custom_asset_key\x18' \x01(\x09B\x03\xE0A\x05H\x15\x88\x01\x01\x12_\x0A\x10ad_break_markups\x18* \x03(\x0E2@.google.ads.admanager.v1.AdBreakMarkupTypeEnum.AdBreakMarkupTypeB\x03\xE0A\x01\x12/\x0A\x1Dad_break_markup_types_enabled\x18+ \x01(\x08B\x03\xE0A\x01H\x16\x88\x01\x01\x12V\x0A\x18live_stream_conditioning\x18. \x01(\x0B2/.google.ads.admanager.v1.LiveStreamConditioningB\x03\xE0A\x01\x12I\x0A7early_break_notification_multi_break_scheduling_enabled\x186 \x01(\x08B\x03\xE0A\x01H\x17\x88\x01\x01\x12=\x0A\x15ad_pod_trim_tolerance\x187 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12%\x0A\x13effective_asset_key\x188 \x01(\x09B\x03\xE0A\x03H\x18\x88\x01\x01\x12P\x0A\x15auxiliary_ad_settings\x189 \x01(\x0B2,.google.ads.admanager.v1.AuxiliaryAdSettingsB\x03\xE0A\x01:t\xEAAq\x0A#admanager.googleapis.com/LiveStream\x121networks/{network_code}/liveStreams/{live_stream}*\x0BliveStreams2\x0AliveStreamB\x0F\x0A\x0D_display_nameB\x09\x0A\x07_statusB\x15\x0A\x13_end_time_unlimitedB\x0C\x0A\x0A_asset_keyB!\x0A\x1F_enable_dai_authentication_keysB\x15\x0A\x13_ad_break_fill_typeB\x1F\x0A\x1D_underfill_ad_break_fill_typeB\x16\x0A\x14_ad_holiday_durationB\x1D\x0A\x1B_enable_max_filler_durationB\x16\x0A\x14_max_filler_durationB\x1F\x0A\x1D_pod_serving_segment_durationB \x0A\x1E_enable_durationless_ad_breaksB\x1C\x0A\x1A_default_ad_break_durationB\x1B\x0A\x19_ad_media_delivery_configB\x1A\x0A\x18_allowlisted_ips_enabledB\x1C\x0A\x1A_dynamic_ad_insertion_typeB%\x0A#_relative_playlist_delivery_enabledB\x13\x0A\x11_streaming_formatB\x13\x0A\x11_prefetch_enabledB\x18\x0A\x16_forced_cue_in_enabledB!\x0A\x1F_short_segment_dropping_enabledB\x13\x0A\x11_custom_asset_keyB \x0A\x1E_ad_break_markup_types_enabledB:\x0A8_early_break_notification_multi_break_scheduling_enabledB\x16\x0A\x14_effective_asset_key\"\x80\x01\x0A\x10PrefetchSettings\x12J\x0A\x1Dstage_one_ad_request_duration\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01H\x00\x88\x01\x01B \x0A\x1E_stage_one_ad_request_duration\"W\x0A\x16LiveStreamConditioning\x12=\x0A\x0Bdash_bridge\x18\x01 \x01(\x0B2#.google.ads.admanager.v1.DashBridgeB\x03\xE0A\x01\"\xE6\x01\x0A\x0BHlsSettings\x12m\x0A\x0Dplaylist_type\x18\x01 \x01(\x0E2L.google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistTypeB\x03\xE0A\x05H\x00\x88\x01\x01\x12V\x0A\x18master_playlist_settings\x18\x02 \x01(\x0B2/.google.ads.admanager.v1.MasterPlaylistSettingsB\x03\xE0A\x01B\x10\x0A\x0E_playlist_type\"3\x0A\x0ADashBridge\x12\x19\x0A\x07enabled\x18\x02 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01B\x0A\x0A\x08_enabled\"\x90\x01\x0A\x0FPrerollSettings\x12\x18\x0A\x06ad_tag\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12@\x0A\x13max_ad_pod_duration\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x02H\x01\x88\x01\x01B\x09\x0A\x07_ad_tagB\x16\x0A\x14_max_ad_pod_duration\"B\x0A\x13AuxiliaryAdSettings\x12\x1C\x0A\x0Aad_tag_url\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x0D\x0A\x0B_ad_tag_url\"\xA1\x01\x0A\x16MasterPlaylistSettings\x12v\x0A\x0Crefresh_type\x18\x01 \x01(\x0E2V.google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshTypeB\x03\xE0A\x01H\x00\x88\x01\x01B\x0F\x0A\x0D_refresh_typeB\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17LiveStreamMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamService.php new file mode 100644 index 000000000000..ae67f061f8c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/LiveStreamService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xA6'\x0A1google/ads/admanager/v1/live_stream_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"Q\x0A\x14GetLiveStreamRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"\xC2\x01\x0A\x16ListLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x81\x01\x0A\x17ListLiveStreamsResponse\x129\x0A\x0Clive_streams\x18\x01 \x03(\x0B2#.google.ads.admanager.v1.LiveStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x92\x01\x0A\x17CreateLiveStreamRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12=\x0A\x0Blive_stream\x18\x02 \x01(\x0B2#.google.ads.admanager.v1.LiveStreamB\x03\xE0A\x02\"\xA2\x01\x0A\x1DBatchCreateLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12G\x0A\x08requests\x18\x02 \x03(\x0B20.google.ads.admanager.v1.CreateLiveStreamRequestB\x03\xE0A\x02\"[\x0A\x1EBatchCreateLiveStreamsResponse\x129\x0A\x0Clive_streams\x18\x01 \x03(\x0B2#.google.ads.admanager.v1.LiveStream\"\x8E\x01\x0A\x17UpdateLiveStreamRequest\x12=\x0A\x0Blive_stream\x18\x01 \x01(\x0B2#.google.ads.admanager.v1.LiveStreamB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xA2\x01\x0A\x1DBatchUpdateLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12G\x0A\x08requests\x18\x02 \x03(\x0B20.google.ads.admanager.v1.UpdateLiveStreamRequestB\x03\xE0A\x02\"[\x0A\x1EBatchUpdateLiveStreamsResponse\x129\x0A\x0Clive_streams\x18\x01 \x03(\x0B2#.google.ads.admanager.v1.LiveStream\"\x97\x01\x0A\x1FBatchActivateLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x05names\x18\x02 \x03(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"\"\x0A BatchActivateLiveStreamsResponse\"\x94\x01\x0A\x1CBatchPauseLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x05names\x18\x02 \x03(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"\x1F\x0A\x1DBatchPauseLiveStreamsResponse\"\x96\x01\x0A\x1EBatchArchiveLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x05names\x18\x02 \x03(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"!\x0A\x1FBatchArchiveLiveStreamsResponse\"\x97\x01\x0A\x1FBatchPauseAdsLiveStreamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x05names\x18\x02 \x03(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"\"\x0A BatchPauseAdsLiveStreamsResponse\"\x9A\x01\x0A\"BatchRefreshMasterPlaylistsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x05names\x18\x02 \x03(\x09B+\xE0A\x02\xFAA%\x0A#admanager.googleapis.com/LiveStream\"%\x0A#BatchRefreshMasterPlaylistsResponse2\xF3\x12\x0A\x11LiveStreamService\x12\x97\x01\x0A\x0DGetLiveStream\x12-.google.ads.admanager.v1.GetLiveStreamRequest\x1A#.google.ads.admanager.v1.LiveStream\"2\xDAA\x04name\x82\xD3\xE4\x93\x02%\x12#/v1/{name=networks/*/liveStreams/*}\x12\xAA\x01\x0A\x0FListLiveStreams\x12/.google.ads.admanager.v1.ListLiveStreamsRequest\x1A0.google.ads.admanager.v1.ListLiveStreamsResponse\"4\xDAA\x06parent\x82\xD3\xE4\x93\x02%\x12#/v1/{parent=networks/*}/liveStreams\x12\xB8\x01\x0A\x10CreateLiveStream\x120.google.ads.admanager.v1.CreateLiveStreamRequest\x1A#.google.ads.admanager.v1.LiveStream\"M\xDAA\x12parent,live_stream\x82\xD3\xE4\x93\x022\"#/v1/{parent=networks/*}/liveStreams:\x0Blive_stream\x12\xD7\x01\x0A\x16BatchCreateLiveStreams\x126.google.ads.admanager.v1.BatchCreateLiveStreamsRequest\x1A7.google.ads.admanager.v1.BatchCreateLiveStreamsResponse\"L\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/liveStreams:batchCreate:\x01*\x12\xC9\x01\x0A\x10UpdateLiveStream\x120.google.ads.admanager.v1.UpdateLiveStreamRequest\x1A#.google.ads.admanager.v1.LiveStream\"^\xDAA\x17live_stream,update_mask\x82\xD3\xE4\x93\x02>2//v1/{live_stream.name=networks/*/liveStreams/*}:\x0Blive_stream\x12\xD7\x01\x0A\x16BatchUpdateLiveStreams\x126.google.ads.admanager.v1.BatchUpdateLiveStreamsRequest\x1A7.google.ads.admanager.v1.BatchUpdateLiveStreamsResponse\"L\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/liveStreams:batchUpdate:\x01*\x12\xDC\x01\x0A\x18BatchActivateLiveStreams\x128.google.ads.admanager.v1.BatchActivateLiveStreamsRequest\x1A9.google.ads.admanager.v1.BatchActivateLiveStreamsResponse\"K\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x026\"1/v1/{parent=networks/*}/liveStreams:batchActivate:\x01*\x12\xD0\x01\x0A\x15BatchPauseLiveStreams\x125.google.ads.admanager.v1.BatchPauseLiveStreamsRequest\x1A6.google.ads.admanager.v1.BatchPauseLiveStreamsResponse\"H\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/liveStreams:batchPause:\x01*\x12\xD8\x01\x0A\x17BatchArchiveLiveStreams\x127.google.ads.admanager.v1.BatchArchiveLiveStreamsRequest\x1A8.google.ads.admanager.v1.BatchArchiveLiveStreamsResponse\"J\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/liveStreams:batchArchive:\x01*\x12\xDC\x01\x0A\x18BatchPauseAdsLiveStreams\x128.google.ads.admanager.v1.BatchPauseAdsLiveStreamsRequest\x1A9.google.ads.admanager.v1.BatchPauseAdsLiveStreamsResponse\"K\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x026\"1/v1/{parent=networks/*}/liveStreams:batchPauseAds:\x01*\x12\xF3\x01\x0A\x1BBatchRefreshMasterPlaylists\x12;.google.ads.admanager.v1.BatchRefreshMasterPlaylistsRequest\x1A<.google.ads.admanager.v1.BatchRefreshMasterPlaylistsResponse\"Y\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02D\"?/v1/{parent=networks/*}/liveStreams:batchRefreshMasterPlaylists:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16LiveStreamServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsMessages.php new file mode 100644 index 000000000000..42336d979bbc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAE\x0D\x0A3google/ads/admanager/v1/mcm_earnings_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x16google/type/date.proto\x1A\x17google/type/money.proto\"\xFE\x06\x0A\x0BMcmEarnings\x12*\x0A\x05month\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x03H\x00\x88\x01\x01\x12]\x0A\x0Fdelegation_type\x18\x02 \x01(\x0E2:.google.ads.admanager.v1.DelegationTypeEnum.DelegationTypeB\x03\xE0A\x03H\x01\x88\x01\x01\x128\x0A\x06parent\x18\x03 \x01(\x09B(\xE0A\x03\xFAA\"\x0A admanager.googleapis.com/Network\x12%\x0A\x13parent_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x127\x0A\x05child\x18\x05 \x01(\x09B(\xE0A\x03\xFAA\"\x0A admanager.googleapis.com/Network\x12M\x0A\x0Fchild_publisher\x18\x06 \x01(\x09B/\xE0A\x03\xFAA)\x0A'admanager.googleapis.com/ChildPublisherH\x03\x88\x01\x01\x12\$\x0A\x12child_display_name\x18\x07 \x01(\x09B\x03\xE0A\x03H\x04\x88\x01\x01\x124\x0A\x0Etotal_earnings\x18\x08 \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03H\x05\x88\x01\x01\x124\x0A\x0Eparent_payment\x18\x09 \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03H\x06\x88\x01\x01\x123\x0A\x0Dchild_payment\x18\x0A \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03H\x07\x88\x01\x01\x120\x0A\x0Adeductions\x18\x0B \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03H\x08\x88\x01\x01\x12Z\x0A\x1Aearnings_product_breakdown\x18\x0C \x03(\x0B21.google.ads.admanager.v1.EarningsProductBreakdownB\x03\xE0A\x03B\x08\x0A\x06_monthB\x12\x0A\x10_delegation_typeB\x16\x0A\x14_parent_display_nameB\x12\x0A\x10_child_publisherB\x15\x0A\x13_child_display_nameB\x11\x0A\x0F_total_earningsB\x11\x0A\x0F_parent_paymentB\x10\x0A\x0E_child_paymentB\x0D\x0A\x0B_deductions\"\x98\x03\x0A\x18EarningsProductBreakdown\x12e\x0A\x0Cproduct_type\x18\x01 \x01(\x0E2J.google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductTypeH\x00\x88\x01\x01\x12/\x0A\x0Etotal_earnings\x18\x02 \x01(\x0B2\x12.google.type.MoneyH\x01\x88\x01\x01\x12/\x0A\x0Eparent_payment\x18\x03 \x01(\x0B2\x12.google.type.MoneyH\x02\x88\x01\x01\x12.\x0A\x0Dchild_payment\x18\x04 \x01(\x0B2\x12.google.type.MoneyH\x03\x88\x01\x01\x12+\x0A\x0Adeductions\x18\x05 \x01(\x0B2\x12.google.type.MoneyH\x04\x88\x01\x01B\x0F\x0A\x0D_product_typeB\x11\x0A\x0F_total_earningsB\x11\x0A\x0F_parent_paymentB\x10\x0A\x0E_child_paymentB\x0D\x0A\x0B_deductionsB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18McmEarningsMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsService.php new file mode 100644 index 000000000000..d8a71e0b97d8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEarningsService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xEA\x08\x0A2google/ads/admanager/v1/mcm_earnings_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x16google/type/date.proto\"\xEA\x01\x0A\x17FetchMcmEarningsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\x12%\x0A\x05month\x18\x07 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"\x83\x01\x0A\x18FetchMcmEarningsResponse\x12:\x0A\x0Cmcm_earnings\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.McmEarnings\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xC6\x02\x0A\x12McmEarningsService\x12\xB3\x01\x0A\x10FetchMcmEarnings\x120.google.ads.admanager.v1.FetchMcmEarningsRequest\x1A1.google.ads.admanager.v1.FetchMcmEarningsResponse\":\xDAA\x06parent\x82\xD3\xE4\x93\x02+\x12)/v1/{parent=networks/*}/mcmEarnings:fetch\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17McmEarningsServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEnums.php new file mode 100644 index 000000000000..27de4ac97313 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/McmEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB0\x06\x0A'google/ads/admanager/v1/mcm_enums.proto\x12\x17google.ads.admanager.v1\"q\x0A\x12DelegationTypeEnum\"[\x0A\x0EDelegationType\x12\x1F\x0A\x1BDELEGATION_TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EMANAGE_ACCOUNT\x10\x01\x12\x14\x0A\x10MANAGE_INVENTORY\x10\x02\"\xAC\x03\x0A\x1AMcmEarningsProductTypeEnum\"\x8D\x03\x0A\x16McmEarningsProductType\x12)\x0A%MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13AD_EXCHANGE_CONTENT\x10\x01\x12\x1C\x0A\x18AD_EXCHANGE_CONTENT_HOST\x10\x02\x12\x15\x0A\x11AD_EXCHANGE_GAMES\x10\x03\x12\x1A\x0A\x16AD_EXCHANGE_GAMES_HOST\x10\x04\x12\"\x0A\x1EAD_EXCHANGE_MOBILE_CONTENT_APP\x10\x05\x12'\x0A#AD_EXCHANGE_MOBILE_CONTENT_APP_HOST\x10\x06\x12\x15\x0A\x11AD_EXCHANGE_VIDEO\x10\x07\x12\x1A\x0A\x16AD_EXCHANGE_VIDEO_HOST\x10\x08\x12\x1C\x0A\x18AD_EXCHANGE_RESERVATIONS\x10\x09\x12\x1F\x0A\x1BAD_EXCHANGE_PREFERRED_DEALS\x10\x0A\x12\x0D\x0A\x09OFFERWALL\x10\x0B\x12\x10\x0A\x0CBUYER_DIRECT\x10\x0CB\xC1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0DMcmEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierMessages.php new file mode 100644 index 000000000000..76d74a387161 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xD0\x04\x0A5google/ads/admanager/v1/mobile_carrier_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\x89\x02\x0A\x0DMobileCarrier\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1D\x0A\x0Bregion_code\x18\x04 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01:\x84\x01\xEAA\x80\x01\x0A&admanager.googleapis.com/MobileCarrier\x127networks/{network_code}/mobileCarriers/{mobile_carrier}*\x0EmobileCarriers2\x0DmobileCarrierB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_region_codeB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1AMobileCarrierMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierService.php new file mode 100644 index 000000000000..5bc55b2d7add --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileCarrierService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xBC\x0A\x0A4google/ads/admanager/v1/mobile_carrier_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"W\x0A\x17GetMobileCarrierRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&admanager.googleapis.com/MobileCarrier\"\xC5\x01\x0A\x19ListMobileCarriersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8A\x01\x0A\x1AListMobileCarriersResponse\x12?\x0A\x0Fmobile_carriers\x18\x01 \x03(\x0B2&.google.ads.admanager.v1.MobileCarrier\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xF1\x03\x0A\x14MobileCarrierService\x12\xA3\x01\x0A\x10GetMobileCarrier\x120.google.ads.admanager.v1.GetMobileCarrierRequest\x1A&.google.ads.admanager.v1.MobileCarrier\"5\xDAA\x04name\x82\xD3\xE4\x93\x02(\x12&/v1/{name=networks/*/mobileCarriers/*}\x12\xB6\x01\x0A\x12ListMobileCarriers\x122.google.ads.admanager.v1.ListMobileCarriersRequest\x1A3.google.ads.admanager.v1.ListMobileCarriersResponse\"7\xDAA\x06parent\x82\xD3\xE4\x93\x02(\x12&/v1/{parent=networks/*}/mobileCarriers\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19MobileCarrierServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceMessages.php new file mode 100644 index 000000000000..e51bad435bc1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF8\x04\x0A4google/ads/admanager/v1/mobile_device_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xB3\x02\x0A\x0CMobileDevice\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12N\x0A\x0Cmanufacturer\x18\x03 \x01(\x09B3\xE0A\x03\xFAA-\x0A+admanager.googleapis.com/DeviceManufacturerH\x01\x88\x01\x01:~\xEAA{\x0A%admanager.googleapis.com/MobileDevice\x125networks/{network_code}/mobileDevices/{mobile_device}*\x0DmobileDevices2\x0CmobileDeviceB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_manufacturerB\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19MobileDeviceMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceService.php new file mode 100644 index 000000000000..936f41c21723 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAB\x0A\x0A3google/ads/admanager/v1/mobile_device_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"U\x0A\x16GetMobileDeviceRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%admanager.googleapis.com/MobileDevice\"\xC4\x01\x0A\x18ListMobileDevicesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x87\x01\x0A\x19ListMobileDevicesResponse\x12=\x0A\x0Emobile_devices\x18\x01 \x03(\x0B2%.google.ads.admanager.v1.MobileDevice\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xE8\x03\x0A\x13MobileDeviceService\x12\x9F\x01\x0A\x0FGetMobileDevice\x12/.google.ads.admanager.v1.GetMobileDeviceRequest\x1A%.google.ads.admanager.v1.MobileDevice\"4\xDAA\x04name\x82\xD3\xE4\x93\x02'\x12%/v1/{name=networks/*/mobileDevices/*}\x12\xB2\x01\x0A\x11ListMobileDevices\x121.google.ads.admanager.v1.ListMobileDevicesRequest\x1A2.google.ads.admanager.v1.ListMobileDevicesResponse\"6\xDAA\x06parent\x82\xD3\xE4\x93\x02'\x12%/v1/{parent=networks/*}/mobileDevices\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18MobileDeviceServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelMessages.php new file mode 100644 index 000000000000..e52ceb558d71 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB8\x05\x0A=google/ads/admanager/v1/mobile_device_submodel_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE2\x02\x0A\x14MobileDeviceSubmodel\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12I\x0A\x0Dmobile_device\x18\x03 \x01(\x09B-\xE0A\x03\xFAA'\x0A%admanager.googleapis.com/MobileDeviceH\x01\x88\x01\x01:\xA8\x01\xEAA\xA4\x01\x0A-admanager.googleapis.com/MobileDeviceSubmodel\x12Fnetworks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}*\x15mobileDeviceSubmodels2\x14mobileDeviceSubmodelB\x0F\x0A\x0D_display_nameB\x10\x0A\x0E_mobile_deviceB\xD5\x01\x0A\x1Bcom.google.ads.admanager.v1B!MobileDeviceSubmodelMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelService.php new file mode 100644 index 000000000000..a0bff961cde8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/MobileDeviceSubmodelService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xB5\x0B\x0A\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=networks/*}/mobileDeviceSubmodels\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B MobileDeviceSubmodelServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkMessages.php new file mode 100644 index 000000000000..097c4ec5671d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x8A\x07\x0A.google/ads/admanager/v1/network_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xD0\x04\x0A\x07Network\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Cnetwork_code\x18\x03 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1F\x0A\x0Dproperty_code\x18\x04 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x12\x1B\x0A\x09time_zone\x18\x05 \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x12\x1F\x0A\x0Dcurrency_code\x18\x06 \x01(\x09B\x03\xE0A\x03H\x04\x88\x01\x01\x12%\x0A\x18secondary_currency_codes\x18\x07 \x03(\x09B\x03\xE0A\x01\x12L\x0A\x16effective_root_ad_unit\x18\x08 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnitH\x05\x88\x01\x01\x12\x1E\x0A\x0Ctest_network\x18\x0A \x01(\x08B\x03\xE0A\x03H\x06\x88\x01\x01\x12\x1C\x0A\x0Anetwork_id\x18\x0B \x01(\x03B\x03\xE0A\x03H\x07\x88\x01\x01:Q\xEAAN\x0A admanager.googleapis.com/Network\x12\x17networks/{network_code}*\x08networks2\x07networkB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_network_codeB\x10\x0A\x0E_property_codeB\x0C\x0A\x0A_time_zoneB\x10\x0A\x0E_currency_codeB\x19\x0A\x17_effective_root_ad_unitB\x0F\x0A\x0D_test_networkB\x0D\x0A\x0B_network_idB\xC8\x01\x0A\x1Bcom.google.ads.admanager.v1B\x14NetworkMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkService.php new file mode 100644 index 000000000000..cb464c2179f5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NetworkService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xC4\x08\x0A-google/ads/admanager/v1/network_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"K\x0A\x11GetNetworkRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\"Y\x0A\x13ListNetworksRequest\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x05 \x01(\x05B\x03\xE0A\x01\"w\x0A\x14ListNetworksResponse\x122\x0A\x08networks\x18\x01 \x03(\x0B2 .google.ads.admanager.v1.Network\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x93\x03\x0A\x0ENetworkService\x12\x80\x01\x0A\x0AGetNetwork\x12*.google.ads.admanager.v1.GetNetworkRequest\x1A .google.ads.admanager.v1.Network\"\$\xDAA\x04name\x82\xD3\xE4\x93\x02\x17\x12\x15/v1/{name=networks/*}\x12\x81\x01\x0A\x0CListNetworks\x12,.google.ads.admanager.v1.ListNetworksRequest\x1A-.google.ads.admanager.v1.ListNetworksResponse\"\x14\x82\xD3\xE4\x93\x02\x0E\x12\x0C/v1/networks\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13NetworkServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NielsenCtvPacingEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NielsenCtvPacingEnum.php new file mode 100644 index 000000000000..ebad56433c29 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NielsenCtvPacingEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA1\x03\x0A5google/ads/admanager/v1/nielsen_ctv_pacing_enum.proto\x12\x17google.ads.admanager.v1\"w\x0A\x14NielsenCtvPacingEnum\"_\x0A\x10NielsenCtvPacing\x12\"\x0A\x1ENIELSEN_CTV_PACING_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06COVIEW\x10\x01\x12\x08\x0A\x04NONE\x10\x02\x12\x11\x0A\x0DSTRICT_COVIEW\x10\x03B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19NielsenCtvPacingEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NonGuaranteedDealPriority.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NonGuaranteedDealPriority.php new file mode 100644 index 000000000000..8038e9663963 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/NonGuaranteedDealPriority.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xE4\x03\x0A:google/ads/admanager/v1/non_guaranteed_deal_priority.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"\x8E\x01\x0A\x19NonGuaranteedDealPriority\x12_\x0A\x0Dpriority_tier\x18\x01 \x01(\x0E2>.google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTierB\x03\xE0A\x02H\x00\x88\x01\x01B\x10\x0A\x0E_priority_tierB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1ENonGuaranteedDealPriorityProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemMessages.php new file mode 100644 index 000000000000..1b2c85c30638 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB1\x04\x0A7google/ads/admanager/v1/operating_system_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE6\x01\x0A\x0FOperatingSystem\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01:\x8E\x01\xEAA\x8A\x01\x0A(admanager.googleapis.com/OperatingSystem\x12;networks/{network_code}/operatingSystems/{operating_system}*\x10operatingSystems2\x0FoperatingSystemB\x0F\x0A\x0D_display_nameB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1COperatingSystemMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemService.php new file mode 100644 index 000000000000..45585dd521a1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xDE\x0A\x0A6google/ads/admanager/v1/operating_system_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"[\x0A\x19GetOperatingSystemRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/OperatingSystem\"\xC7\x01\x0A\x1BListOperatingSystemsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x90\x01\x0A\x1CListOperatingSystemsResponse\x12C\x0A\x11operating_systems\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.OperatingSystem\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x83\x04\x0A\x16OperatingSystemService\x12\xAB\x01\x0A\x12GetOperatingSystem\x122.google.ads.admanager.v1.GetOperatingSystemRequest\x1A(.google.ads.admanager.v1.OperatingSystem\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/operatingSystems/*}\x12\xBE\x01\x0A\x14ListOperatingSystems\x124.google.ads.admanager.v1.ListOperatingSystemsRequest\x1A5.google.ads.admanager.v1.ListOperatingSystemsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/operatingSystems\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BOperatingSystemServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionMessages.php new file mode 100644 index 000000000000..4792cc3e562d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xD3\x05\x0A?google/ads/admanager/v1/operating_system_version_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xF9\x02\x0A\x16OperatingSystemVersion\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1F\x0A\x0Dmajor_version\x18\x02 \x01(\x05B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1F\x0A\x0Dminor_version\x18\x03 \x01(\x05B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1F\x0A\x0Dmicro_version\x18\x04 \x01(\x05B\x03\xE0A\x03H\x02\x88\x01\x01:\xB2\x01\xEAA\xAE\x01\x0A/admanager.googleapis.com/OperatingSystemVersion\x12Jnetworks/{network_code}/operatingSystemVersions/{operating_system_version}*\x17operatingSystemVersions2\x16operatingSystemVersionB\x10\x0A\x0E_major_versionB\x10\x0A\x0E_minor_versionB\x10\x0A\x0E_micro_versionB\xD7\x01\x0A\x1Bcom.google.ads.admanager.v1B#OperatingSystemVersionMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionService.php new file mode 100644 index 000000000000..dfe7817069b9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OperatingSystemVersionService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xD7\x0B\x0A>google/ads/admanager/v1/operating_system_version_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"i\x0A GetOperatingSystemVersionRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/admanager.googleapis.com/OperatingSystemVersion\"\xCE\x01\x0A\"ListOperatingSystemVersionsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\xA6\x01\x0A#ListOperatingSystemVersionsResponse\x12R\x0A\x19operating_system_versions\x18\x01 \x03(\x0B2/.google.ads.admanager.v1.OperatingSystemVersion\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\xC2\x04\x0A\x1DOperatingSystemVersionService\x12\xC7\x01\x0A\x19GetOperatingSystemVersion\x129.google.ads.admanager.v1.GetOperatingSystemVersionRequest\x1A/.google.ads.admanager.v1.OperatingSystemVersion\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1/{name=networks/*/operatingSystemVersions/*}\x12\xDA\x01\x0A\x1BListOperatingSystemVersions\x12;.google.ads.admanager.v1.ListOperatingSystemVersionsRequest\x1A<.google.ads.admanager.v1.ListOperatingSystemVersionsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1/{parent=networks/*}/operatingSystemVersions\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD6\x01\x0A\x1Bcom.google.ads.admanager.v1B\"OperatingSystemVersionServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderEnums.php new file mode 100644 index 000000000000..f926e5645ed6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBB\x03\x0A)google/ads/admanager/v1/order_enums.proto\x12\x17google.ads.admanager.v1\"\xA6\x01\x0A\x0FOrderStatusEnum\"\x92\x01\x0A\x0BOrderStatus\x12\x1C\x0A\x18ORDER_STATUS_UNSPECIFIED\x10\x00\x12\x09\x0A\x05DRAFT\x10\x02\x12\x14\x0A\x10PENDING_APPROVAL\x10\x03\x12\x0C\x0A\x08APPROVED\x10\x04\x12\x0F\x0A\x0BDISAPPROVED\x10\x05\x12\x0A\x0A\x06PAUSED\x10\x06\x12\x0C\x0A\x08CANCELED\x10\x07\x12\x0B\x0A\x07DELETED\x10\x08B\xC3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0FOrderEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderMessages.php new file mode 100644 index 000000000000..a2a8b1fe65e5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderMessages.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xD9\x14\x0A,google/ads/admanager/v1/order_messages.proto\x12\x17google.ads.admanager.v1\x1A0google/ads/admanager/v1/custom_field_value.proto\x1A)google/ads/admanager/v1/order_enums.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x84\x11\x0A\x05Order\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1C\x0A\x08order_id\x18\x04 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1E\x0A\x0Cprogrammatic\x18\x03 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12>\x0A\x0Atrafficker\x18\x17 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/UserH\x03\x88\x01\x01\x12H\x0A\x13advertiser_contacts\x18\x05 \x03(\x09B+\xE0A\x01\xE0A\x06\xFAA\"\x0A admanager.googleapis.com/Contact\x12A\x0A\x0Aadvertiser\x18\x06 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/CompanyH\x04\x88\x01\x01\x12A\x0A\x0Fagency_contacts\x18\x07 \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Contact\x12=\x0A\x06agency\x18\x08 \x01(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/CompanyH\x05\x88\x01\x01\x12<\x0A\x0Dapplied_teams\x18\x09 \x03(\x09B%\xE0A\x01\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\x12>\x0A\x0Feffective_teams\x18\x1C \x03(\x09B%\xE0A\x03\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\x12;\x0A\x07creator\x18\x0A \x01(\x09B%\xE0A\x03\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/UserH\x06\x88\x01\x01\x12\x1F\x0A\x0Dcurrency_code\x18\x0B \x01(\x09B\x03\xE0A\x03H\x07\x88\x01\x01\x128\x0A\x0Astart_time\x18\x13 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x08\x88\x01\x01\x126\x0A\x08end_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x09\x88\x01\x01\x12\$\x0A\x12unlimited_end_time\x18- \x01(\x08B\x03\xE0A\x03H\x0A\x88\x01\x01\x12#\x0A\x11external_order_id\x18\x0D \x01(\x05B\x03\xE0A\x01H\x0B\x88\x01\x01\x12\x1A\x0A\x08archived\x18\x0E \x01(\x08B\x03\xE0A\x03H\x0C\x88\x01\x01\x12&\x0A\x14last_modified_by_app\x18\x0F \x01(\x09B\x03\xE0A\x03H\x0D\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x10 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x0E\x88\x01\x01\x12\x17\x0A\x05notes\x18\x11 \x01(\x09B\x03\xE0A\x01H\x0F\x88\x01\x01\x12\x1B\x0A\x09po_number\x18\x12 \x01(\x09B\x03\xE0A\x01H\x10\x88\x01\x01\x12N\x0A\x06status\x18\x14 \x01(\x0E24.google.ads.admanager.v1.OrderStatusEnum.OrderStatusB\x03\xE0A\x03H\x11\x88\x01\x01\x12?\x0A\x0Bsalesperson\x18\x15 \x01(\x09B%\xE0A\x01\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/UserH\x12\x88\x01\x01\x12G\x0A\x15secondary_salespeople\x18\x16 \x03(\x09B(\xE0A\x01\xE0A\x06\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/User\x12G\x0A\x15secondary_traffickers\x18\x18 \x03(\x09B(\xE0A\x01\xE0A\x06\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/User\x12B\x0A\x0Eapplied_labels\x18\x19 \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x01\x12L\x0A\x18effective_applied_labels\x18\x1A \x03(\x0B2%.google.ads.admanager.v1.AppliedLabelB\x03\xE0A\x03\x12K\x0A\x13custom_field_values\x18& \x03(\x0B2).google.ads.admanager.v1.CustomFieldValueB\x03\xE0A\x01\x12'\x0A\x15impressions_delivered\x18) \x01(\x03B\x03\xE0A\x03H\x13\x88\x01\x01\x12(\x0A\x16total_clicks_delivered\x185 \x01(\x03B\x03\xE0A\x03H\x14\x88\x01\x01\x126\x0A\$total_viewable_impressions_delivered\x186 \x01(\x03B\x03\xE0A\x03H\x15\x88\x01\x01:Z\xEAAW\x0A\x1Eadmanager.googleapis.com/Order\x12&networks/{network_code}/orders/{order}*\x06orders2\x05orderB\x0B\x0A\x09_order_idB\x0F\x0A\x0D_display_nameB\x0F\x0A\x0D_programmaticB\x0D\x0A\x0B_traffickerB\x0D\x0A\x0B_advertiserB\x09\x0A\x07_agencyB\x0A\x0A\x08_creatorB\x10\x0A\x0E_currency_codeB\x0D\x0A\x0B_start_timeB\x0B\x0A\x09_end_timeB\x15\x0A\x13_unlimited_end_timeB\x14\x0A\x12_external_order_idB\x0B\x0A\x09_archivedB\x17\x0A\x15_last_modified_by_appB\x0E\x0A\x0C_update_timeB\x08\x0A\x06_notesB\x0C\x0A\x0A_po_numberB\x09\x0A\x07_statusB\x0E\x0A\x0C_salespersonB\x18\x0A\x16_impressions_deliveredB\x19\x0A\x17_total_clicks_deliveredB'\x0A%_total_viewable_impressions_deliveredB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12OrderMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderService.php new file mode 100644 index 000000000000..88bf27d44539 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/OrderService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xBAI\x0A+google/ads/admanager/v1/order_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"\xBA\x01\x0A\$BatchApproveAndOverbookOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\x12!\x0A\x14skip_inventory_check\x18\x03 \x01(\x08B\x03\xE0A\x01\"'\x0A%BatchApproveAndOverbookOrdersResponse\"\xAF\x01\x0A\x19BatchApproveOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\x12!\x0A\x14skip_inventory_check\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x1C\x0A\x1ABatchApproveOrdersResponse\"\xB9\x01\x0A#BatchSubmitOrdersForApprovalRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\x12!\x0A\x14skip_inventory_check\x18\x03 \x01(\x08B\x03\xE0A\x01\"&\x0A\$BatchSubmitOrdersForApprovalResponse\"\xA1\x01\x0A.BatchSubmitOrdersForApprovalAndOverbookRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"1\x0A/BatchSubmitOrdersForApprovalAndOverbookResponse\"\x8A\x01\x0A\x17BatchPauseOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1A\x0A\x18BatchPauseOrdersResponse\"\xAE\x01\x0A\x18BatchResumeOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\x12!\x0A\x14skip_inventory_check\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x1B\x0A\x19BatchResumeOrdersResponse\"\x96\x01\x0A#BatchResumeAndOverbookOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"&\x0A\$BatchResumeAndOverbookOrdersResponse\"\x9E\x01\x0A+BatchApproveOrdersWithoutReservationRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\".\x0A,BatchApproveOrdersWithoutReservationResponse\"\x8C\x01\x0A\x19BatchArchiveOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1C\x0A\x1ABatchArchiveOrdersResponse\"\x8E\x01\x0A\x1BBatchUnarchiveOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1E\x0A\x1CBatchUnarchiveOrdersResponse\"\x8B\x01\x0A\x18BatchDeleteOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1B\x0A\x19BatchDeleteOrdersResponse\"\x8F\x01\x0A\x1CBatchDisapproveOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1F\x0A\x1DBatchDisapproveOrdersResponse\"\xA8\x01\x0A5BatchDisapproveOrdersWithoutReservationChangesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"8\x0A6BatchDisapproveOrdersWithoutReservationChangesResponse\"\x8C\x01\x0A\x19BatchRetractOrdersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"\x1C\x0A\x1ABatchRetractOrdersResponse\"\xA5\x01\x0A2BatchRetractOrdersWithoutReservationChangesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Order\"5\x0A3BatchRetractOrdersWithoutReservationChangesResponse\"\xAF\x01\x0A.google.ads.admanager.v1.BatchApproveAndOverbookOrdersResponse\"P\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02;\"6/v1/{parent=networks/*}/orders:batchApproveAndOverbook:\x01*\x12\xEC\x01\x0A\x1CBatchSubmitOrdersForApproval\x12<.google.ads.admanager.v1.BatchSubmitOrdersForApprovalRequest\x1A=.google.ads.admanager.v1.BatchSubmitOrdersForApprovalResponse\"O\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02:\"5/v1/{parent=networks/*}/orders:batchSubmitForApproval:\x01*\x12\x98\x02\x0A'BatchSubmitOrdersForApprovalAndOverbook\x12G.google.ads.admanager.v1.BatchSubmitOrdersForApprovalAndOverbookRequest\x1AH.google.ads.admanager.v1.BatchSubmitOrdersForApprovalAndOverbookResponse\"Z\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02E\"@/v1/{parent=networks/*}/orders:batchSubmitForApprovalAndOverbook:\x01*\x12\xD0\x02\x0A5BatchSubmitOrdersForApprovalWithoutReservationChanges\x12U.google.ads.admanager.v1.BatchSubmitOrdersForApprovalWithoutReservationChangesRequest\x1AV.google.ads.admanager.v1.BatchSubmitOrdersForApprovalWithoutReservationChangesResponse\"h\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02S\"N/v1/{parent=networks/*}/orders:batchSubmitForApprovalWithoutReservationChanges:\x01*\x12\xBC\x01\x0A\x10BatchPauseOrders\x120.google.ads.admanager.v1.BatchPauseOrdersRequest\x1A1.google.ads.admanager.v1.BatchPauseOrdersResponse\"C\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02.\")/v1/{parent=networks/*}/orders:batchPause:\x01*\x12\xC0\x01\x0A\x11BatchResumeOrders\x121.google.ads.admanager.v1.BatchResumeOrdersRequest\x1A2.google.ads.admanager.v1.BatchResumeOrdersResponse\"D\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/orders:batchResume:\x01*\x12\xEC\x01\x0A\x1CBatchResumeAndOverbookOrders\x12<.google.ads.admanager.v1.BatchResumeAndOverbookOrdersRequest\x1A=.google.ads.admanager.v1.BatchResumeAndOverbookOrdersResponse\"O\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02:\"5/v1/{parent=networks/*}/orders:batchResumeAndOverbook:\x01*\x12\x8C\x02\x0A\$BatchApproveOrdersWithoutReservation\x12D.google.ads.admanager.v1.BatchApproveOrdersWithoutReservationRequest\x1AE.google.ads.admanager.v1.BatchApproveOrdersWithoutReservationResponse\"W\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02B\"=/v1/{parent=networks/*}/orders:batchApproveWithoutReservation:\x01*\x12\xC4\x01\x0A\x12BatchArchiveOrders\x122.google.ads.admanager.v1.BatchArchiveOrdersRequest\x1A3.google.ads.admanager.v1.BatchArchiveOrdersResponse\"E\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/orders:batchArchive:\x01*\x12\xCC\x01\x0A\x14BatchUnarchiveOrders\x124.google.ads.admanager.v1.BatchUnarchiveOrdersRequest\x1A5.google.ads.admanager.v1.BatchUnarchiveOrdersResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/orders:batchUnarchive:\x01*\x12\xC0\x01\x0A\x11BatchDeleteOrders\x121.google.ads.admanager.v1.BatchDeleteOrdersRequest\x1A2.google.ads.admanager.v1.BatchDeleteOrdersResponse\"D\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/orders:batchDelete:\x01*\x12\xD0\x01\x0A\x15BatchDisapproveOrders\x125.google.ads.admanager.v1.BatchDisapproveOrdersRequest\x1A6.google.ads.admanager.v1.BatchDisapproveOrdersResponse\"H\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/orders:batchDisapprove:\x01*\x12\xB4\x02\x0A.BatchDisapproveOrdersWithoutReservationChanges\x12N.google.ads.admanager.v1.BatchDisapproveOrdersWithoutReservationChangesRequest\x1AO.google.ads.admanager.v1.BatchDisapproveOrdersWithoutReservationChangesResponse\"a\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02L\"G/v1/{parent=networks/*}/orders:batchDisapproveWithoutReservationChanges:\x01*\x12\xC4\x01\x0A\x12BatchRetractOrders\x122.google.ads.admanager.v1.BatchRetractOrdersRequest\x1A3.google.ads.admanager.v1.BatchRetractOrdersResponse\"E\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/orders:batchRetract:\x01*\x12\xA8\x02\x0A+BatchRetractOrdersWithoutReservationChanges\x12K.google.ads.admanager.v1.BatchRetractOrdersWithoutReservationChangesRequest\x1AL.google.ads.admanager.v1.BatchRetractOrdersWithoutReservationChangesResponse\"^\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02I\"D/v1/{parent=networks/*}/orders:batchRetractWithoutReservationChanges:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11OrderServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PacingDeviceCategorizationEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PacingDeviceCategorizationEnum.php new file mode 100644 index 000000000000..df9ad394babc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PacingDeviceCategorizationEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xC4\x03\x0A?google/ads/admanager/v1/pacing_device_categorization_enum.proto\x12\x17google.ads.admanager.v1\"\x85\x01\x0A\x1EPacingDeviceCategorizationEnum\"c\x0A\x1APacingDeviceCategorization\x12,\x0A(PACING_DEVICE_CATEGORIZATION_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06GOOGLE\x10\x01\x12\x0B\x0A\x07NIELSEN\x10\x02B\xD7\x01\x0A\x1Bcom.google.ads.admanager.v1B#PacingDeviceCategorizationEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementEnums.php new file mode 100644 index 000000000000..ccbbd0b02661 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x8E\x03\x0A-google/ads/admanager/v1/placement_enums.proto\x12\x17google.ads.admanager.v1\"r\x0A\x13PlacementStatusEnum\"[\x0A\x0FPlacementStatus\x12 \x0A\x1CPLACEMENT_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\x12\x0C\x0A\x08ARCHIVED\x10\x03B\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13PlacementEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementMessages.php new file mode 100644 index 000000000000..5bf4784b8409 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xB2\x07\x0A0google/ads/admanager/v1/placement_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xB2\x04\x0A\x09Placement\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1B\x0A\x0Cplacement_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12 \x0A\x0Eplacement_code\x18\x05 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x12V\x0A\x06status\x18\x06 \x01(\x0E2<.google.ads.admanager.v1.PlacementStatusEnum.PlacementStatusB\x03\xE0A\x03H\x03\x88\x01\x01\x12B\x0A\x11targeted_ad_units\x18\x07 \x03(\x09B'\xE0A\x01\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit\x129\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x04\x88\x01\x01:n\xEAAk\x0A\"admanager.googleapis.com/Placement\x12.networks/{network_code}/placements/{placement}*\x0Aplacements2\x09placementB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x11\x0A\x0F_placement_codeB\x09\x0A\x07_statusB\x0E\x0A\x0C_update_timeB\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16PlacementMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementService.php new file mode 100644 index 000000000000..48a414485edb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PlacementService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x96 \x0A/google/ads/admanager/v1/placement_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"O\x0A\x13GetPlacementRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/Placement\"\xC1\x01\x0A\x15ListPlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"}\x0A\x16ListPlacementsResponse\x126\x0A\x0Aplacements\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.Placement\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x8E\x01\x0A\x16CreatePlacementRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12:\x0A\x09placement\x18\x02 \x01(\x0B2\".google.ads.admanager.v1.PlacementB\x03\xE0A\x02\"\xA0\x01\x0A\x1CBatchCreatePlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12F\x0A\x08requests\x18\x02 \x03(\x0B2/.google.ads.admanager.v1.CreatePlacementRequestB\x03\xE0A\x02\"W\x0A\x1DBatchCreatePlacementsResponse\x126\x0A\x0Aplacements\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.Placement\"\x8A\x01\x0A\x16UpdatePlacementRequest\x12:\x0A\x09placement\x18\x01 \x01(\x0B2\".google.ads.admanager.v1.PlacementB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xA0\x01\x0A\x1CBatchUpdatePlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12F\x0A\x08requests\x18\x02 \x03(\x0B2/.google.ads.admanager.v1.UpdatePlacementRequestB\x03\xE0A\x02\"W\x0A\x1DBatchUpdatePlacementsResponse\x126\x0A\x0Aplacements\x18\x01 \x03(\x0B2\".google.ads.admanager.v1.Placement\"\x95\x01\x0A\x1EBatchActivatePlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x129\x0A\x05names\x18\x03 \x03(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/Placement\"!\x0A\x1FBatchActivatePlacementsResponse\"\x97\x01\x0A BatchDeactivatePlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x129\x0A\x05names\x18\x03 \x03(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/Placement\"#\x0A!BatchDeactivatePlacementsResponse\"\x94\x01\x0A\x1DBatchArchivePlacementsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x129\x0A\x05names\x18\x03 \x03(\x09B*\xE0A\x02\xFAA\$\x0A\"admanager.googleapis.com/Placement\" \x0A\x1EBatchArchivePlacementsResponse2\x83\x0F\x0A\x10PlacementService\x12\x93\x01\x0A\x0CGetPlacement\x12,.google.ads.admanager.v1.GetPlacementRequest\x1A\".google.ads.admanager.v1.Placement\"1\xDAA\x04name\x82\xD3\xE4\x93\x02\$\x12\"/v1/{name=networks/*/placements/*}\x12\xA6\x01\x0A\x0EListPlacements\x12..google.ads.admanager.v1.ListPlacementsRequest\x1A/.google.ads.admanager.v1.ListPlacementsResponse\"3\xDAA\x06parent\x82\xD3\xE4\x93\x02\$\x12\"/v1/{parent=networks/*}/placements\x12\xB0\x01\x0A\x0FCreatePlacement\x12/.google.ads.admanager.v1.CreatePlacementRequest\x1A\".google.ads.admanager.v1.Placement\"H\xDAA\x10parent,placement\x82\xD3\xE4\x93\x02/\"\"/v1/{parent=networks/*}/placements:\x09placement\x12\xBF\x01\x0A\x0FUpdatePlacement\x12/.google.ads.admanager.v1.UpdatePlacementRequest\x1A\".google.ads.admanager.v1.Placement\"W\xDAA\x15placement,update_mask\x82\xD3\xE4\x93\x0292,/v1/{placement.name=networks/*/placements/*}:\x09placement\x12\xD3\x01\x0A\x15BatchCreatePlacements\x125.google.ads.admanager.v1.BatchCreatePlacementsRequest\x1A6.google.ads.admanager.v1.BatchCreatePlacementsResponse\"K\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/placements:batchCreate:\x01*\x12\xD3\x01\x0A\x15BatchUpdatePlacements\x125.google.ads.admanager.v1.BatchUpdatePlacementsRequest\x1A6.google.ads.admanager.v1.BatchUpdatePlacementsResponse\"K\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x023\"./v1/{parent=networks/*}/placements:batchUpdate:\x01*\x12\xD8\x01\x0A\x17BatchActivatePlacements\x127.google.ads.admanager.v1.BatchActivatePlacementsRequest\x1A8.google.ads.admanager.v1.BatchActivatePlacementsResponse\"J\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x025\"0/v1/{parent=networks/*}/placements:batchActivate:\x01*\x12\xE0\x01\x0A\x19BatchDeactivatePlacements\x129.google.ads.admanager.v1.BatchDeactivatePlacementsRequest\x1A:.google.ads.admanager.v1.BatchDeactivatePlacementsResponse\"L\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x027\"2/v1/{parent=networks/*}/placements:batchDeactivate:\x01*\x12\xD4\x01\x0A\x16BatchArchivePlacements\x126.google.ads.admanager.v1.BatchArchivePlacementsRequest\x1A7.google.ads.admanager.v1.BatchArchivePlacementsResponse\"I\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x024\"//v1/{parent=networks/*}/placements:batchArchive:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15PlacementServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealMessages.php new file mode 100644 index 000000000000..4e2dd1db71d8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealMessages.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xB8\x11\x0A;google/ads/admanager/v1/private_auction_deal_messages.proto\x12\x17google.ads.admanager.v1\x1A:google/ads/admanager/v1/non_guaranteed_deal_priority.proto\x1A7google/ads/admanager/v1/private_marketplace_enums.proto\x1A\"google/ads/admanager/v1/size.proto\x1A'google/ads/admanager/v1/targeting.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/type/money.proto\"\xC9\x0C\x0A\x12PrivateAuctionDeal\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12+\x0A\x17private_auction_deal_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\$\x0A\x12private_auction_id\x18\x03 \x01(\x03B\x03\xE0A\x05H\x01\x88\x01\x01\x12.\x0A\x1Cprivate_auction_display_name\x18\x14 \x01(\x09B\x03\xE0A\x03H\x02\x88\x01\x01\x12\"\x0A\x10buyer_account_id\x18\x04 \x01(\x03B\x03\xE0A\x05H\x03\x88\x01\x01\x12\"\x0A\x10external_deal_id\x18\x05 \x01(\x03B\x03\xE0A\x03H\x04\x88\x01\x01\x12?\x0A\x09targeting\x18\x06 \x01(\x0B2\".google.ads.admanager.v1.TargetingB\x03\xE0A\x01H\x05\x88\x01\x01\x126\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x06\x88\x01\x01\x121\x0A\x0Bfloor_price\x18\x09 \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x02H\x07\x88\x01\x01\x12:\x0A\x0Ecreative_sizes\x18\x12 \x03(\x0B2\x1D.google.ads.admanager.v1.SizeB\x03\xE0A\x01\x12p\x0A\x06status\x18\x0A \x01(\x0E2V.google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatusB\x03\xE0A\x03H\x08\x88\x01\x01\x12*\x0A\x18auction_priority_enabled\x18\x0B \x01(\x08B\x03\xE0A\x01H\x09\x88\x01\x01\x12(\x0A\x16block_override_enabled\x18\x0C \x01(\x08B\x03\xE0A\x01H\x0A\x88\x01\x01\x12u\x0A\x15buyer_permission_type\x18\x0D \x01(\x0E2L.google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionTypeB\x03\xE0A\x01H\x0B\x88\x01\x01\x12S\x0A\x0Abuyer_data\x18\x0E \x01(\x0B25.google.ads.admanager.v1.PrivateAuctionDeal.BuyerDataB\x03\xE0A\x01H\x0C\x88\x01\x01\x12S\x0A\x0Ddeal_priority\x18\x16 \x01(\x0B22.google.ads.admanager.v1.NonGuaranteedDealPriorityB\x03\xE0A\x01H\x0D\x88\x01\x01\x129\x0A\x0Bcreate_time\x18\x0F \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x0E\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x10 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x0F\x88\x01\x01\x1A&\x0A\x09BuyerData\x12\x19\x0A\x0Cbuyer_emails\x18\x01 \x03(\x09B\x03\xE0A\x01:\x9E\x01\xEAA\x9A\x01\x0A+admanager.googleapis.com/PrivateAuctionDeal\x12Bnetworks/{network_code}/privateAuctionDeals/{private_auction_deal}*\x13privateAuctionDeals2\x12privateAuctionDealB\x1A\x0A\x18_private_auction_deal_idB\x15\x0A\x13_private_auction_idB\x1F\x0A\x1D_private_auction_display_nameB\x13\x0A\x11_buyer_account_idB\x13\x0A\x11_external_deal_idB\x0C\x0A\x0A_targetingB\x0B\x0A\x09_end_timeB\x0E\x0A\x0C_floor_priceB\x09\x0A\x07_statusB\x1B\x0A\x19_auction_priority_enabledB\x19\x0A\x17_block_override_enabledB\x18\x0A\x16_buyer_permission_typeB\x0D\x0A\x0B_buyer_dataB\x10\x0A\x0E_deal_priorityB\x0E\x0A\x0C_create_timeB\x0E\x0A\x0C_update_timeB\xD3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1FPrivateAuctionDealMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealService.php new file mode 100644 index 000000000000..0c6a3cfa5005 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionDealService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x82\x12\x0A:google/ads/admanager/v1/private_auction_deal_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"a\x0A\x1CGetPrivateAuctionDealRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+admanager.googleapis.com/PrivateAuctionDeal\"\xCA\x01\x0A\x1EListPrivateAuctionDealsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x9A\x01\x0A\x1FListPrivateAuctionDealsResponse\x12J\x0A\x15private_auction_deals\x18\x01 \x03(\x0B2+.google.ads.admanager.v1.PrivateAuctionDeal\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\xAB\x01\x0A\x1FCreatePrivateAuctionDealRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12N\x0A\x14private_auction_deal\x18\x02 \x01(\x0B2+.google.ads.admanager.v1.PrivateAuctionDealB\x03\xE0A\x02\"\xA7\x01\x0A\x1FUpdatePrivateAuctionDealRequest\x12N\x0A\x14private_auction_deal\x18\x01 \x01(\x0B2+.google.ads.admanager.v1.PrivateAuctionDealB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x012\x93\x08\x0A\x19PrivateAuctionDealService\x12\xB7\x01\x0A\x15GetPrivateAuctionDeal\x125.google.ads.admanager.v1.GetPrivateAuctionDealRequest\x1A+.google.ads.admanager.v1.PrivateAuctionDeal\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=networks/*/privateAuctionDeals/*}\x12\xCA\x01\x0A\x17ListPrivateAuctionDeals\x127.google.ads.admanager.v1.ListPrivateAuctionDealsRequest\x1A8.google.ads.admanager.v1.ListPrivateAuctionDealsResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=networks/*}/privateAuctionDeals\x12\xEA\x01\x0A\x18CreatePrivateAuctionDeal\x128.google.ads.admanager.v1.CreatePrivateAuctionDealRequest\x1A+.google.ads.admanager.v1.PrivateAuctionDeal\"g\xDAA\x1Bparent,private_auction_deal\x82\xD3\xE4\x93\x02C\"+/v1/{parent=networks/*}/privateAuctionDeals:\x14private_auction_deal\x12\x85\x02\x0A\x18UpdatePrivateAuctionDeal\x128.google.ads.admanager.v1.UpdatePrivateAuctionDealRequest\x1A+.google.ads.admanager.v1.PrivateAuctionDeal\"\x81\x01\xDAA private_auction_deal,update_mask\x82\xD3\xE4\x93\x02X2@/v1/{private_auction_deal.name=networks/*/privateAuctionDeals/*}:\x14private_auction_deal\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1EPrivateAuctionDealServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionMessages.php new file mode 100644 index 000000000000..e5043a55703b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xBC\x07\x0A6google/ads/admanager/v1/private_auction_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD2\x04\x0A\x0EPrivateAuction\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12&\x0A\x12private_auction_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12C\x0A\x14seller_contact_users\x18\x09 \x03(\x09B%\xE0A\x01\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/User\x12\x1A\x0A\x08archived\x18\x06 \x01(\x08B\x03\xE0A\x03H\x03\x88\x01\x01\x129\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x04\x88\x01\x01\x129\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x05\x88\x01\x01:\x89\x01\xEAA\x85\x01\x0A'admanager.googleapis.com/PrivateAuction\x129networks/{network_code}/privateAuctions/{private_auction}*\x0FprivateAuctions2\x0EprivateAuctionB\x15\x0A\x13_private_auction_idB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x0B\x0A\x09_archivedB\x0E\x0A\x0C_create_timeB\x0E\x0A\x0C_update_timeB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BPrivateAuctionMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionService.php new file mode 100644 index 000000000000..50df6c0af425 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateAuctionService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xE8\x10\x0A5google/ads/admanager/v1/private_auction_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"Y\x0A\x18GetPrivateAuctionRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'admanager.googleapis.com/PrivateAuction\"\xC6\x01\x0A\x1AListPrivateAuctionsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x8D\x01\x0A\x1BListPrivateAuctionsResponse\x12A\x0A\x10private_auctions\x18\x01 \x03(\x0B2'.google.ads.admanager.v1.PrivateAuction\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x9E\x01\x0A\x1BCreatePrivateAuctionRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12E\x0A\x0Fprivate_auction\x18\x02 \x01(\x0B2'.google.ads.admanager.v1.PrivateAuctionB\x03\xE0A\x02\"\x9A\x01\x0A\x1BUpdatePrivateAuctionRequest\x12E\x0A\x0Fprivate_auction\x18\x01 \x01(\x0B2'.google.ads.admanager.v1.PrivateAuctionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x012\xB5\x07\x0A\x15PrivateAuctionService\x12\xA7\x01\x0A\x11GetPrivateAuction\x121.google.ads.admanager.v1.GetPrivateAuctionRequest\x1A'.google.ads.admanager.v1.PrivateAuction\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)\x12'/v1/{name=networks/*/privateAuctions/*}\x12\xBA\x01\x0A\x13ListPrivateAuctions\x123.google.ads.admanager.v1.ListPrivateAuctionsRequest\x1A4.google.ads.admanager.v1.ListPrivateAuctionsResponse\"8\xDAA\x06parent\x82\xD3\xE4\x93\x02)\x12'/v1/{parent=networks/*}/privateAuctions\x12\xD0\x01\x0A\x14CreatePrivateAuction\x124.google.ads.admanager.v1.CreatePrivateAuctionRequest\x1A'.google.ads.admanager.v1.PrivateAuction\"Y\xDAA\x16parent,private_auction\x82\xD3\xE4\x93\x02:\"'/v1/{parent=networks/*}/privateAuctions:\x0Fprivate_auction\x12\xE5\x01\x0A\x14UpdatePrivateAuction\x124.google.ads.admanager.v1.UpdatePrivateAuctionRequest\x1A'.google.ads.admanager.v1.PrivateAuction\"n\xDAA\x1Bprivate_auction,update_mask\x82\xD3\xE4\x93\x02J27/v1/{private_auction.name=networks/*/privateAuctions/*}:\x0Fprivate_auction\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCE\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1APrivateAuctionServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateMarketplaceEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateMarketplaceEnums.php new file mode 100644 index 000000000000..aa8386af5e06 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/PrivateMarketplaceEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xFF\x03\x0A7google/ads/admanager/v1/private_marketplace_enums.proto\x12\x17google.ads.admanager.v1\"\xCF\x01\x0A PrivateMarketplaceDealStatusEnum\"\xAA\x01\x0A\x1CPrivateMarketplaceDealStatus\x12/\x0A+PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x0C\x0A\x08CANCELED\x10\x03\x12\x11\x0A\x0DSELLER_PAUSED\x10\x04\x12\x10\x0A\x0CBUYER_PAUSED\x10\x05\x12\x0D\x0A\x09COMPLETED\x10\x06B\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CPrivateMarketplaceEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerMessages.php new file mode 100644 index 000000000000..7f6f2748b3ce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB3\x07\x0A9google/ads/admanager/v1/programmatic_buyer_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\xE4\x04\x0A\x11ProgrammaticBuyer\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\"\x0A\x10buyer_account_id\x18\x02 \x01(\x03B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12#\x0A\x11parent_account_id\x18\x06 \x01(\x03B\x03\xE0A\x03H\x02\x88\x01\x01\x12#\x0A\x11partner_client_id\x18\x07 \x01(\x09B\x03\xE0A\x03H\x03\x88\x01\x01\x12\x18\x0A\x06agency\x18\x09 \x01(\x08B\x03\xE0A\x03H\x04\x88\x01\x01\x12)\x0A\x17preferred_deals_enabled\x18\x0C \x01(\x08B\x03\xE0A\x03H\x05\x88\x01\x01\x121\x0A\x1Fprogrammatic_guaranteed_enabled\x18\x0D \x01(\x08B\x03\xE0A\x03H\x06\x88\x01\x01:\x98\x01\xEAA\x94\x01\x0A*admanager.googleapis.com/ProgrammaticBuyer\x12?networks/{network_code}/programmaticBuyers/{programmatic_buyer}*\x12programmaticBuyers2\x11programmaticBuyerB\x13\x0A\x11_buyer_account_idB\x0F\x0A\x0D_display_nameB\x14\x0A\x12_parent_account_idB\x14\x0A\x12_partner_client_idB\x09\x0A\x07_agencyB\x1A\x0A\x18_preferred_deals_enabledB\"\x0A _programmatic_guaranteed_enabledB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1EProgrammaticBuyerMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerService.php new file mode 100644 index 000000000000..3c0598aca36c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ProgrammaticBuyerService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x80\x0B\x0A8google/ads/admanager/v1/programmatic_buyer_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"_\x0A\x1BGetProgrammaticBuyerRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*admanager.googleapis.com/ProgrammaticBuyer\"\xC9\x01\x0A\x1DListProgrammaticBuyersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x96\x01\x0A\x1EListProgrammaticBuyersResponse\x12G\x0A\x13programmatic_buyers\x18\x01 \x03(\x0B2*.google.ads.admanager.v1.ProgrammaticBuyer\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x95\x04\x0A\x18ProgrammaticBuyerService\x12\xB3\x01\x0A\x14GetProgrammaticBuyer\x124.google.ads.admanager.v1.GetProgrammaticBuyerRequest\x1A*.google.ads.admanager.v1.ProgrammaticBuyer\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1/{name=networks/*/programmaticBuyers/*}\x12\xC6\x01\x0A\x16ListProgrammaticBuyers\x126.google.ads.admanager.v1.ListProgrammaticBuyersRequest\x1A7.google.ads.admanager.v1.ListProgrammaticBuyersResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1/{parent=networks/*}/programmaticBuyers\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DProgrammaticBuyerServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReachPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReachPartnerEnum.php new file mode 100644 index 000000000000..bac20247ce4c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReachPartnerEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xF7\x03\x0A0google/ads/admanager/v1/reach_partner_enum.proto\x12\x17google.ads.admanager.v1\"\xD5\x01\x0A\x10ReachPartnerEnum\"\xC0\x01\x0A\x0CReachPartner\x12\x1D\x0A\x19REACH_PARTNER_UNSPECIFIED\x10\x00\x12\x14\x0A\x10AUDIENCE_PROJECT\x10\x01\x12\x0C\x0A\x08COMSCORE\x10\x02\x12\x0A\x0A\x06GEMIUS\x10\x03\x12\x0C\x0A\x08ISPOT_TV\x10\x05\x12\x19\x0A\x15KANTAR_MILLWARD_BROWN\x10\x06\x12\x0B\x0A\x07NIELSEN\x10\x07\x12\x08\x0A\x04NONE\x10\x08\x12\x0D\x0A\x09VIDEO_AMP\x10\x09\x12\x12\x0A\x0EVIDEO_RESEARCH\x10\x0AB\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15ReachPartnerEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportDefinition.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportDefinition.php new file mode 100644 index 000000000000..743151c80dcf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportDefinition.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xDC\x86\x03\x0A/google/ads/admanager/v1/report_definition.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x16google/type/date.proto\"\x81\x84\x03\x0A\x10ReportDefinition\x12L\x0A\x0Adimensions\x18\x01 \x03(\x0E23.google.ads.admanager.v1.ReportDefinition.DimensionB\x03\xE0A\x02\x12F\x0A\x07metrics\x18\x02 \x03(\x0E20.google.ads.admanager.v1.ReportDefinition.MetricB\x03\xE0A\x02\x12F\x0A\x07filters\x18\x03 \x03(\x0B20.google.ads.admanager.v1.ReportDefinition.FilterB\x03\xE0A\x01\x12W\x0A\x10time_zone_source\x18\x14 \x01(\x0E28.google.ads.admanager.v1.ReportDefinition.TimeZoneSourceB\x03\xE0A\x01\x12\x16\x0A\x09time_zone\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x05 \x01(\x09B\x03\xE0A\x01\x12L\x0A\x0Adate_range\x18\x06 \x01(\x0B23.google.ads.admanager.v1.ReportDefinition.DateRangeB\x03\xE0A\x02\x12\\\x0A\x15comparison_date_range\x18\x09 \x01(\x0B23.google.ads.admanager.v1.ReportDefinition.DateRangeB\x03\xE0A\x01H\x00\x88\x01\x01\x12+\x0A\x1Ecms_metadata_dimension_key_ids\x18\x13 \x03(\x03B\x03\xE0A\x01\x12%\x0A\x18custom_dimension_key_ids\x18\x07 \x03(\x03B\x03\xE0A\x01\x12\"\x0A\x15ekv_dimension_key_ids\x18\x15 \x03(\x03B\x03\xE0A\x01\x12'\x0A\x1Aline_item_custom_field_ids\x18\x0B \x03(\x03B\x03\xE0A\x01\x12#\x0A\x16order_custom_field_ids\x18\x0C \x03(\x03B\x03\xE0A\x01\x12&\x0A\x19creative_custom_field_ids\x18\x0D \x03(\x03B\x03\xE0A\x01\x12N\x0A\x0Breport_type\x18\x08 \x01(\x0E24.google.ads.admanager.v1.ReportDefinition.ReportTypeB\x03\xE0A\x02\x12[\x0A\x12time_period_column\x18\x0A \x01(\x0E2:.google.ads.admanager.v1.ReportDefinition.TimePeriodColumnB\x03\xE0A\x01\x12B\x0A\x05flags\x18\x0E \x03(\x0B2..google.ads.admanager.v1.ReportDefinition.FlagB\x03\xE0A\x01\x12B\x0A\x05sorts\x18\x0F \x03(\x0B2..google.ads.admanager.v1.ReportDefinition.SortB\x03\xE0A\x01\x12#\x0A\x16expanded_compatibility\x18\x16 \x01(\x08B\x03\xE0A\x01\x1A\x9E\x01\x0A\x05Field\x12H\x0A\x09dimension\x18\x01 \x01(\x0E23.google.ads.admanager.v1.ReportDefinition.DimensionH\x00\x12B\x0A\x06metric\x18\x02 \x01(\x0E20.google.ads.admanager.v1.ReportDefinition.MetricH\x00B\x07\x0A\x05field\x1A\xA3\x09\x0A\x09DateRange\x12S\x0A\x05fixed\x18\x01 \x01(\x0B2B.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRangeH\x00\x12Y\x0A\x08relative\x18\x02 \x01(\x0E2E.google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRangeH\x00\x1Af\x0A\x0EFixedDateRange\x12*\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\x12(\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"\xEA\x06\x0A\x11RelativeDateRange\x12#\x0A\x1FRELATIVE_DATE_RANGE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05TODAY\x10\x01\x12\x0D\x0A\x09YESTERDAY\x10\x02\x12\x0D\x0A\x09THIS_WEEK\x10\x03\x12\x15\x0A\x11THIS_WEEK_TO_DATE\x10\x1D\x12\x1A\x0A\x16THIS_WEEK_TO_YESTERDAY\x10(\x12\x0E\x0A\x0ATHIS_MONTH\x10\x04\x12\x16\x0A\x12THIS_MONTH_TO_DATE\x10\x1A\x12\x1B\x0A\x17THIS_MONTH_TO_YESTERDAY\x10)\x12\x10\x0A\x0CTHIS_QUARTER\x10\x05\x12\x18\x0A\x14THIS_QUARTER_TO_DATE\x10\x1B\x12\x1D\x0A\x19THIS_QUARTER_TO_YESTERDAY\x10*\x12\x0D\x0A\x09THIS_YEAR\x10\x06\x12\x15\x0A\x11THIS_YEAR_TO_DATE\x10\x1C\x12\x1A\x0A\x16THIS_YEAR_TO_YESTERDAY\x10+\x12\x0D\x0A\x09LAST_WEEK\x10\x07\x12\x1D\x0A\x19LAST_WEEK_STARTING_SUNDAY\x10'\x12\x0E\x0A\x0ALAST_MONTH\x10\x08\x12\x10\x0A\x0CLAST_QUARTER\x10\x09\x12\x0D\x0A\x09LAST_YEAR\x10\x0A\x12\x0F\x0A\x0BLAST_7_DAYS\x10\x0B\x12\x10\x0A\x0CLAST_30_DAYS\x10\x0C\x12\x10\x0A\x0CLAST_60_DAYS\x10\x0D\x12\x10\x0A\x0CLAST_90_DAYS\x10\x0E\x12\x10\x0A\x0CLAST_93_DAYS\x10&\x12\x11\x0A\x0DLAST_180_DAYS\x10\x0F\x12\x11\x0A\x0DLAST_360_DAYS\x10\x10\x12\x11\x0A\x0DLAST_365_DAYS\x10\x11\x12\x11\x0A\x0DLAST_3_MONTHS\x10\x12\x12\x11\x0A\x0DLAST_6_MONTHS\x10\x13\x12\x12\x0A\x0ELAST_12_MONTHS\x10\x14\x12\x11\x0A\x0DALL_AVAILABLE\x10\x15\x12\x0C\x0A\x08TOMORROW\x10\x1E\x12\x10\x0A\x0CNEXT_90_DAYS\x10\x1F\x12\x0E\x0A\x0ANEXT_MONTH\x10 \x12\x11\x0A\x0DNEXT_3_MONTHS\x10!\x12\x12\x0A\x0ENEXT_12_MONTHS\x10\"\x12\x0D\x0A\x09NEXT_WEEK\x10#\x12\x10\x0A\x0CNEXT_QUARTER\x10\$\x12\x18\x0A\x14TO_END_OF_NEXT_MONTH\x10%\x12\x13\x0A\x0FPREVIOUS_PERIOD\x10\x16\x12\x1D\x0A\x19SAME_PERIOD_PREVIOUS_YEAR\x10\x18B\x11\x0A\x0Fdate_range_type\x1A\xCF\x08\x0A\x06Filter\x12T\x0A\x0Cfield_filter\x18\x01 \x01(\x0B2<.google.ads.admanager.v1.ReportDefinition.Filter.FieldFilterH\x00\x12F\x0A\x0Anot_filter\x18\x02 \x01(\x0B20.google.ads.admanager.v1.ReportDefinition.FilterH\x00\x12Q\x0A\x0Aand_filter\x18\x03 \x01(\x0B2;.google.ads.admanager.v1.ReportDefinition.Filter.FilterListH\x00\x12P\x0A\x09or_filter\x18\x04 \x01(\x0B2;.google.ads.admanager.v1.ReportDefinition.Filter.FilterListH\x00\x1A\xE6\x03\x0A\x0BFieldFilter\x12C\x0A\x05field\x18\x01 \x01(\x0B2/.google.ads.admanager.v1.ReportDefinition.FieldB\x03\xE0A\x02\x12R\x0A\x09operation\x18\x02 \x01(\x0E2:.google.ads.admanager.v1.ReportDefinition.Filter.OperationB\x03\xE0A\x02\x129\x0A\x06values\x18\x03 \x03(\x0B2\$.google.ads.admanager.v1.ReportValueB\x03\xE0A\x02\x12H\x0A\x05slice\x18\x04 \x01(\x0B2/.google.ads.admanager.v1.ReportDefinition.SliceB\x03\xE0A\x01H\x00\x88\x01\x01\x12#\x0A\x11time_period_index\x18\x05 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x12^\x0A\x11metric_value_type\x18\x06 \x01(\x0E29.google.ads.admanager.v1.ReportDefinition.MetricValueTypeB\x03\xE0A\x01H\x02\x88\x01\x01B\x08\x0A\x06_sliceB\x14\x0A\x12_time_period_indexB\x14\x0A\x12_metric_value_type\x1AT\x0A\x0AFilterList\x12F\x0A\x07filters\x18\x01 \x03(\x0B20.google.ads.admanager.v1.ReportDefinition.FilterB\x03\xE0A\x02\"\xBA\x01\x0A\x09Operation\x12\x06\x0A\x02IN\x10\x00\x12\x0A\x0A\x06NOT_IN\x10\x01\x12\x0C\x0A\x08CONTAINS\x10\x02\x12\x10\x0A\x0CNOT_CONTAINS\x10\x03\x12\x0D\x0A\x09LESS_THAN\x10\x04\x12\x14\x0A\x10LESS_THAN_EQUALS\x10\x05\x12\x10\x0A\x0CGREATER_THAN\x10\x06\x12\x17\x0A\x13GREATER_THAN_EQUALS\x10\x07\x12\x0B\x0A\x07BETWEEN\x10\x08\x12\x0B\x0A\x07MATCHES\x10\x09\x12\x0F\x0A\x0BNOT_MATCHES\x10\x0AB\x06\x0A\x04type\x1A\xE9\x02\x0A\x04Sort\x12C\x0A\x05field\x18\x01 \x01(\x0B2/.google.ads.admanager.v1.ReportDefinition.FieldB\x03\xE0A\x02\x12\x17\x0A\x0Adescending\x18\x02 \x01(\x08B\x03\xE0A\x01\x12H\x0A\x05slice\x18\x03 \x01(\x0B2/.google.ads.admanager.v1.ReportDefinition.SliceB\x03\xE0A\x01H\x00\x88\x01\x01\x12#\x0A\x11time_period_index\x18\x04 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x12^\x0A\x11metric_value_type\x18\x05 \x01(\x0E29.google.ads.admanager.v1.ReportDefinition.MetricValueTypeB\x03\xE0A\x01H\x02\x88\x01\x01B\x08\x0A\x06_sliceB\x14\x0A\x12_time_period_indexB\x14\x0A\x12_metric_value_type\x1A\x8E\x01\x0A\x05Slice\x12K\x0A\x09dimension\x18\x01 \x01(\x0E23.google.ads.admanager.v1.ReportDefinition.DimensionB\x03\xE0A\x02\x128\x0A\x05value\x18\x02 \x01(\x0B2\$.google.ads.admanager.v1.ReportValueB\x03\xE0A\x02\x1Aa\x0A\x04Flag\x12F\x0A\x07filters\x18\x01 \x03(\x0B20.google.ads.admanager.v1.ReportDefinition.FilterB\x03\xE0A\x02\x12\x11\x0A\x04name\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xB6\x02\x0A\x0AReportType\x12\x1B\x0A\x17REPORT_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AHISTORICAL\x10\x01\x12\x17\x0A\x13FUTURE_SELL_THROUGH\x10\x04\x12\x09\x0A\x05REACH\x10\x05\x12\x19\x0A\x15PRIVACY_AND_MESSAGING\x10\x06\x12\x18\x0A\x14REVENUE_VERIFICATION\x10\x07\x12\x13\x0A\x0FPARTNER_FINANCE\x10\x08\x12\x0C\x0A\x08AD_SPEED\x10\x0D\x12\x13\x0A\x0FREAL_TIME_VIDEO\x10\x0F\x12\x18\x0A\x14YOUTUBE_CONSOLIDATED\x10\x10\x12\x19\x0A\x15ADS_TRAFFIC_NAVIGATOR\x10\x15\x12\x1A\x0A\x16OFF_PROPERTY_CAMPAIGNS\x10\x16\x12\x19\x0A\x15ON_PLATFORM_MULTICALL\x10\x18\"\xFD\xBF\x01\x0A\x09Dimension\x12\x19\x0A\x15DIMENSION_UNSPECIFIED\x10\x00\x12#\x0A\x1EACTIVE_VIEW_MEASUREMENT_SOURCE\x10\xBF\x04\x12(\x0A#ACTIVE_VIEW_MEASUREMENT_SOURCE_NAME\x10\xC0\x04\x12\x1D\x0A\x18ADVERTISER_CREDIT_STATUS\x10\xDB\x03\x12\"\x0A\x1DADVERTISER_CREDIT_STATUS_NAME\x10\xDC\x03\x12\x1B\x0A\x16ADVERTISER_DOMAIN_NAME\x10\xF2\x01\x12\x1B\x0A\x16ADVERTISER_EXTERNAL_ID\x10\xE4\x01\x12\x12\x0A\x0DADVERTISER_ID\x10\x83\x01\x12\x16\x0A\x11ADVERTISER_LABELS\x10\xE6\x01\x12\x19\x0A\x14ADVERTISER_LABEL_IDS\x10\xE5\x01\x12\x14\x0A\x0FADVERTISER_NAME\x10\x84\x01\x12\x1F\x0A\x1AADVERTISER_PRIMARY_CONTACT\x10\xE3\x01\x12\x16\x0A\x11ADVERTISER_STATUS\x10\xD7\x03\x12\x1B\x0A\x16ADVERTISER_STATUS_NAME\x10\xD8\x03\x12\x14\x0A\x0FADVERTISER_TYPE\x10\xD9\x03\x12\x19\x0A\x14ADVERTISER_TYPE_NAME\x10\xDA\x03\x12\x18\x0A\x13ADVERTISER_VERTICAL\x10\xC4\x04\x12\x10\x0A\x0BADX_PRODUCT\x10\xF3\x03\x12\x15\x0A\x10ADX_PRODUCT_NAME\x10\xF4\x03\x12\x18\x0A\x13AD_EXPERIENCES_TYPE\x10\x81\x05\x12\x1D\x0A\x18AD_EXPERIENCES_TYPE_NAME\x10\x82\x05\x12\x10\x0A\x0BAD_LOCATION\x10\x86\x03\x12\x15\x0A\x10AD_LOCATION_NAME\x10\x87\x03\x12\x15\x0A\x10AD_REQUEST_SIZES\x10\x9D\x04\x12\"\x0A\x1DAD_TECHNOLOGY_PROVIDER_DOMAIN\x10\xEC\x04\x12\x1E\x0A\x19AD_TECHNOLOGY_PROVIDER_ID\x10\xED\x04\x12 \x0A\x1BAD_TECHNOLOGY_PROVIDER_NAME\x10\xEE\x04\x12\x0C\x0A\x07AD_TYPE\x10\xF1\x03\x12\x11\x0A\x0CAD_TYPE_NAME\x10\xF2\x03\x12\x10\x0A\x0CAD_UNIT_CODE\x10@\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_1\x10A\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_10\x10J\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_11\x10K\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_12\x10L\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_13\x10M\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_14\x10N\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_15\x10O\x12\x19\x0A\x15AD_UNIT_CODE_LEVEL_16\x10P\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_2\x10B\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_3\x10C\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_4\x10D\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_5\x10E\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_6\x10F\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_7\x10G\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_8\x10H\x12\x18\x0A\x14AD_UNIT_CODE_LEVEL_9\x10I\x12\x0E\x0A\x0AAD_UNIT_ID\x10\x19\x12\x18\x0A\x14AD_UNIT_ID_ALL_LEVEL\x10\x1B\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_1\x10\x1E\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_10\x100\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_11\x102\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_12\x104\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_13\x106\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_14\x108\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_15\x10:\x12\x17\x0A\x13AD_UNIT_ID_LEVEL_16\x10<\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_2\x10 \x12\x16\x0A\x12AD_UNIT_ID_LEVEL_3\x10\"\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_4\x10\$\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_5\x10&\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_6\x10(\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_7\x10*\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_8\x10,\x12\x16\x0A\x12AD_UNIT_ID_LEVEL_9\x10.\x12\x19\x0A\x14AD_UNIT_ID_TOP_LEVEL\x10\x8E\x01\x12\x10\x0A\x0CAD_UNIT_NAME\x10\x1A\x12\x1A\x0A\x16AD_UNIT_NAME_ALL_LEVEL\x10\x1D\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_1\x10\x1F\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_10\x101\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_11\x103\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_12\x105\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_13\x107\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_14\x109\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_15\x10;\x12\x19\x0A\x15AD_UNIT_NAME_LEVEL_16\x10=\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_2\x10!\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_3\x10#\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_4\x10%\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_5\x10'\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_6\x10)\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_7\x10+\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_8\x10-\x12\x18\x0A\x14AD_UNIT_NAME_LEVEL_9\x10/\x12\x1B\x0A\x16AD_UNIT_NAME_TOP_LEVEL\x10\x8F\x01\x12\x19\x0A\x15AD_UNIT_REWARD_AMOUNT\x10?\x12\x17\x0A\x13AD_UNIT_REWARD_TYPE\x10>\x12\x13\x0A\x0EAD_UNIT_STATUS\x10\xCE\x01\x12\x18\x0A\x13AD_UNIT_STATUS_NAME\x10\xCF\x01\x12\x16\x0A\x11AGENCY_LEVEL_1_ID\x10\xB5\x04\x12\x18\x0A\x13AGENCY_LEVEL_1_NAME\x10\xB6\x04\x12\x16\x0A\x11AGENCY_LEVEL_2_ID\x10\xB7\x04\x12\x18\x0A\x13AGENCY_LEVEL_2_NAME\x10\xB8\x04\x12\x16\x0A\x11AGENCY_LEVEL_3_ID\x10\xB9\x04\x12\x18\x0A\x13AGENCY_LEVEL_3_NAME\x10\xBA\x04\x12\x10\x0A\x0BAGE_BRACKET\x10\xFC\x03\x12\x15\x0A\x10AGE_BRACKET_NAME\x10\xC6\x04\x12\x1A\x0A\x15ANALYTICS_PROPERTY_ID\x10\xDD\x05\x12\x1C\x0A\x17ANALYTICS_PROPERTY_NAME\x10\xFF\x05\x12-\x0A(APP_TRACKING_TRANSPARENCY_CONSENT_STATUS\x10\xBA\x03\x122\x0A-APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME\x10\xBB\x03\x12\x10\x0A\x0BAPP_VERSION\x10\x88\x03\x12\x19\x0A\x14AUCTION_PACKAGE_DEAL\x10\xC3\x04\x12\x1C\x0A\x17AUCTION_PACKAGE_DEAL_ID\x10\xBB\x04\x12\x1E\x0A\x19AUDIENCE_SEGMENT_BILLABLE\x10\xD2\x04\x12&\x0A!AUDIENCE_SEGMENT_DATA_PROVIDER_ID\x10\xE5\x04\x12(\x0A#AUDIENCE_SEGMENT_DATA_PROVIDER_NAME\x10\xE6\x04\x12!\x0A\x1CAUDIENCE_SEGMENT_ID_BILLABLE\x10\xD3\x04\x12!\x0A\x1CAUDIENCE_SEGMENT_ID_TARGETED\x10\xC8\x04\x12\x1E\x0A\x19AUDIENCE_SEGMENT_TARGETED\x10\xC9\x04\x12.\x0A)AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE\x10\xDD\x04\x124\x0A/AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE\x10\xDE\x04\x123\x0A.AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE\x10\xDF\x04\x121\x0A,AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE\x10\xE0\x04\x12-\x0A(AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE\x10\xE1\x04\x123\x0A.AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE\x10\xE2\x04\x124\x0A/AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE\x10\xE3\x04\x12-\x0A(AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE\x10\xE4\x04\x12-\x0A(AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE\x10\xE7\x04\x123\x0A.AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE\x10\xE8\x04\x12#\x0A\x1EAUDIENCE_SEGMENT_TARGETED_SIZE\x10\xEA\x04\x12%\x0A AUDIENCE_SEGMENT_TARGETED_STATUS\x10\xF4\x04\x12*\x0A%AUDIENCE_SEGMENT_TARGETED_STATUS_NAME\x10\xE9\x04\x12-\x0A(AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE\x10\xEB\x04\x12\x1B\x0A\x16AUTO_REFRESHED_TRAFFIC\x10\xA5\x03\x12 \x0A\x1BAUTO_REFRESHED_TRAFFIC_NAME\x10\xA6\x03\x12\x18\x0A\x13BIDDER_ENCRYPTED_ID\x10\xED\x03\x12\x10\x0A\x0BBIDDER_NAME\x10\xEE\x03\x12\x0E\x0A\x09BID_RANGE\x10\xA7\x05\x12\x19\x0A\x14BID_REJECTION_REASON\x10\xD7\x04\x12\x1E\x0A\x19BID_REJECTION_REASON_NAME\x10\xD8\x04\x12\x12\x0A\x0DBRANDING_TYPE\x10\xFF\x02\x12\x17\x0A\x12BRANDING_TYPE_NAME\x10\x80\x03\x12\x14\x0A\x10BROWSER_CATEGORY\x10w\x12\x19\x0A\x15BROWSER_CATEGORY_NAME\x10x\x12\x0F\x0A\x0ABROWSER_ID\x10\xEB\x01\x12\x11\x0A\x0CBROWSER_NAME\x10\xEC\x01\x12\x15\x0A\x10BUYER_NETWORK_ID\x10\xC0\x03\x12\x17\x0A\x12BUYER_NETWORK_NAME\x10\xC1\x03\x12!\x0A\x1CCALLOUT_STATUS_CATEGORY_NAME\x10\xCD\x04\x12\x0F\x0A\x0ACARRIER_ID\x10\xF1\x02\x12\x11\x0A\x0CCARRIER_NAME\x10\xF0\x02\x12\x0C\x0A\x07CHANNEL\x10\xF5\x03\x12\x17\x0A\x12CHILD_NETWORK_CODE\x10\x9E\x04\x12\x15\x0A\x10CHILD_NETWORK_ID\x10\xA0\x04\x12\x17\x0A\x12CHILD_PARTNER_NAME\x10\x9F\x04\x12\x0C\x0A\x07CITY_ID\x10\xCB\x03\x12\x0E\x0A\x09CITY_NAME\x10\xC4\x03\x12\x1D\x0A\x18CLASSIFIED_ADVERTISER_ID\x10\x85\x01\x12\x1F\x0A\x1ACLASSIFIED_ADVERTISER_NAME\x10\x86\x01\x12\x18\x0A\x13CLASSIFIED_BRAND_ID\x10\xF3\x01\x12\x1A\x0A\x15CLASSIFIED_BRAND_NAME\x10\xF4\x01\x12\x16\x0A\x11CONTENT_BUNDLE_ID\x10\xCC\x03\x12\x18\x0A\x13CONTENT_BUNDLE_NAME\x10\xCD\x03\x12)\x0A\$CONTENT_CMS_METADATA_KV_NAMESPACE_ID\x10\xCE\x03\x12+\x0A&CONTENT_CMS_METADATA_KV_NAMESPACE_NAME\x10\xCF\x03\x12\x15\x0A\x10CONTENT_CMS_NAME\x10\x83\x05\x12\x19\x0A\x14CONTENT_CMS_VIDEO_ID\x10\x84\x05\x12\x0F\x0A\x0ACONTENT_ID\x10\xF6\x01\x12\x1D\x0A\x18CONTENT_MAPPING_PRESENCE\x10\xDB\x05\x12\"\x0A\x1DCONTENT_MAPPING_PRESENCE_NAME\x10\xDC\x05\x12\x11\x0A\x0CCONTENT_NAME\x10\xF7\x01\x12\x0E\x0A\x09CONTINENT\x10\xD5\x03\x12\x13\x0A\x0ECONTINENT_NAME\x10\xD6\x03\x12\x11\x0A\x0CCOUNTRY_CODE\x10\xD2\x03\x12\x0E\x0A\x0ACOUNTRY_ID\x10\x0B\x12\x10\x0A\x0CCOUNTRY_NAME\x10\x0C\x12\x1A\x0A\x15CREATIVE_BILLING_TYPE\x10\xEE\x02\x12\x1F\x0A\x1ACREATIVE_BILLING_TYPE_NAME\x10\xEF\x02\x12\x1F\x0A\x1ACREATIVE_CLICK_THROUGH_URL\x10\xAE\x01\x12\x10\x0A\x0BCREATIVE_ID\x10\x8A\x01\x12\x12\x0A\x0DCREATIVE_NAME\x10\x8B\x01\x12\x1D\x0A\x18CREATIVE_OR_CREATIVE_SET\x10\xAA\x05\x12\"\x0A\x1DCREATIVE_OR_CREATIVE_SET_NAME\x10\xAB\x05\x12 \x0A\x1BCREATIVE_POLICIES_FILTERING\x10\xC7\x05\x12%\x0A CREATIVE_POLICIES_FILTERING_NAME\x10\xC8\x05\x12#\x0A\x1ECREATIVE_PROTECTIONS_FILTERING\x10\xC0\x05\x12(\x0A#CREATIVE_PROTECTIONS_FILTERING_NAME\x10\xC1\x05\x12\x1B\x0A\x16CREATIVE_SET_ROLE_TYPE\x10\xAE\x05\x12 \x0A\x1BCREATIVE_SET_ROLE_TYPE_NAME\x10\xAF\x05\x12%\x0A CREATIVE_SSL_COMPLIANCE_OVERRIDE\x10\x90\x06\x12*\x0A%CREATIVE_SSL_COMPLIANCE_OVERRIDE_NAME\x10\x92\x06\x12\x1D\x0A\x18CREATIVE_SSL_SCAN_RESULT\x10\x91\x06\x12\"\x0A\x1DCREATIVE_SSL_SCAN_RESULT_NAME\x10\x93\x06\x12!\x0A\x1CCREATIVE_TARGET_AD_UNIT_SIZE\x10\x82\x06\x12\x18\x0A\x13CREATIVE_TECHNOLOGY\x10\x94\x01\x12\x1D\x0A\x18CREATIVE_TECHNOLOGY_NAME\x10\x95\x01\x12 \x0A\x1BCREATIVE_THIRD_PARTY_VENDOR\x10\xE9\x02\x12\x12\x0A\x0DCREATIVE_TYPE\x10\xD8\x02\x12\x17\x0A\x12CREATIVE_TYPE_NAME\x10\xD9\x02\x12\x17\x0A\x12CREATIVE_VENDOR_ID\x10\xC2\x05\x12\x19\x0A\x14CREATIVE_VENDOR_NAME\x10\xC3\x05\x12(\x0A#CREATIVE_VIDEO_REDIRECT_THIRD_PARTY\x10\xB2\x04\x12\x0F\x0A\x0ACURATOR_ID\x10\xBC\x04\x12\x11\x0A\x0CCURATOR_NAME\x10\xBD\x04\x12\x14\x0A\x0FCUSTOM_EVENT_ID\x10\xE1\x05\x12\x16\x0A\x11CUSTOM_EVENT_NAME\x10\xDF\x05\x12\x16\x0A\x11CUSTOM_EVENT_TYPE\x10\xE0\x05\x12\x1B\x0A\x16CUSTOM_EVENT_TYPE_NAME\x10\xE2\x05\x12\x13\x0A\x0ECUSTOM_SPOT_ID\x10\xA7\x03\x12\x15\x0A\x10CUSTOM_SPOT_NAME\x10\xA8\x03\x12\x08\x0A\x04DATE\x10\x03\x12\x0F\x0A\x0BDAY_OF_WEEK\x10\x04\x12\x12\x0A\x0DDEAL_BUYER_ID\x10\xF0\x01\x12\x14\x0A\x0FDEAL_BUYER_NAME\x10\xF1\x01\x12\x0C\x0A\x07DEAL_ID\x10\xB4\x03\x12\x10\x0A\x0BDEAL_ID_ALL\x10\x8D\x06\x12\x0E\x0A\x09DEAL_NAME\x10\xB5\x03\x12\x1F\x0A\x1ADECLARED_ADVERTISER_DOMAIN\x10\x9C\x06\x12\x1F\x0A\x1ADELIVERED_SECURE_SIGNAL_ID\x10\xB5\x02\x12!\x0A\x1CDELIVERED_SECURE_SIGNAL_NAME\x10\xB6\x02\x12\x12\x0A\x0EDEMAND_CHANNEL\x10\x09\x12\x17\x0A\x13DEMAND_CHANNEL_NAME\x10\x0A\x12\x12\x0A\x0DDEMAND_SOURCE\x10\xD0\x04\x12\x16\x0A\x11DEMAND_SOURCE_ALL\x10\x8E\x06\x12\x17\x0A\x12DEMAND_SOURCE_NAME\x10\xD1\x04\x12\x15\x0A\x11DEMAND_SUBCHANNEL\x10\x16\x12\x1A\x0A\x16DEMAND_SUBCHANNEL_NAME\x10\x17\x12\x0B\x0A\x06DEVICE\x10\xE2\x01\x12\x13\x0A\x0FDEVICE_CATEGORY\x10\x0F\x12\x18\x0A\x14DEVICE_CATEGORY_NAME\x10\x10\x12\x1B\x0A\x16DEVICE_MANUFACTURER_ID\x10\x8D\x04\x12\x1D\x0A\x18DEVICE_MANUFACTURER_NAME\x10\x8E\x04\x12\x14\x0A\x0FDEVICE_MODEL_ID\x10\x8F\x04\x12\x16\x0A\x11DEVICE_MODEL_NAME\x10\x90\x04\x12\x14\x0A\x0BDEVICE_NAME\x10\xE1\x01\x1A\x02\x08\x01\x12\x10\x0A\x0BDSP_SEAT_ID\x10\xB4\x04\x12\x1C\x0A\x17DYNAMIC_ALLOCATION_TYPE\x10\xF6\x03\x12!\x0A\x1CDYNAMIC_ALLOCATION_TYPE_NAME\x10\xF7\x03\x12\x11\x0A\x0CESP_DELIVERY\x10\xEF\x04\x12\x16\x0A\x11ESP_DELIVERY_NAME\x10\xF0\x04\x12\x11\x0A\x0CESP_PRESENCE\x10\xF1\x04\x12\x16\x0A\x11ESP_PRESENCE_NAME\x10\xF2\x04\x12\x1D\x0A\x18EXCHANGE_BIDDING_DEAL_ID\x10\xCB\x05\x12\x1F\x0A\x1AEXCHANGE_BIDDING_DEAL_TYPE\x10\xCA\x05\x12\$\x0A\x1FEXCHANGE_BIDDING_DEAL_TYPE_NAME\x10\xD3\x05\x12\$\x0A\x1FEXCHANGE_THIRD_PARTY_COMPANY_ID\x10\xB9\x01\x12&\x0A!EXCHANGE_THIRD_PARTY_COMPANY_NAME\x10\xBA\x01\x12\x1F\x0A\x1AFIRST_LOOK_PRICING_RULE_ID\x10\xF8\x01\x12!\x0A\x1CFIRST_LOOK_PRICING_RULE_NAME\x10\xF9\x01\x12\x1A\x0A\x15FIRST_PARTY_ID_STATUS\x10\x94\x03\x12\x1F\x0A\x1AFIRST_PARTY_ID_STATUS_NAME\x10\x95\x03\x12\x0B\x0A\x06GENDER\x10\xFD\x03\x12\x10\x0A\x0BGENDER_NAME\x10\xC7\x04\x12\x1F\x0A\x1AGOOGLE_ANALYTICS_STREAM_ID\x10\x87\x04\x12!\x0A\x1CGOOGLE_ANALYTICS_STREAM_NAME\x10\x88\x04\x12\x19\x0A\x14HBT_YIELD_PARTNER_ID\x10\x93\x05\x12\x1B\x0A\x16HBT_YIELD_PARTNER_NAME\x10\x94\x05\x12#\x0A\x1EHEADER_BIDDER_INTEGRATION_TYPE\x10\xCE\x05\x12(\x0A#HEADER_BIDDER_INTEGRATION_TYPE_NAME\x10\xCF\x05\x12\x08\x0A\x04HOUR\x10d\x12\x1F\x0A\x1AIMPRESSION_COUNTING_METHOD\x10\xC1\x04\x12\$\x0A\x1FIMPRESSION_COUNTING_METHOD_NAME\x10\xC2\x04\x12\x15\x0A\x10INTERACTION_TYPE\x10\xDF\x01\x12\x1A\x0A\x15INTERACTION_TYPE_NAME\x10\xE0\x01\x12\x0D\x0A\x08INTEREST\x10\xFE\x03\x12\x14\x0A\x10INVENTORY_FORMAT\x10\x11\x12\x19\x0A\x15INVENTORY_FORMAT_NAME\x10\x12\x12\"\x0A\x1DINVENTORY_SHARE_ASSIGNMENT_ID\x10\x88\x05\x12\$\x0A\x1FINVENTORY_SHARE_ASSIGNMENT_NAME\x10\x89\x05\x12\x1C\x0A\x17INVENTORY_SHARE_OUTCOME\x10\xDB\x04\x12!\x0A\x1CINVENTORY_SHARE_OUTCOME_NAME\x10\xDC\x04\x12&\x0A!INVENTORY_SHARE_PARTNER_AD_SERVER\x10\x8C\x05\x12+\x0A&INVENTORY_SHARE_PARTNER_AD_SERVER_NAME\x10\x8D\x05\x12)\x0A\$INVENTORY_SHARE_TARGET_SHARE_PERCENT\x10\x8E\x05\x12\x19\x0A\x14INVENTORY_SHARE_TYPE\x10\x8A\x05\x12\x1E\x0A\x19INVENTORY_SHARE_TYPE_NAME\x10\x8B\x05\x12\x12\x0A\x0EINVENTORY_TYPE\x10\x13\x12\x17\x0A\x13INVENTORY_TYPE_NAME\x10\x14\x12\x12\x0A\x0DIS_ADX_DIRECT\x10\xFE\x02\x12\x19\x0A\x14IS_CURATION_TARGETED\x10\xBE\x04\x12\x0F\x0A\x0AIS_DROPPED\x10\xD0\x03\x12\x17\x0A\x12IS_FIRST_LOOK_DEAL\x10\x91\x03\x12\x12\x0A\x0DKEY_VALUES_ID\x10\xD6\x01\x12\x14\x0A\x0FKEY_VALUES_NAME\x10\xD7\x01\x12\x13\x0A\x0EKEY_VALUES_SET\x10\xC9\x05\x12\x15\x0A\x10LINE_ITEM_AGENCY\x10\x97\x05\x12\x17\x0A\x12LINE_ITEM_ARCHIVED\x10\xBC\x01\x12(\x0A#LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS\x10\xB6\x05\x12(\x0A#LINE_ITEM_COMPANION_DELIVERY_OPTION\x10\xCC\x01\x12-\x0A(LINE_ITEM_COMPANION_DELIVERY_OPTION_NAME\x10\xCD\x01\x12\x1E\x0A\x19LINE_ITEM_COMPUTED_STATUS\x10\xFA\x01\x12#\x0A\x1ELINE_ITEM_COMPUTED_STATUS_NAME\x10\xFB\x01\x12!\x0A\x1DLINE_ITEM_CONTRACTED_QUANTITY\x10\\\x12\x1B\x0A\x17LINE_ITEM_COST_PER_UNIT\x10U\x12\x18\x0A\x13LINE_ITEM_COST_TYPE\x10\xD4\x01\x12\x1D\x0A\x18LINE_ITEM_COST_TYPE_NAME\x10\xD5\x01\x12 \x0A\x1BLINE_ITEM_CREATIVE_END_DATE\x10\xB0\x01\x12%\x0A LINE_ITEM_CREATIVE_ROTATION_TYPE\x10\xBD\x01\x12*\x0A%LINE_ITEM_CREATIVE_ROTATION_TYPE_NAME\x10\xBE\x01\x12\"\x0A\x1DLINE_ITEM_CREATIVE_START_DATE\x10\xAF\x01\x12\x1C\x0A\x17LINE_ITEM_CURRENCY_CODE\x10\xB4\x01\x12 \x0A\x1CLINE_ITEM_DELIVERY_INDICATOR\x10W\x12!\x0A\x1CLINE_ITEM_DELIVERY_RATE_TYPE\x10\xBF\x01\x12&\x0A!LINE_ITEM_DELIVERY_RATE_TYPE_NAME\x10\xC0\x01\x12 \x0A\x1BLINE_ITEM_DISCOUNT_ABSOLUTE\x10\xC3\x01\x12\"\x0A\x1DLINE_ITEM_DISCOUNT_PERCENTAGE\x10\xC4\x01\x12\x16\x0A\x12LINE_ITEM_END_DATE\x10Q\x12\x1B\x0A\x17LINE_ITEM_END_DATE_TIME\x10S\x12\x1F\x0A\x1ALINE_ITEM_ENVIRONMENT_TYPE\x10\xC9\x01\x12\$\x0A\x1FLINE_ITEM_ENVIRONMENT_TYPE_NAME\x10\xCA\x01\x12\x1E\x0A\x1ALINE_ITEM_EXTERNAL_DEAL_ID\x10a\x12\x19\x0A\x15LINE_ITEM_EXTERNAL_ID\x10V\x12\x1C\x0A\x17LINE_ITEM_FREQUENCY_CAP\x10\x80\x02\x12\x10\x0A\x0CLINE_ITEM_ID\x10\x01\x12\x15\x0A\x10LINE_ITEM_LABELS\x10\x9B\x05\x12\x18\x0A\x13LINE_ITEM_LABEL_IDS\x10\x99\x05\x12#\x0A\x1ELINE_ITEM_LAST_MODIFIED_BY_APP\x10\xB5\x01\x12\x1D\x0A\x19LINE_ITEM_LIFETIME_CLICKS\x10_\x12\"\x0A\x1ELINE_ITEM_LIFETIME_IMPRESSIONS\x10^\x12+\x0A'LINE_ITEM_LIFETIME_VIEWABLE_IMPRESSIONS\x10`\x12\x16\x0A\x12LINE_ITEM_MAKEGOOD\x10Y\x12\x12\x0A\x0ELINE_ITEM_NAME\x10\x02\x12\$\x0A LINE_ITEM_NON_CPD_BOOKED_REVENUE\x10b\x12\x19\x0A\x15LINE_ITEM_OPTIMIZABLE\x10Z\x12\x18\x0A\x13LINE_ITEM_PO_NUMBER\x10\x9D\x05\x12 \x0A\x1BLINE_ITEM_PRIMARY_GOAL_TYPE\x10\xD2\x01\x12%\x0A LINE_ITEM_PRIMARY_GOAL_TYPE_NAME\x10\xD3\x01\x12)\x0A%LINE_ITEM_PRIMARY_GOAL_UNITS_ABSOLUTE\x10]\x12,\x0A'LINE_ITEM_PRIMARY_GOAL_UNITS_PERCENTAGE\x10\x8C\x03\x12%\x0A LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE\x10\xD0\x01\x12*\x0A%LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE_NAME\x10\xD1\x01\x12\x16\x0A\x12LINE_ITEM_PRIORITY\x10\x18\x12!\x0A\x1CLINE_ITEM_RESERVATION_STATUS\x10\xB0\x02\x12&\x0A!LINE_ITEM_RESERVATION_STATUS_NAME\x10\xB1\x02\x12\x1A\x0A\x15LINE_ITEM_SALESPERSON\x10\x9F\x05\x12\$\x0A\x1FLINE_ITEM_SECONDARY_SALESPEOPLE\x10\xA1\x05\x12\$\x0A\x1FLINE_ITEM_SECONDARY_TRAFFICKERS\x10\xA3\x05\x12\x18\x0A\x14LINE_ITEM_START_DATE\x10R\x12\x1D\x0A\x19LINE_ITEM_START_DATE_TIME\x10T\x12\x19\x0A\x14LINE_ITEM_TRAFFICKER\x10\xA5\x05\x12\x13\x0A\x0ELINE_ITEM_TYPE\x10\xC1\x01\x12\x18\x0A\x13LINE_ITEM_TYPE_NAME\x10\xC2\x01\x12\x1C\x0A\x17LINE_ITEM_UNLIMITED_END\x10\xBB\x01\x12!\x0A\x1DLINE_ITEM_VALUE_COST_PER_UNIT\x10X\x12 \x0A\x1BLINE_ITEM_WEB_PROPERTY_CODE\x10\xB3\x01\x12!\x0A\x1CMASTER_COMPANION_CREATIVE_ID\x10\x8C\x01\x12#\x0A\x1EMASTER_COMPANION_CREATIVE_NAME\x10\x8D\x01\x12\x13\x0A\x0EMEDIATION_TYPE\x10\xBD\x05\x12\x18\x0A\x13MEDIATION_TYPE_NAME\x10\xF2\x05\x12\x1F\x0A\x1AMEDIATION_YIELD_PARTNER_ID\x10\x95\x05\x12!\x0A\x1CMEDIATION_YIELD_PARTNER_NAME\x10\x96\x05\x12\x0D\x0A\x08METRO_ID\x10\xC5\x03\x12\x0F\x0A\x0AMETRO_NAME\x10\xC6\x03\x12\x14\x0A\x0FMOBILE_APP_FREE\x10\x80\x01\x12\x18\x0A\x13MOBILE_APP_ICON_URL\x10\x81\x01\x12\x11\x0A\x0DMOBILE_APP_ID\x10{\x12\x13\x0A\x0FMOBILE_APP_NAME\x10\x7F\x12 \x0A\x1BMOBILE_APP_OWNERSHIP_STATUS\x10\xB7\x02\x12%\x0A MOBILE_APP_OWNERSHIP_STATUS_NAME\x10\xB8\x02\x12\x14\x0A\x10MOBILE_APP_STORE\x10}\x12\x1A\x0A\x15MOBILE_APP_STORE_NAME\x10\xF5\x01\x12\x19\x0A\x15MOBILE_INVENTORY_TYPE\x10c\x12\x1E\x0A\x1AMOBILE_INVENTORY_TYPE_NAME\x10\x15\x12\x19\x0A\x14MOBILE_RENDERING_SDK\x10\x86\x05\x12\x1E\x0A\x19MOBILE_RENDERING_SDK_NAME\x10\x87\x05\x12\x1D\x0A\x18MOBILE_SDK_MAJOR_VERSION\x10\xB4\x05\x12\x1D\x0A\x18MOBILE_SDK_MINOR_VERSION\x10\xB5\x05\x12\x1C\x0A\x17MOBILE_SDK_VERSION_NAME\x10\x82\x01\x12\x0E\x0A\x0AMONTH_YEAR\x10\x06\x12\x18\x0A\x13NATIVE_AD_FORMAT_ID\x10\xFF\x01\x12\x1A\x0A\x15NATIVE_AD_FORMAT_NAME\x10\xFE\x01\x12\x14\x0A\x0FNATIVE_STYLE_ID\x10\xFD\x01\x12\x16\x0A\x11NATIVE_STYLE_NAME\x10\xFC\x01\x12\x19\x0A\x14NIELSEN_DEMOGRAPHICS\x10\xB7\x05\x12\x1E\x0A\x19NIELSEN_DEMOGRAPHICS_NAME\x10\x80\x06\x12\x13\x0A\x0ENIELSEN_DEVICE\x10\xB8\x05\x12\x18\x0A\x13NIELSEN_DEVICE_NAME\x10\xB9\x05\x12\x16\x0A\x11NIELSEN_IN_TARGET\x10\x81\x06\x12\x1D\x0A\x18NIELSEN_RESTATEMENT_DATE\x10\xBA\x05\x12\x14\x0A\x0FNIELSEN_SEGMENT\x10\xBB\x05\x12\x15\x0A\x10NIELSEN_SITE_URL\x10\xBC\x05\x12!\x0A\x1CNO_FILL_REASON_CATEGORY_NAME\x10\xCB\x04\x12\x1D\x0A\x19OPERATING_SYSTEM_CATEGORY\x10u\x12\"\x0A\x1EOPERATING_SYSTEM_CATEGORY_NAME\x10v\x12 \x0A\x1BOPERATING_SYSTEM_VERSION_ID\x10\xEE\x01\x12\"\x0A\x1DOPERATING_SYSTEM_VERSION_NAME\x10\xED\x01\x12\x16\x0A\x11OPTIMIZATION_TYPE\x10\xFF\x04\x12\x1B\x0A\x16OPTIMIZATION_TYPE_NAME\x10\x80\x05\x12\x11\x0A\x0CORDER_AGENCY\x10\x96\x01\x12\x14\x0A\x0FORDER_AGENCY_ID\x10\x97\x01\x12\x15\x0A\x10ORDER_BOOKED_CPC\x10\x98\x01\x12\x15\x0A\x10ORDER_BOOKED_CPM\x10\x99\x01\x12\x1A\x0A\x15ORDER_DELIVERY_STATUS\x10\xE7\x01\x12\x1F\x0A\x1AORDER_DELIVERY_STATUS_NAME\x10\xEF\x01\x12\x13\x0A\x0EORDER_END_DATE\x10\x9A\x01\x12\x18\x0A\x13ORDER_END_DATE_TIME\x10\x9B\x01\x12\x16\x0A\x11ORDER_EXTERNAL_ID\x10\x9C\x01\x12\x0C\x0A\x08ORDER_ID\x10\x07\x12\x11\x0A\x0CORDER_LABELS\x10\xAA\x01\x12\x14\x0A\x0FORDER_LABEL_IDS\x10\xAB\x01\x12\x1A\x0A\x15ORDER_LIFETIME_CLICKS\x10\x9E\x01\x12\x1F\x0A\x1AORDER_LIFETIME_IMPRESSIONS\x10\x9F\x01\x12\x0E\x0A\x0AORDER_NAME\x10\x08\x12\x14\x0A\x0FORDER_PO_NUMBER\x10\xA0\x01\x12\x17\x0A\x12ORDER_PROGRAMMATIC\x10\x9D\x01\x12\x16\x0A\x11ORDER_SALESPERSON\x10\xA1\x01\x12\x19\x0A\x14ORDER_SALESPERSON_ID\x10\xF5\x04\x12 \x0A\x1BORDER_SECONDARY_SALESPEOPLE\x10\xA4\x01\x12#\x0A\x1EORDER_SECONDARY_SALESPEOPLE_ID\x10\xA5\x01\x12 \x0A\x1BORDER_SECONDARY_TRAFFICKERS\x10\xA6\x01\x12#\x0A\x1EORDER_SECONDARY_TRAFFICKERS_ID\x10\xA7\x01\x12\x15\x0A\x10ORDER_START_DATE\x10\xA8\x01\x12\x1A\x0A\x15ORDER_START_DATE_TIME\x10\xA9\x01\x12\x15\x0A\x10ORDER_TRAFFICKER\x10\xA2\x01\x12\x18\x0A\x13ORDER_TRAFFICKER_ID\x10\xA3\x01\x12\x18\x0A\x13ORDER_UNLIMITED_END\x10\xCB\x01\x12\x0E\x0A\x09PAGE_PATH\x10\xFF\x03\x12 \x0A\x1BPAGE_TITLE_AND_SCREEN_CLASS\x10\x80\x04\x12\x1F\x0A\x1APAGE_TITLE_AND_SCREEN_NAME\x10\x81\x04\x12%\x0A PARTNER_MANAGEMENT_ASSIGNMENT_ID\x10\x91\x05\x12'\x0A\"PARTNER_MANAGEMENT_ASSIGNMENT_NAME\x10\x92\x05\x12\"\x0A\x1DPARTNER_MANAGEMENT_PARTNER_ID\x10\x8F\x05\x12\$\x0A\x1FPARTNER_MANAGEMENT_PARTNER_NAME\x10\x90\x05\x12\x10\x0A\x0CPLACEMENT_ID\x10q\x12\x15\x0A\x10PLACEMENT_ID_ALL\x10\x90\x01\x12\x12\x0A\x0EPLACEMENT_NAME\x10r\x12\x17\x0A\x12PLACEMENT_NAME_ALL\x10\x91\x01\x12\x15\x0A\x10PLACEMENT_STATUS\x10\xEA\x02\x12\x1A\x0A\x15PLACEMENT_STATUS_NAME\x10\xEC\x02\x12\x1E\x0A\x19PLACEMENT_STATUS_NAME_ALL\x10\xED\x02\x12\x13\x0A\x0EPOSTAL_CODE_ID\x10\xC7\x03\x12\x15\x0A\x10POSTAL_CODE_NAME\x10\xC8\x03\x12\x10\x0A\x0BPPID_STATUS\x10\x96\x03\x12\x15\x0A\x10PPID_STATUS_NAME\x10\x97\x03\x12!\x0A\x1CPREDICTED_VIEWABILITY_BUCKET\x10\xF9\x04\x12&\x0A!PREDICTED_VIEWABILITY_BUCKET_NAME\x10\xFA\x04\x12\x1F\x0A\x1APRESENTED_SECURE_SIGNAL_ID\x10\xEF\x03\x12!\x0A\x1CPRESENTED_SECURE_SIGNAL_NAME\x10\xF0\x03\x12\x14\x0A\x0FPRICING_RULE_ID\x10\x89\x03\x12\x16\x0A\x11PRICING_RULE_NAME\x10\x8A\x03\x12\$\x0A\x1FPRIMARY_PERSONALIZATION_ID_TYPE\x10\x98\x03\x12)\x0A\$PRIMARY_PERSONALIZATION_ID_TYPE_NAME\x10\x99\x03\x12\x18\x0A\x14PROGRAMMATIC_CHANNEL\x10\x0D\x12\x1D\x0A\x19PROGRAMMATIC_CHANNEL_NAME\x10\x0E\x128\x0A3PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_EXTERNAL_CODE\x10\x9A\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_IDS\x10\xA2\x04\x12/\x0A*PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_NAME\x10\x9C\x03\x12/\x0A*PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TIER\x10\x9D\x03\x12/\x0A*PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TYPE\x10\x9E\x03\x127\x0A2PUBLISHER_PROVIDED_SIGNALS_DELIVERED_EXTERNAL_CODE\x10\xA9\x03\x12-\x0A(PUBLISHER_PROVIDED_SIGNALS_DELIVERED_IDS\x10\xA1\x04\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_DELIVERED_NAME\x10\xAB\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TIER\x10\xAC\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TYPE\x10\xAD\x03\x127\x0A2PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_EXTERNAL_CODE\x10\x9F\x03\x12,\x0A'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_ID\x10\xA0\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_NAME\x10\xA1\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TIER\x10\xA2\x03\x12.\x0A)PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TYPE\x10\xA3\x03\x12/\x0A*PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_ID\x10\x88\x01\x121\x0A,PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_NAME\x10\x89\x01\x12\x0E\x0A\x09REGION_ID\x10\xC9\x03\x12\x10\x0A\x0BREGION_NAME\x10\xCA\x03\x12\"\x0A\x1DREJECTION_CLASS_CATEGORY_NAME\x10\xCF\x04\x12\x1B\x0A\x16RENDERED_CREATIVE_SIZE\x10\xD7\x02\x12\x17\x0A\x12REQUESTED_AD_SIZES\x10\xE0\x02\x12\x11\x0A\x0CREQUEST_TYPE\x10\x92\x01\x12\x16\x0A\x11REQUEST_TYPE_NAME\x10\x93\x01\x12\x1C\x0A\x17REVENUE_VERIFICATION_ID\x10\x85\x05\x12\$\x0A\x1FSERVER_SIDE_UNWRAPPING_ELIGIBLE\x10\xD5\x04\x12\x18\x0A\x13SERVING_RESTRICTION\x10\xF7\x04\x12\x1D\x0A\x18SERVING_RESTRICTION_NAME\x10\xF8\x04\x12\x09\x0A\x04SITE\x10\x83\x03\x12\x11\x0A\x0CTARGETING_ID\x10\xE8\x01\x12\x13\x0A\x0ETARGETING_NAME\x10\xE9\x01\x12\x13\x0A\x0ETARGETING_TYPE\x10\x81\x03\x12\x18\x0A\x13TARGETING_TYPE_NAME\x10\x82\x03\x12#\x0A\x1ETARGETS_CUSTOMER_MATCHING_LIST\x10\x95\x06\x12\x1A\x0A\x15THIRD_PARTY_ID_STATUS\x10\x92\x03\x12\x1F\x0A\x1ATHIRD_PARTY_ID_STATUS_NAME\x10\x93\x03\x12\x12\x0A\x0DTOPICS_STATUS\x10\xF8\x03\x12\x17\x0A\x12TOPICS_STATUS_NAME\x10\xF9\x03\x12\x17\x0A\x12TOP_PRIVATE_DOMAIN\x10\xBC\x03\x12\x13\x0A\x0ETRAFFIC_SOURCE\x10\x84\x03\x12\x18\x0A\x13TRAFFIC_SOURCE_NAME\x10\x85\x03\x12\x08\x0A\x03URL\x10\xFA\x03\x12\x0B\x0A\x06URL_ID\x10\xFB\x03\x12\x19\x0A\x14USER_MESSAGES_CHOICE\x10\xBE\x05\x12\x1E\x0A\x19USER_MESSAGES_CHOICE_NAME\x10\xBF\x05\x12%\x0A USER_MESSAGES_ENTITLEMENT_SOURCE\x10\xFB\x04\x12*\x0A%USER_MESSAGES_ENTITLEMENT_SOURCE_NAME\x10\xFC\x04\x12/\x0A*USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID\x10\xFD\x04\x121\x0A,USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_NAME\x10\xFE\x04\x12\x11\x0A\x0CVAST_VERSION\x10\xAA\x04\x12\x16\x0A\x11VAST_VERSION_NAME\x10\xAB\x04\x12\x18\x0A\x13VIDEO_AD_BREAK_TYPE\x10\xAC\x04\x12\x1D\x0A\x18VIDEO_AD_BREAK_TYPE_NAME\x10\xAD\x04\x12\x16\x0A\x11VIDEO_AD_DURATION\x10\xC2\x03\x12\x1A\x0A\x15VIDEO_AD_FORMATS_RULE\x10\xB1\x04\x12\x1D\x0A\x18VIDEO_AD_FORMATS_RULE_ID\x10\xB0\x04\x12\x1E\x0A\x19VIDEO_AD_REQUEST_DURATION\x10\xAE\x04\x12,\x0A'VIDEO_AD_REQUEST_DURATION_MIDPOINT_NAME\x10\xEF\x05\x12#\x0A\x1EVIDEO_AD_REQUEST_DURATION_NAME\x10\xAF\x04\x12\x1C\x0A\x17VIDEO_AD_REQUEST_SOURCE\x10\xB6\x03\x12!\x0A\x1CVIDEO_AD_REQUEST_SOURCE_NAME\x10\xB7\x03\x12\x12\x0A\x0DVIDEO_AD_TYPE\x10\xB0\x03\x12\x17\x0A\x12VIDEO_AD_TYPE_NAME\x10\xB1\x03\x12\x1F\x0A\x1AVIDEO_CONTINUOUS_PLAY_TYPE\x10\xD1\x05\x12\$\x0A\x1FVIDEO_CONTINUOUS_PLAY_TYPE_NAME\x10\xD2\x05\x12\x1C\x0A\x17VIDEO_FALLBACK_POSITION\x10\x92\x04\x12.\x0A)VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION\x10\xA3\x04\x12(\x0A#VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID\x10\xA4\x04\x12*\x0A%VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME\x10\xA5\x04\x12*\x0A%VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME\x10\xA6\x04\x12\x1F\x0A\x1AVIDEO_LIVE_STREAM_EVENT_ID\x10\xA7\x04\x12!\x0A\x1CVIDEO_LIVE_STREAM_EVENT_NAME\x10\xA8\x04\x12\x1D\x0A\x18VIDEO_MEASUREMENT_SOURCE\x10\xD9\x04\x12\"\x0A\x1DVIDEO_MEASUREMENT_SOURCE_NAME\x10\xDA\x04\x12\x10\x0A\x0BVIDEO_PLCMT\x10\xAC\x01\x12\x15\x0A\x10VIDEO_PLCMT_NAME\x10\xAD\x01\x12\x1A\x0A\x15VIDEO_POSITION_IN_POD\x10\x9A\x04\x12\x1A\x0A\x15VIDEO_POSITION_OF_POD\x10\x9B\x04\x12\x16\x0A\x11VIDEO_SDK_VERSION\x10\xB8\x03\x12\x1B\x0A\x16VIDEO_SDK_VERSION_NAME\x10\xB9\x03\x12\x18\x0A\x13VIDEO_STITCHER_TYPE\x10\xF0\x05\x12\x1D\x0A\x18VIDEO_STITCHER_TYPE_NAME\x10\xF1\x05\x12\x16\x0A\x11WEB_PROPERTY_CODE\x10\xDA\x05\x12\x08\x0A\x04WEEK\x10\x05\x12\x1B\x0A\x16YIELD_GROUP_BUYER_NAME\x10\xB8\x01\x12\x1F\x0A\x1AYIELD_GROUP_BUYER_TAG_NAME\x10\xF3\x04\x12\x13\x0A\x0EYIELD_GROUP_ID\x10\xB6\x01\x12\x15\x0A\x10YIELD_GROUP_NAME\x10\xB7\x01\x12\x1F\x0A\x1AYOUTUBE_AD_DURATION_BUCKET\x10\xAE\x03\x12\$\x0A\x1FYOUTUBE_AD_DURATION_BUCKET_NAME\x10\xAF\x03\x12\x14\x0A\x0FYOUTUBE_AD_TYPE\x10\x8F\x03\x12\x19\x0A\x14YOUTUBE_AD_TYPE_NAME\x10\x90\x03\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID\x10\x90N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_1_OPTION_ID\x10\x91N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_2_OPTION_ID\x10\x92N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_3_OPTION_ID\x10\x93N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_4_OPTION_ID\x10\x94N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_5_OPTION_ID\x10\x95N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_6_OPTION_ID\x10\x96N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_7_OPTION_ID\x10\x97N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_8_OPTION_ID\x10\x98N\x12'\x0A\"LINE_ITEM_CUSTOM_FIELD_9_OPTION_ID\x10\x99N\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_10_OPTION_ID\x10\x9AN\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_11_OPTION_ID\x10\x9BN\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_12_OPTION_ID\x10\x9CN\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_13_OPTION_ID\x10\x9DN\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_14_OPTION_ID\x10\x9EN\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_0_VALUE\x10\xF8U\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_1_VALUE\x10\xF9U\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_2_VALUE\x10\xFAU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_3_VALUE\x10\xFBU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_4_VALUE\x10\xFCU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_5_VALUE\x10\xFDU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_6_VALUE\x10\xFEU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_7_VALUE\x10\xFFU\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_8_VALUE\x10\x80V\x12#\x0A\x1ELINE_ITEM_CUSTOM_FIELD_9_VALUE\x10\x81V\x12\$\x0A\x1FLINE_ITEM_CUSTOM_FIELD_10_VALUE\x10\x82V\x12\$\x0A\x1FLINE_ITEM_CUSTOM_FIELD_11_VALUE\x10\x83V\x12\$\x0A\x1FLINE_ITEM_CUSTOM_FIELD_12_VALUE\x10\x84V\x12\$\x0A\x1FLINE_ITEM_CUSTOM_FIELD_13_VALUE\x10\x85V\x12\$\x0A\x1FLINE_ITEM_CUSTOM_FIELD_14_VALUE\x10\x86V\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_0_VALUE_DOUBLE\x10\x87V\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_1_VALUE_DOUBLE\x10\x88V\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_2_VALUE_DOUBLE\x10\x89V\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_3_VALUE_DOUBLE\x10\x8AV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_4_VALUE_DOUBLE\x10\x8BV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_5_VALUE_DOUBLE\x10\x8CV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_6_VALUE_DOUBLE\x10\x8DV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_7_VALUE_DOUBLE\x10\x8EV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_8_VALUE_DOUBLE\x10\x8FV\x12*\x0A%LINE_ITEM_CUSTOM_FIELD_9_VALUE_DOUBLE\x10\x90V\x12+\x0A&LINE_ITEM_CUSTOM_FIELD_10_VALUE_DOUBLE\x10\x91V\x12+\x0A&LINE_ITEM_CUSTOM_FIELD_11_VALUE_DOUBLE\x10\x92V\x12+\x0A&LINE_ITEM_CUSTOM_FIELD_12_VALUE_DOUBLE\x10\x93V\x12+\x0A&LINE_ITEM_CUSTOM_FIELD_13_VALUE_DOUBLE\x10\x94V\x12+\x0A&LINE_ITEM_CUSTOM_FIELD_14_VALUE_DOUBLE\x10\x95V\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_0_VALUE_BOOL\x10\x96V\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_1_VALUE_BOOL\x10\x97V\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_2_VALUE_BOOL\x10\x98V\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_3_VALUE_BOOL\x10\x99V\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_4_VALUE_BOOL\x10\x9AV\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_5_VALUE_BOOL\x10\x9BV\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_6_VALUE_BOOL\x10\x9CV\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_7_VALUE_BOOL\x10\x9DV\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_8_VALUE_BOOL\x10\x9EV\x12(\x0A#LINE_ITEM_CUSTOM_FIELD_9_VALUE_BOOL\x10\x9FV\x12)\x0A\$LINE_ITEM_CUSTOM_FIELD_10_VALUE_BOOL\x10\xA0V\x12)\x0A\$LINE_ITEM_CUSTOM_FIELD_11_VALUE_BOOL\x10\xA1V\x12)\x0A\$LINE_ITEM_CUSTOM_FIELD_12_VALUE_BOOL\x10\xA2V\x12)\x0A\$LINE_ITEM_CUSTOM_FIELD_13_VALUE_BOOL\x10\xA3V\x12)\x0A\$LINE_ITEM_CUSTOM_FIELD_14_VALUE_BOOL\x10\xA4V\x12#\x0A\x1EORDER_CUSTOM_FIELD_0_OPTION_ID\x10\xE0]\x12#\x0A\x1EORDER_CUSTOM_FIELD_1_OPTION_ID\x10\xE1]\x12#\x0A\x1EORDER_CUSTOM_FIELD_2_OPTION_ID\x10\xE2]\x12#\x0A\x1EORDER_CUSTOM_FIELD_3_OPTION_ID\x10\xE3]\x12#\x0A\x1EORDER_CUSTOM_FIELD_4_OPTION_ID\x10\xE4]\x12#\x0A\x1EORDER_CUSTOM_FIELD_5_OPTION_ID\x10\xE5]\x12#\x0A\x1EORDER_CUSTOM_FIELD_6_OPTION_ID\x10\xE6]\x12#\x0A\x1EORDER_CUSTOM_FIELD_7_OPTION_ID\x10\xE7]\x12#\x0A\x1EORDER_CUSTOM_FIELD_8_OPTION_ID\x10\xE8]\x12#\x0A\x1EORDER_CUSTOM_FIELD_9_OPTION_ID\x10\xE9]\x12\$\x0A\x1FORDER_CUSTOM_FIELD_10_OPTION_ID\x10\xEA]\x12\$\x0A\x1FORDER_CUSTOM_FIELD_11_OPTION_ID\x10\xEB]\x12\$\x0A\x1FORDER_CUSTOM_FIELD_12_OPTION_ID\x10\xEC]\x12\$\x0A\x1FORDER_CUSTOM_FIELD_13_OPTION_ID\x10\xED]\x12\$\x0A\x1FORDER_CUSTOM_FIELD_14_OPTION_ID\x10\xEE]\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_0_VALUE\x10\xC8e\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_1_VALUE\x10\xC9e\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_2_VALUE\x10\xCAe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_3_VALUE\x10\xCBe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_4_VALUE\x10\xCCe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_5_VALUE\x10\xCDe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_6_VALUE\x10\xCEe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_7_VALUE\x10\xCFe\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_8_VALUE\x10\xD0e\x12\x1F\x0A\x1AORDER_CUSTOM_FIELD_9_VALUE\x10\xD1e\x12 \x0A\x1BORDER_CUSTOM_FIELD_10_VALUE\x10\xD2e\x12 \x0A\x1BORDER_CUSTOM_FIELD_11_VALUE\x10\xD3e\x12 \x0A\x1BORDER_CUSTOM_FIELD_12_VALUE\x10\xD4e\x12 \x0A\x1BORDER_CUSTOM_FIELD_13_VALUE\x10\xD5e\x12 \x0A\x1BORDER_CUSTOM_FIELD_14_VALUE\x10\xD6e\x12&\x0A!ORDER_CUSTOM_FIELD_0_VALUE_DOUBLE\x10\xD7e\x12&\x0A!ORDER_CUSTOM_FIELD_1_VALUE_DOUBLE\x10\xD8e\x12&\x0A!ORDER_CUSTOM_FIELD_2_VALUE_DOUBLE\x10\xD9e\x12&\x0A!ORDER_CUSTOM_FIELD_3_VALUE_DOUBLE\x10\xDAe\x12&\x0A!ORDER_CUSTOM_FIELD_4_VALUE_DOUBLE\x10\xDBe\x12&\x0A!ORDER_CUSTOM_FIELD_5_VALUE_DOUBLE\x10\xDCe\x12&\x0A!ORDER_CUSTOM_FIELD_6_VALUE_DOUBLE\x10\xDDe\x12&\x0A!ORDER_CUSTOM_FIELD_7_VALUE_DOUBLE\x10\xDEe\x12&\x0A!ORDER_CUSTOM_FIELD_8_VALUE_DOUBLE\x10\xDFe\x12&\x0A!ORDER_CUSTOM_FIELD_9_VALUE_DOUBLE\x10\xE0e\x12'\x0A\"ORDER_CUSTOM_FIELD_10_VALUE_DOUBLE\x10\xE1e\x12'\x0A\"ORDER_CUSTOM_FIELD_11_VALUE_DOUBLE\x10\xE2e\x12'\x0A\"ORDER_CUSTOM_FIELD_12_VALUE_DOUBLE\x10\xE3e\x12'\x0A\"ORDER_CUSTOM_FIELD_13_VALUE_DOUBLE\x10\xE4e\x12'\x0A\"ORDER_CUSTOM_FIELD_14_VALUE_DOUBLE\x10\xE5e\x12\$\x0A\x1FORDER_CUSTOM_FIELD_0_VALUE_BOOL\x10\xE6e\x12\$\x0A\x1FORDER_CUSTOM_FIELD_1_VALUE_BOOL\x10\xE7e\x12\$\x0A\x1FORDER_CUSTOM_FIELD_2_VALUE_BOOL\x10\xE8e\x12\$\x0A\x1FORDER_CUSTOM_FIELD_3_VALUE_BOOL\x10\xE9e\x12\$\x0A\x1FORDER_CUSTOM_FIELD_4_VALUE_BOOL\x10\xEAe\x12\$\x0A\x1FORDER_CUSTOM_FIELD_5_VALUE_BOOL\x10\xEBe\x12\$\x0A\x1FORDER_CUSTOM_FIELD_6_VALUE_BOOL\x10\xECe\x12\$\x0A\x1FORDER_CUSTOM_FIELD_7_VALUE_BOOL\x10\xEDe\x12\$\x0A\x1FORDER_CUSTOM_FIELD_8_VALUE_BOOL\x10\xEEe\x12\$\x0A\x1FORDER_CUSTOM_FIELD_9_VALUE_BOOL\x10\xEFe\x12%\x0A ORDER_CUSTOM_FIELD_10_VALUE_BOOL\x10\xF0e\x12%\x0A ORDER_CUSTOM_FIELD_11_VALUE_BOOL\x10\xF1e\x12%\x0A ORDER_CUSTOM_FIELD_12_VALUE_BOOL\x10\xF2e\x12%\x0A ORDER_CUSTOM_FIELD_13_VALUE_BOOL\x10\xF3e\x12%\x0A ORDER_CUSTOM_FIELD_14_VALUE_BOOL\x10\xF4e\x12&\x0A!CREATIVE_CUSTOM_FIELD_0_OPTION_ID\x10\xB0m\x12&\x0A!CREATIVE_CUSTOM_FIELD_1_OPTION_ID\x10\xB1m\x12&\x0A!CREATIVE_CUSTOM_FIELD_2_OPTION_ID\x10\xB2m\x12&\x0A!CREATIVE_CUSTOM_FIELD_3_OPTION_ID\x10\xB3m\x12&\x0A!CREATIVE_CUSTOM_FIELD_4_OPTION_ID\x10\xB4m\x12&\x0A!CREATIVE_CUSTOM_FIELD_5_OPTION_ID\x10\xB5m\x12&\x0A!CREATIVE_CUSTOM_FIELD_6_OPTION_ID\x10\xB6m\x12&\x0A!CREATIVE_CUSTOM_FIELD_7_OPTION_ID\x10\xB7m\x12&\x0A!CREATIVE_CUSTOM_FIELD_8_OPTION_ID\x10\xB8m\x12&\x0A!CREATIVE_CUSTOM_FIELD_9_OPTION_ID\x10\xB9m\x12'\x0A\"CREATIVE_CUSTOM_FIELD_10_OPTION_ID\x10\xBAm\x12'\x0A\"CREATIVE_CUSTOM_FIELD_11_OPTION_ID\x10\xBBm\x12'\x0A\"CREATIVE_CUSTOM_FIELD_12_OPTION_ID\x10\xBCm\x12'\x0A\"CREATIVE_CUSTOM_FIELD_13_OPTION_ID\x10\xBDm\x12'\x0A\"CREATIVE_CUSTOM_FIELD_14_OPTION_ID\x10\xBEm\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_0_VALUE\x10\x98u\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_1_VALUE\x10\x99u\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_2_VALUE\x10\x9Au\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_3_VALUE\x10\x9Bu\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_4_VALUE\x10\x9Cu\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_5_VALUE\x10\x9Du\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_6_VALUE\x10\x9Eu\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_7_VALUE\x10\x9Fu\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_8_VALUE\x10\xA0u\x12\"\x0A\x1DCREATIVE_CUSTOM_FIELD_9_VALUE\x10\xA1u\x12#\x0A\x1ECREATIVE_CUSTOM_FIELD_10_VALUE\x10\xA2u\x12#\x0A\x1ECREATIVE_CUSTOM_FIELD_11_VALUE\x10\xA3u\x12#\x0A\x1ECREATIVE_CUSTOM_FIELD_12_VALUE\x10\xA4u\x12#\x0A\x1ECREATIVE_CUSTOM_FIELD_13_VALUE\x10\xA5u\x12#\x0A\x1ECREATIVE_CUSTOM_FIELD_14_VALUE\x10\xA6u\x12)\x0A\$CREATIVE_CUSTOM_FIELD_0_VALUE_DOUBLE\x10\xA7u\x12)\x0A\$CREATIVE_CUSTOM_FIELD_1_VALUE_DOUBLE\x10\xA8u\x12)\x0A\$CREATIVE_CUSTOM_FIELD_2_VALUE_DOUBLE\x10\xA9u\x12)\x0A\$CREATIVE_CUSTOM_FIELD_3_VALUE_DOUBLE\x10\xAAu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_4_VALUE_DOUBLE\x10\xABu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_5_VALUE_DOUBLE\x10\xACu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_6_VALUE_DOUBLE\x10\xADu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_7_VALUE_DOUBLE\x10\xAEu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_8_VALUE_DOUBLE\x10\xAFu\x12)\x0A\$CREATIVE_CUSTOM_FIELD_9_VALUE_DOUBLE\x10\xB0u\x12*\x0A%CREATIVE_CUSTOM_FIELD_10_VALUE_DOUBLE\x10\xB1u\x12*\x0A%CREATIVE_CUSTOM_FIELD_11_VALUE_DOUBLE\x10\xB2u\x12*\x0A%CREATIVE_CUSTOM_FIELD_12_VALUE_DOUBLE\x10\xB3u\x12*\x0A%CREATIVE_CUSTOM_FIELD_13_VALUE_DOUBLE\x10\xB4u\x12*\x0A%CREATIVE_CUSTOM_FIELD_14_VALUE_DOUBLE\x10\xB5u\x12'\x0A\"CREATIVE_CUSTOM_FIELD_0_VALUE_BOOL\x10\xB6u\x12'\x0A\"CREATIVE_CUSTOM_FIELD_1_VALUE_BOOL\x10\xB7u\x12'\x0A\"CREATIVE_CUSTOM_FIELD_2_VALUE_BOOL\x10\xB8u\x12'\x0A\"CREATIVE_CUSTOM_FIELD_3_VALUE_BOOL\x10\xB9u\x12'\x0A\"CREATIVE_CUSTOM_FIELD_4_VALUE_BOOL\x10\xBAu\x12'\x0A\"CREATIVE_CUSTOM_FIELD_5_VALUE_BOOL\x10\xBBu\x12'\x0A\"CREATIVE_CUSTOM_FIELD_6_VALUE_BOOL\x10\xBCu\x12'\x0A\"CREATIVE_CUSTOM_FIELD_7_VALUE_BOOL\x10\xBDu\x12'\x0A\"CREATIVE_CUSTOM_FIELD_8_VALUE_BOOL\x10\xBEu\x12'\x0A\"CREATIVE_CUSTOM_FIELD_9_VALUE_BOOL\x10\xBFu\x12(\x0A#CREATIVE_CUSTOM_FIELD_10_VALUE_BOOL\x10\xC0u\x12(\x0A#CREATIVE_CUSTOM_FIELD_11_VALUE_BOOL\x10\xC1u\x12(\x0A#CREATIVE_CUSTOM_FIELD_12_VALUE_BOOL\x10\xC2u\x12(\x0A#CREATIVE_CUSTOM_FIELD_13_VALUE_BOOL\x10\xC3u\x12(\x0A#CREATIVE_CUSTOM_FIELD_14_VALUE_BOOL\x10\xC4u\x12'\x0A!CMS_METADATA_DIMENSION_0_VALUE_ID\x10\xF0\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_1_VALUE_ID\x10\xF1\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_2_VALUE_ID\x10\xF2\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_3_VALUE_ID\x10\xF3\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_4_VALUE_ID\x10\xF4\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_5_VALUE_ID\x10\xF5\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_6_VALUE_ID\x10\xF6\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_7_VALUE_ID\x10\xF7\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_8_VALUE_ID\x10\xF8\x9C\x06\x12'\x0A!CMS_METADATA_DIMENSION_9_VALUE_ID\x10\xF9\x9C\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_0_VALUE\x10\xD8\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_1_VALUE\x10\xD9\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_2_VALUE\x10\xDA\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_3_VALUE\x10\xDB\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_4_VALUE\x10\xDC\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_5_VALUE\x10\xDD\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_6_VALUE\x10\xDE\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_7_VALUE\x10\xDF\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_8_VALUE\x10\xE0\xA4\x06\x12\$\x0A\x1ECMS_METADATA_DIMENSION_9_VALUE\x10\xE1\xA4\x06\x12!\x0A\x1BCUSTOM_DIMENSION_0_VALUE_ID\x10\xA0\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_1_VALUE_ID\x10\xA1\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_2_VALUE_ID\x10\xA2\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_3_VALUE_ID\x10\xA3\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_4_VALUE_ID\x10\xA4\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_5_VALUE_ID\x10\xA5\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_6_VALUE_ID\x10\xA6\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_7_VALUE_ID\x10\xA7\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_8_VALUE_ID\x10\xA8\x8D\x06\x12!\x0A\x1BCUSTOM_DIMENSION_9_VALUE_ID\x10\xA9\x8D\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_0_VALUE\x10\x88\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_1_VALUE\x10\x89\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_2_VALUE\x10\x8A\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_3_VALUE\x10\x8B\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_4_VALUE\x10\x8C\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_5_VALUE\x10\x8D\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_6_VALUE\x10\x8E\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_7_VALUE\x10\x8F\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_8_VALUE\x10\x90\x95\x06\x12\x1E\x0A\x18CUSTOM_DIMENSION_9_VALUE\x10\x91\x95\x06\x12\x1E\x0A\x18EKV_DIMENSION_0_VALUE_ID\x10\xA8\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_1_VALUE_ID\x10\xA9\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_2_VALUE_ID\x10\xAA\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_3_VALUE_ID\x10\xAB\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_4_VALUE_ID\x10\xAC\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_5_VALUE_ID\x10\xAD\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_6_VALUE_ID\x10\xAE\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_7_VALUE_ID\x10\xAF\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_8_VALUE_ID\x10\xB0\xB4\x06\x12\x1E\x0A\x18EKV_DIMENSION_9_VALUE_ID\x10\xB1\xB4\x06\x12\x1B\x0A\x15EKV_DIMENSION_0_VALUE\x10\x90\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_1_VALUE\x10\x91\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_2_VALUE\x10\x92\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_3_VALUE\x10\x93\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_4_VALUE\x10\x94\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_5_VALUE\x10\x95\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_6_VALUE\x10\x96\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_7_VALUE\x10\x97\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_8_VALUE\x10\x98\xBC\x06\x12\x1B\x0A\x15EKV_DIMENSION_9_VALUE\x10\x99\xBC\x06\"\x89\x9D\x01\x0A\x06Metric\x12\x16\x0A\x12METRIC_UNSPECIFIED\x10\x00\x12\x11\x0A\x0CACTIVE_USERS\x10\xDF\x01\x12)\x0A\$ACTIVE_VIEW_AUDIBLE_AT_START_PERCENT\x10\xBD\x03\x12\$\x0A\x1FACTIVE_VIEW_AUDIBLE_IMPRESSIONS\x10\x93\x05\x123\x0A.ACTIVE_VIEW_AUDIBLE_THROUGH_COMPLETION_PERCENT\x10\xBE\x03\x127\x0A2ACTIVE_VIEW_AUDIBLE_THROUGH_FIRST_QUARTILE_PERCENT\x10\xBF\x03\x121\x0A,ACTIVE_VIEW_AUDIBLE_THROUGH_MIDPOINT_PERCENT\x10\xC0\x03\x127\x0A2ACTIVE_VIEW_AUDIBLE_THROUGH_THIRD_QUARTILE_PERCENT\x10\xC1\x03\x12*\x0A%ACTIVE_VIEW_AUDIO_ENABLED_IMPRESSIONS\x10\x94\x05\x12-\x0A(ACTIVE_VIEW_AUDIO_MEASURABLE_IMPRESSIONS\x10\x95\x05\x12%\x0A!ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME\x10=\x12\$\x0A ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS\x10:\x122\x0A-ACTIVE_VIEW_EVER_AUDIBLE_BACKGROUNDED_PERCENT\x10\xC2\x03\x12%\x0A ACTIVE_VIEW_EVER_AUDIBLE_PERCENT\x10\xC3\x03\x12*\x0A%ACTIVE_VIEW_EVER_BACKGROUNDED_PERCENT\x10\xC4\x03\x12#\x0A\x1EACTIVE_VIEW_EVER_MUTED_PERCENT\x10\xC5\x03\x12?\x0A:ACTIVE_VIEW_IMPRESSIONS_AUDIBLE_AND_VISIBLIE_AT_COMPLETION\x10\x9B\x03\x12&\x0A\"ACTIVE_VIEW_MEASURABLE_IMPRESSIONS\x109\x12+\x0A'ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE\x10<\x12+\x0A&ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS\x10\x96\x05\x12)\x0A\$ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS\x10\x97\x05\x126\x0A1ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x98\x05\x12,\x0A'ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS\x10\x99\x05\x12&\x0A!ACTIVE_VIEW_PLUS_MEASURABLE_COUNT\x10\xC6\x03\x12\x18\x0A\x13ACTIVE_VIEW_REVENUE\x10\x9E\x03\x126\x0A1ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION\x10\x9A\x05\x12\$\x0A ACTIVE_VIEW_VIEWABLE_IMPRESSIONS\x108\x122\x0A-ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x9B\x05\x12)\x0A%ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE\x10;\x12-\x0A)ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME\x10I\x12,\x0A(ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS\x10F\x12.\x0A*ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS\x10E\x123\x0A/ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE\x10H\x123\x0A.ADSENSE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS\x10\x82\x05\x121\x0A,ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS\x10\x83\x05\x12>\x0A9ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x84\x05\x12>\x0A9ADSENSE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION\x10\x85\x05\x12,\x0A(ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS\x10D\x12:\x0A5ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x86\x05\x121\x0A-ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE\x10G\x12\x18\x0A\x14ADSENSE_AVERAGE_ECPM\x10\x1A\x12\x12\x0A\x0EADSENSE_CLICKS\x10\x17\x12\x0F\x0A\x0BADSENSE_CTR\x10\x18\x12\x17\x0A\x13ADSENSE_IMPRESSIONS\x10\x16\x12\x1A\x0A\x16ADSENSE_PERCENT_CLICKS\x10\x1C\x12\x1F\x0A\x1BADSENSE_PERCENT_IMPRESSIONS\x10\x1B\x12\x1B\x0A\x17ADSENSE_PERCENT_REVENUE\x10\x1D\x12'\x0A#ADSENSE_PERCENT_REVENUE_WITHOUT_CPD\x10\x1E\x12\x1C\x0A\x18ADSENSE_RESPONSES_SERVED\x10)\x12\x13\x0A\x0FADSENSE_REVENUE\x10\x19\x121\x0A-AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME\x10O\x120\x0A,AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS\x10L\x122\x0A.AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS\x10K\x127\x0A3AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE\x10N\x127\x0A2AD_EXCHANGE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS\x10\x8E\x05\x125\x0A0AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS\x10\x8F\x05\x12B\x0A=AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x90\x05\x12B\x0A=AD_EXCHANGE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION\x10\x91\x05\x120\x0A,AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS\x10J\x12>\x0A9AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\x92\x05\x125\x0A1AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE\x10M\x12\x1C\x0A\x18AD_EXCHANGE_AVERAGE_ECPM\x10\x12\x12\x16\x0A\x12AD_EXCHANGE_CLICKS\x10\x0F\x12\x14\x0A\x0FAD_EXCHANGE_CPC\x10\xF4\x01\x12\x13\x0A\x0FAD_EXCHANGE_CTR\x10\x10\x12\x1E\x0A\x19AD_EXCHANGE_DELIVERY_RATE\x10\xF5\x01\x12\x1B\x0A\x17AD_EXCHANGE_IMPRESSIONS\x10\x0E\x12*\x0A%AD_EXCHANGE_IMPRESSIONS_PER_AD_VIEWER\x10\xAB\x03\x12(\x0A#AD_EXCHANGE_IMPRESSIONS_PER_SESSION\x10\xAC\x03\x12\x15\x0A\x10AD_EXCHANGE_LIFT\x10\xF6\x01\x12\$\x0A\x1FAD_EXCHANGE_MATCHED_REQUEST_CTR\x10\xF7\x01\x12%\x0A AD_EXCHANGE_MATCHED_REQUEST_ECPM\x10\xF8\x01\x12\x1B\x0A\x16AD_EXCHANGE_MATCH_RATE\x10\xF9\x01\x12*\x0A%AD_EXCHANGE_OPPORTUNITIES_FROM_ERRORS\x10\xFA\x01\x12/\x0A*AD_EXCHANGE_OPPORTUNITIES_FROM_IMPRESSIONS\x10\xFB\x01\x12\x1E\x0A\x1AAD_EXCHANGE_PERCENT_CLICKS\x10\x14\x12#\x0A\x1FAD_EXCHANGE_PERCENT_IMPRESSIONS\x10\x13\x12\x1F\x0A\x1BAD_EXCHANGE_PERCENT_REVENUE\x10\x15\x12+\x0A'AD_EXCHANGE_PERCENT_REVENUE_WITHOUT_CPD\x10\x1F\x12&\x0A!AD_EXCHANGE_PLUS_YIELD_GROUP_ECPM\x10\xFC\x01\x12-\x0A(AD_EXCHANGE_PLUS_YIELD_GROUP_IMPRESSIONS\x10\xFD\x01\x12)\x0A\$AD_EXCHANGE_PLUS_YIELD_GROUP_REVENUE\x10\xFE\x01\x12 \x0A\x1CAD_EXCHANGE_RESPONSES_SERVED\x10*\x12\x17\x0A\x13AD_EXCHANGE_REVENUE\x10\x11\x125\x0A0AD_EXCHANGE_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT\x10\xD4\x01\x12&\x0A!AD_EXCHANGE_REVENUE_PER_AD_VIEWER\x10\xAD\x03\x12\x1F\x0A\x1AAD_EXCHANGE_TOTAL_REQUESTS\x10\xFF\x01\x12\"\x0A\x1DAD_EXCHANGE_TOTAL_REQUEST_CTR\x10\x80\x02\x12#\x0A\x1EAD_EXCHANGE_TOTAL_REQUEST_ECPM\x10\x81\x02\x12\x18\x0A\x13AD_EXPOSURE_SECONDS\x10\xF1\x01\x12\x0F\x0A\x0BAD_REQUESTS\x10&\x12/\x0A+AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME\x10C\x12.\x0A*AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS\x10@\x120\x0A,AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS\x10?\x125\x0A1AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE\x10B\x125\x0A0AD_SERVER_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS\x10\xCC\x02\x123\x0A.AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS\x10\xCB\x02\x12@\x0A;AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\xCE\x02\x12\"\x0A\x1DAD_SERVER_ACTIVE_VIEW_REVENUE\x10\xC0\x05\x12@\x0A;AD_SERVER_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION\x10\xCF\x02\x12.\x0A*AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS\x10>\x12<\x0A7AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION\x10\xCD\x02\x123\x0A/AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE\x10A\x12\x1A\x0A\x16AD_SERVER_AVERAGE_ECPM\x10\"\x12&\x0A\"AD_SERVER_AVERAGE_ECPM_WITHOUT_CPD\x10\x0A\x12*\x0A%AD_SERVER_BEGIN_TO_RENDER_IMPRESSIONS\x10\x86\x02\x12\x14\x0A\x10AD_SERVER_CLICKS\x10\x07\x12\x1E\x0A\x19AD_SERVER_COMPLETED_VIEWS\x10\xAF\x03\x12#\x0A\x1EAD_SERVER_COVIEWED_IMPRESSIONS\x10\xAA\x04\x12\x19\x0A\x15AD_SERVER_CPD_REVENUE\x10 \x12\x11\x0A\x0DAD_SERVER_CTR\x10\x08\x12\x1C\x0A\x17AD_SERVER_GROSS_REVENUE\x10\xE3\x03\x12(\x0A#AD_SERVER_GROSS_REVENUE_WITHOUT_CPD\x10\xE4\x03\x12\x19\x0A\x15AD_SERVER_IMPRESSIONS\x10\x06\x12)\x0A\$AD_SERVER_IMPRESSIONS_WITH_COMPANION\x10\xDE\x01\x123\x0A.AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS\x10\xD2\x02\x12(\x0A#AD_SERVER_OPPORTUNITIES_FROM_ERRORS\x10\xCD\x03\x12-\x0A(AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS\x10\xCE\x03\x12\x1C\x0A\x18AD_SERVER_PERCENT_CLICKS\x10\x0C\x12!\x0A\x1DAD_SERVER_PERCENT_IMPRESSIONS\x10\x0B\x12\x1D\x0A\x19AD_SERVER_PERCENT_REVENUE\x10#\x12)\x0A%AD_SERVER_PERCENT_REVENUE_WITHOUT_CPD\x10\x0D\x12\x1E\x0A\x1AAD_SERVER_RESPONSES_SERVED\x10(\x12\x15\x0A\x11AD_SERVER_REVENUE\x10!\x123\x0A.AD_SERVER_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT\x10\xD5\x01\x12!\x0A\x1DAD_SERVER_REVENUE_WITHOUT_CPD\x10\x09\x12\x1E\x0A\x19AD_SERVER_TARGETED_CLICKS\x10\x92\x02\x12#\x0A\x1EAD_SERVER_TARGETED_IMPRESSIONS\x10\x93\x02\x12\x1A\x0A\x15AD_SERVER_TRACKED_ADS\x10\x88\x02\x125\x0A0AD_SERVER_UNFILTERED_BEGIN_TO_RENDER_IMPRESSIONS\x10\x85\x02\x12 \x0A\x1BAD_SERVER_UNFILTERED_CLICKS\x10\x83\x02\x120\x0A+AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS\x10\x84\x02\x12)\x0A AD_SERVER_UNFILTERED_IMPRESSIONS\x10\x84\x02\x1A\x02\x08\x01\x12%\x0A AD_SERVER_UNFILTERED_TRACKED_ADS\x10\x87\x02\x12\x1D\x0A\x18AD_UNIT_EXPOSURE_SECONDS\x10\xF2\x01\x12\x0F\x0A\x0AAD_VIEWERS\x10\xA9\x03\x12\x1D\x0A\x18ATN_ADS_FAILED_TO_RENDER\x10\xAE\x03\x12\x1C\x0A\x17ATN_ELIGIBLE_LINE_ITEMS\x10\xD6\x02\x12(\x0A#ATN_ELIGIBLE_LINE_ITEMS_AD_REQUESTS\x10\xD7\x02\x12 \x0A\x1BATN_HBT_ALLOWED_AD_REQUESTS\x10\xD8\x02\x12\x1C\x0A\x17ATN_HBT_BIDS_IN_AUCTION\x10\xD9\x02\x12(\x0A#ATN_HBT_BIDS_IN_AUCTION_AD_REQUESTS\x10\xDA\x02\x12\x1B\x0A\x16ATN_HBT_CANDIDATE_BIDS\x10\xDB\x02\x12 \x0A\x1BATN_HBT_INVALID_AD_REQUESTS\x10\xDC\x02\x12 \x0A\x1BATN_HBT_NO_BIDS_AD_REQUESTS\x10\xD8\x03\x12\x1A\x0A\x15ATN_HBT_REJECTED_BIDS\x10\xDD\x02\x12\x1E\x0A\x19ATN_HBT_VALID_AD_REQUESTS\x10\xDE\x02\x12\"\x0A\x1DATN_HBT_WITH_BIDS_AD_REQUESTS\x10\xD9\x03\x12\x1C\x0A\x17ATN_INVALID_AD_REQUESTS\x10\xDF\x02\x12*\x0A%ATN_LINE_ITEMS_CREATIVE_NOT_RETRIEVED\x10\xDC\x03\x12\x1E\x0A\x19ATN_LINE_ITEMS_IN_AUCTION\x10\xE0\x02\x12!\x0A\x1CATN_LINE_ITEMS_NOT_COMPETING\x10\x83\x04\x12 \x0A\x1BATN_LINE_ITEMS_NOT_SELECTED\x10\xE1\x02\x12)\x0A\$ATN_LINE_ITEM_IN_AUCTION_AD_REQUESTS\x10\xE2\x02\x12'\x0A\"ATN_LINE_ITEM_TARGETED_AD_REQUESTS\x10\xE3\x02\x12&\x0A!ATN_MEDIATION_ALLOWED_AD_REQUESTS\x10\xE4\x02\x12&\x0A!ATN_MEDIATION_INVALID_AD_REQUESTS\x10\xE5\x02\x12)\x0A\$ATN_MEDIATION_LOADED_ADS_FROM_CHAINS\x10\xE6\x02\x12)\x0A\$ATN_MEDIATION_NO_PARTNER_AD_REQUESTS\x10\xDA\x03\x12&\x0A!ATN_MEDIATION_PARTNERS_IN_AUCTION\x10\xE7\x02\x122\x0A-ATN_MEDIATION_PARTNERS_IN_AUCTION_AD_REQUESTS\x10\xE8\x02\x12\$\x0A\x1FATN_MEDIATION_REJECTED_PARTNERS\x10\xE9\x02\x12\$\x0A\x1FATN_MEDIATION_TARGETED_PARTNERS\x10\xEA\x02\x12&\x0A!ATN_MEDIATION_TOTAL_ADS_IN_CHAINS\x10\xBF\x05\x12+\x0A&ATN_MEDIATION_UNLOADED_ADS_FROM_CHAINS\x10\xEB\x02\x12*\x0A%ATN_MEDIATION_UNUSED_BIDS_OR_PARTNERS\x10\xEC\x02\x12\$\x0A\x1FATN_MEDIATION_VALID_AD_REQUESTS\x10\xED\x02\x12,\x0A'ATN_MEDIATION_WITH_PARTNERS_AD_REQUESTS\x10\xDB\x03\x12+\x0A&ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BIDS\x10\xEE\x02\x128\x0A3ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BID_REQUESTS_SENT\x10\xEF\x02\x12)\x0A\$ATN_PROGRAMMATIC_ALLOWED_AD_REQUESTS\x10\xF0\x02\x12%\x0A ATN_PROGRAMMATIC_BIDS_IN_AUCTION\x10\xF1\x02\x120\x0A+ATN_PROGRAMMATIC_BID_IN_AUCTION_AD_REQUESTS\x10\xF2\x02\x12'\x0A\"ATN_PROGRAMMATIC_BID_REQUESTS_SENT\x10\xF3\x02\x120\x0A+ATN_PROGRAMMATIC_BID_REQUESTS_WITH_RESPONSE\x10\xF4\x02\x12,\x0A'ATN_PROGRAMMATIC_BID_REQUEST_CANDIDATES\x10\xF5\x02\x12(\x0A#ATN_PROGRAMMATIC_BID_REQUEST_ERRORS\x10\xF6\x02\x12,\x0A'ATN_PROGRAMMATIC_INELIGIBLE_AD_REQUESTS\x10\xF7\x02\x12#\x0A\x1EATN_PROGRAMMATIC_REJECTED_BIDS\x10\xF8\x02\x12*\x0A%ATN_PROGRAMMATIC_SKIPPED_BID_REQUESTS\x10\xF9\x02\x12 \x0A\x1BATN_PROGRAMMATIC_TOTAL_BIDS\x10\xFA\x02\x12'\x0A\"ATN_PROGRAMMATIC_VALID_AD_REQUESTS\x10\xFB\x02\x12\x1C\x0A\x17ATN_REJECTED_LINE_ITEMS\x10\xFC\x02\x12 \x0A\x1BATN_SERVED_MEDIATION_CHAINS\x10\xFD\x02\x12\x1A\x0A\x15ATN_SERVED_SINGLE_ADS\x10\xFE\x02\x12\x1C\x0A\x17ATN_TARGETED_LINE_ITEMS\x10\xFF\x02\x12\x1A\x0A\x15ATN_TOTAL_AD_REQUESTS\x10\x80\x03\x12\x19\x0A\x14ATN_TOTAL_LOADED_ADS\x10\x83\x03\x12\x1A\x0A\x15ATN_VALID_AD_REQUESTS\x10\x85\x03\x12(\x0A#ATN_YIELD_GROUP_MEDIATION_PASSBACKS\x10\x86\x03\x12\x1A\x0A\x15AUDIENCE_SEGMENT_COST\x10\xAE\x04\x12\x10\x0A\x0CAVERAGE_ECPM\x10%\x12\x1C\x0A\x18AVERAGE_ECPM_WITHOUT_CPD\x10\x05\x12+\x0A&AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION\x10\xE0\x01\x12(\x0A#AVERAGE_ENGAGEMENT_SECONDS_PER_USER\x10\xE1\x01\x12+\x0A&AVERAGE_IMPRESSIONS_PER_UNIQUE_VISITOR\x10\xA2\x03\x12-\x0A(AVERAGE_PURCHASE_REVENUE_PER_PAYING_USER\x10\xE2\x01\x12\x1D\x0A\x18AVERAGE_REVENUE_PER_USER\x10\xE3\x01\x12\x1C\x0A\x17AVERAGE_SESSION_SECONDS\x10\xE4\x01\x12\x09\x0A\x04BIDS\x10\xBB\x03\x12\x14\x0A\x0FBID_AVERAGE_CPM\x10\xBC\x03\x12\x10\x0A\x0BBOUNCE_RATE\x10\xB1\x03\x12\x0A\x0A\x06CLICKS\x10\x02\x12\x15\x0A\x11CODE_SERVED_COUNT\x10,\x12\x10\x0A\x0BCPC_REVENUE\x10\xB8\x03\x12\x10\x0A\x0BCPM_REVENUE\x10\xB9\x03\x12%\x0A CREATIVE_LOAD_TIME_0_500_PERCENT\x10\xC4\x02\x12)\x0A\$CREATIVE_LOAD_TIME_1000_2000_PERCENT\x10\xC6\x02\x12)\x0A\$CREATIVE_LOAD_TIME_2000_4000_PERCENT\x10\xC7\x02\x12)\x0A\$CREATIVE_LOAD_TIME_4000_8000_PERCENT\x10\xC8\x02\x12(\x0A#CREATIVE_LOAD_TIME_500_1000_PERCENT\x10\xC5\x02\x12'\x0A\"CREATIVE_LOAD_TIME_GT_8000_PERCENT\x10\xC9\x02\x12\x07\x0A\x03CTR\x10\x03\x12\x0F\x0A\x0ADEALS_BIDS\x10\x9E\x04\x12\x13\x0A\x0EDEALS_BID_RATE\x10\x9F\x04\x12\x17\x0A\x12DEALS_BID_REQUESTS\x10\xA0\x04\x12\x17\x0A\x12DEALS_WINNING_BIDS\x10\xA1\x04\x12\x13\x0A\x0EDEALS_WIN_RATE\x10\xA2\x04\x12/\x0A*DOM_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT\x10\x89\x04\x123\x0A.DOM_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT\x10\x8A\x04\x123\x0A.DOM_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT\x10\x8B\x04\x123\x0A.DOM_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT\x10\x8C\x04\x122\x0A-DOM_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT\x10\x8D\x04\x121\x0A,DOM_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT\x10\x88\x04\x12,\x0A'DOM_LOAD_TO_TAG_LOAD_TIME_0_500_PERCENT\x10\x8E\x04\x120\x0A+DOM_LOAD_TO_TAG_LOAD_TIME_1000_2000_PERCENT\x10\x8F\x04\x120\x0A+DOM_LOAD_TO_TAG_LOAD_TIME_2000_4000_PERCENT\x10\x90\x04\x120\x0A+DOM_LOAD_TO_TAG_LOAD_TIME_4000_8000_PERCENT\x10\x91\x04\x12/\x0A*DOM_LOAD_TO_TAG_LOAD_TIME_500_1000_PERCENT\x10\x93\x04\x12.\x0A)DOM_LOAD_TO_TAG_LOAD_TIME_GT_8000_PERCENT\x10\x92\x04\x12\x11\x0A\x0CDROPOFF_RATE\x10\x9F\x03\x12\x15\x0A\x10ENGAGED_SESSIONS\x10\xE5\x01\x12\x1E\x0A\x19ENGAGED_SESSIONS_PER_USER\x10\xE6\x01\x12\x14\x0A\x0FENGAGEMENT_RATE\x10\xAA\x03\x12&\x0A!EUROPEAN_REGULATIONS_CONSENT_RATE\x10\x8E\x02\x12-\x0A(EUROPEAN_REGULATIONS_CUSTOM_CONSENT_RATE\x10\x8F\x02\x12(\x0A#EUROPEAN_REGULATIONS_MESSAGES_SHOWN\x10\x90\x02\x12)\x0A\$EUROPEAN_REGULATIONS_NO_CONSENT_RATE\x10\x91\x02\x12\x0E\x0A\x09FILL_RATE\x10\x82\x02\x12\x1C\x0A\x17GOOGLE_ANALYTICS_CLICKS\x10\xE7\x01\x12\x19\x0A\x14GOOGLE_ANALYTICS_CTR\x10\xE8\x01\x12\x1A\x0A\x15GOOGLE_ANALYTICS_ECPM\x10\xE9\x01\x12!\x0A\x1CGOOGLE_ANALYTICS_IMPRESSIONS\x10\xEA\x01\x12\x1D\x0A\x18GOOGLE_ANALYTICS_REVENUE\x10\xEB\x01\x12\x1B\x0A\x16GOOGLE_ANALYTICS_VIEWS\x10\xEC\x01\x12\$\x0A\x1FGOOGLE_ANALYTICS_VIEWS_PER_USER\x10\xED\x01\x12-\x0A(GOOGLE_SOLD_AUCTION_COVIEWED_IMPRESSIONS\x10\x81\x01\x12\$\x0A\x1FGOOGLE_SOLD_AUCTION_IMPRESSIONS\x10\x80\x01\x12%\x0A GOOGLE_SOLD_COVIEWED_IMPRESSIONS\x10\x83\x01\x12\x1C\x0A\x17GOOGLE_SOLD_IMPRESSIONS\x10\x82\x01\x120\x0A,GOOGLE_SOLD_RESERVATION_COVIEWED_IMPRESSIONS\x10\x7F\x12'\x0A#GOOGLE_SOLD_RESERVATION_IMPRESSIONS\x10~\x12\x0F\x0A\x0BIMPRESSIONS\x10\x01\x12)\x0A\$INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS\x10\x97\x03\x12\x15\x0A\x10INVENTORY_SHARES\x10\xA3\x04\x123\x0A.INVENTORY_SHARE_PARTNER_UNFILLED_OPPORTUNITIES\x10\xA4\x04\x12\x19\x0A\x14INVOICED_IMPRESSIONS\x10\x94\x03\x12\"\x0A\x1DINVOICED_UNFILLED_IMPRESSIONS\x10\x95\x03\x12\x1C\x0A\x17MEDIATION_CHAINS_FILLED\x10\xC8\x04\x12\x16\x0A\x11MUTED_IMPRESSIONS\x10\x9C\x03\x12\x1E\x0A\x19MUTE_ELIGIBLE_IMPRESSIONS\x10\x99\x03\x12\x1B\x0A\x16NIELSEN_AUDIENCE_INDEX\x10\xB8\x04\x12\x1E\x0A\x19NIELSEN_AVERAGE_FREQUENCY\x10\xB9\x04\x12&\x0A!NIELSEN_AVERAGE_NUMBER_OF_VIEWERS\x10\xBA\x04\x12 \x0A\x1BNIELSEN_GROSS_RATING_POINTS\x10\xBB\x04\x12\x18\x0A\x13NIELSEN_IMPRESSIONS\x10\xBC\x04\x12\x1E\x0A\x19NIELSEN_IMPRESSIONS_INDEX\x10\xBD\x04\x12\x1C\x0A\x17NIELSEN_IN_TARGET_RATIO\x10\xC0\x04\x12#\x0A\x1ENIELSEN_PERCENT_AUDIENCE_REACH\x10\xC2\x04\x12#\x0A\x1ENIELSEN_PERCENT_AUDIENCE_SHARE\x10\xC3\x04\x12&\x0A!NIELSEN_PERCENT_IMPRESSIONS_SHARE\x10\xC4\x04\x12%\x0A NIELSEN_PERCENT_POPULATION_SHARE\x10\xC5\x04\x12\x1C\x0A\x17NIELSEN_POPULATION_BASE\x10\xC6\x04\x12\x1C\x0A\x17NIELSEN_UNIQUE_AUDIENCE\x10\xC7\x04\x124\x0A/OFF_PROPERTY_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS\x10\x8B\x03\x122\x0A-OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS\x10\x8C\x03\x127\x0A2OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE\x10\x8D\x03\x12\x18\x0A\x13OFF_PROPERTY_CLICKS\x10\x8E\x03\x12\x15\x0A\x10OFF_PROPERTY_CTR\x10\x8F\x03\x12\x1D\x0A\x18OFF_PROPERTY_IMPRESSIONS\x10\x90\x03\x12\x19\x0A\x14OFF_PROPERTY_REVENUE\x10\x91\x03\x12\x17\x0A\x12OFF_PROPERTY_SPEND\x10\x92\x03\x12\x1C\x0A\x17OFF_PROPERTY_SPEND_ECPM\x10\x93\x03\x12#\x0A\x1EON_PLATFORM_MULTIPLE_CALL_ECPM\x10\xA6\x05\x12*\x0A%ON_PLATFORM_MULTIPLE_CALL_IMPRESSIONS\x10\xA4\x05\x12&\x0A!ON_PLATFORM_MULTIPLE_CALL_REVENUE\x10\xA5\x05\x12\x12\x0A\x0DOPPORTUNITIES\x10\xCF\x03\x12\x1E\x0A\x19OVERDELIVERED_IMPRESSIONS\x10\xB0\x03\x12\"\x0A\x1DPARTNER_FINANCE_GROSS_REVENUE\x10\x88\x05\x12\x1E\x0A\x19PARTNER_FINANCE_HOST_ECPM\x10\x89\x05\x12%\x0A PARTNER_FINANCE_HOST_IMPRESSIONS\x10\x8A\x05\x12!\x0A\x1CPARTNER_FINANCE_HOST_REVENUE\x10\x8B\x05\x12!\x0A\x1CPARTNER_FINANCE_PARTNER_ECPM\x10\x8C\x05\x12\$\x0A\x1FPARTNER_FINANCE_PARTNER_REVENUE\x10\x8D\x05\x12%\x0A PARTNER_MANAGEMENT_GROSS_REVENUE\x10\x95\x04\x12#\x0A\x1EPARTNER_MANAGEMENT_HOST_CLICKS\x10\x96\x04\x12 \x0A\x1BPARTNER_MANAGEMENT_HOST_CTR\x10\x97\x04\x12(\x0A#PARTNER_MANAGEMENT_HOST_IMPRESSIONS\x10\x98\x04\x12&\x0A!PARTNER_MANAGEMENT_PARTNER_CLICKS\x10\x99\x04\x12#\x0A\x1EPARTNER_MANAGEMENT_PARTNER_CTR\x10\x9A\x04\x12+\x0A&PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS\x10\x9B\x04\x12+\x0A&PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS\x10\x9C\x04\x12,\x0A'PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS\x10\x9D\x04\x12&\x0A!PARTNER_SALES_FILLED_POD_REQUESTS\x10\x87\x01\x12\x1C\x0A\x17PARTNER_SALES_FILL_RATE\x10\x88\x01\x12%\x0A PARTNER_SALES_PARTNER_MATCH_RATE\x10\x89\x01\x12\x1A\x0A\x15PARTNER_SALES_QUERIES\x10\x84\x01\x12'\x0A\"PARTNER_SALES_UNFILLED_IMPRESSIONS\x10\x85\x01\x12\$\x0A\x1FPARTNER_SALES_UNMATCHED_QUERIES\x10\x86\x01\x12\x1C\x0A\x18PARTNER_SOLD_CODE_SERVED\x10}\x12%\x0A!PARTNER_SOLD_COVIEWED_IMPRESSIONS\x10|\x12\x1C\x0A\x18PARTNER_SOLD_IMPRESSIONS\x10{\x12&\x0A!PROGRAMMATIC_ELIGIBLE_AD_REQUESTS\x10\xB1\x01\x12\x1C\x0A\x17PROGRAMMATIC_MATCH_RATE\x10\xB2\x01\x12\"\x0A\x1DPROGRAMMATIC_RESPONSES_SERVED\x10\xB0\x01\x12\x16\x0A\x11REACH_IMPRESSIONS\x10\xA0\x03\x12\x14\x0A\x10RESPONSES_SERVED\x10'\x12\x0E\x0A\x09RETENTION\x10\xEE\x01\x12\x0B\x0A\x07REVENUE\x10\$\x12)\x0A\$REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT\x10\xD6\x01\x12%\x0A REVENUE_VERIFICATION_CPD_REVENUE\x10\xB0\x04\x12+\x0A&REVENUE_VERIFICATION_GROSS_CPD_REVENUE\x10\xAF\x04\x123\x0A.REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD\x10\xB1\x04\x12%\x0A REVENUE_VERIFICATION_IMPRESSIONS\x10\xB4\x04\x12-\x0A(REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD\x10\xB7\x04\x12\x17\x0A\x13REVENUE_WITHOUT_CPD\x10\x04\x12\x14\x0A\x0FREWARDS_GRANTED\x10\x9D\x03\x12\$\x0A\x1FRICH_MEDIA_AVERAGE_DISPLAY_TIME\x10\xCB\x04\x12(\x0A#RICH_MEDIA_AVERAGE_INTERACTION_TIME\x10\xCC\x04\x12\x1D\x0A\x18RICH_MEDIA_BACKUP_IMAGES\x10\xCD\x04\x12\"\x0A\x1DRICH_MEDIA_CUSTOM_EVENT_COUNT\x10\xD7\x04\x12!\x0A\x1CRICH_MEDIA_CUSTOM_EVENT_TIME\x10\xD8\x04\x12\x1C\x0A\x17RICH_MEDIA_DISPLAY_TIME\x10\xCE\x04\x12\x1E\x0A\x19RICH_MEDIA_EXPANDING_TIME\x10\xCF\x04\x12\x1A\x0A\x15RICH_MEDIA_EXPANSIONS\x10\xD0\x04\x12'\x0A\"RICH_MEDIA_FULL_SCREEN_IMPRESSIONS\x10\xD1\x04\x12!\x0A\x1CRICH_MEDIA_INTERACTION_COUNT\x10\xD2\x04\x12 \x0A\x1BRICH_MEDIA_INTERACTION_RATE\x10\xD3\x04\x12 \x0A\x1BRICH_MEDIA_INTERACTION_TIME\x10\xD4\x04\x12'\x0A\"RICH_MEDIA_INTERACTIVE_IMPRESSIONS\x10\xD5\x04\x12\x1D\x0A\x18RICH_MEDIA_MANUAL_CLOSES\x10\xD6\x04\x12\x1F\x0A\x1ARICH_MEDIA_VIDEO_COMPLETES\x10\xF7\x03\x12\"\x0A\x1DRICH_MEDIA_VIDEO_INTERACTIONS\x10\xF9\x03\x12&\x0A!RICH_MEDIA_VIDEO_INTERACTION_RATE\x10\xF8\x03\x12\x1F\x0A\x1ARICH_MEDIA_VIDEO_MIDPOINTS\x10\xFA\x03\x12\x1B\x0A\x16RICH_MEDIA_VIDEO_MUTES\x10\xFB\x03\x12\x1C\x0A\x17RICH_MEDIA_VIDEO_PAUSES\x10\xFC\x03\x12\x1B\x0A\x16RICH_MEDIA_VIDEO_PLAYS\x10\xFD\x03\x12\x1D\x0A\x18RICH_MEDIA_VIDEO_REPLAYS\x10\xFE\x03\x12\x1B\x0A\x16RICH_MEDIA_VIDEO_STOPS\x10\xFF\x03\x12\x1D\x0A\x18RICH_MEDIA_VIDEO_UNMUTES\x10\x80\x04\x12\x1F\x0A\x1ARICH_MEDIA_VIDEO_VIEW_RATE\x10\x81\x04\x12\x1F\x0A\x1ARICH_MEDIA_VIDEO_VIEW_TIME\x10\x82\x04\x12'\x0A\"SELL_THROUGH_AVAILABLE_IMPRESSIONS\x10\xDD\x03\x12(\x0A#SELL_THROUGH_FORECASTED_IMPRESSIONS\x10\xDE\x03\x12&\x0A!SELL_THROUGH_RESERVED_IMPRESSIONS\x10\xDF\x03\x12#\x0A\x1ESELL_THROUGH_SELL_THROUGH_RATE\x10\xE0\x03\x12.\x0A)SERVER_SIDE_UNWRAPPING_AVERAGE_LATENCY_MS\x10\xB2\x03\x12\$\x0A\x1FSERVER_SIDE_UNWRAPPING_CALLOUTS\x10\xB3\x03\x12+\x0A&SERVER_SIDE_UNWRAPPING_EMPTY_RESPONSES\x10\xB4\x03\x12+\x0A&SERVER_SIDE_UNWRAPPING_ERROR_RESPONSES\x10\xB5\x03\x120\x0A+SERVER_SIDE_UNWRAPPING_SUCCESSFUL_RESPONSES\x10\xB6\x03\x12\$\x0A\x1FSERVER_SIDE_UNWRAPPING_TIMEOUTS\x10\xB7\x03\x12\x0D\x0A\x08SESSIONS\x10\xEF\x01\x12/\x0A*TAG_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT\x10\xC7\x03\x123\x0A.TAG_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT\x10\xC9\x03\x123\x0A.TAG_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT\x10\xCA\x03\x123\x0A.TAG_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT\x10\xCB\x03\x122\x0A-TAG_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT\x10\xC8\x03\x121\x0A,TAG_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT\x10\xCC\x03\x12\x14\x0A\x0FTARGETED_CLICKS\x10\x94\x02\x12\x19\x0A\x14TARGETED_IMPRESSIONS\x10\x95\x02\x12\x18\x0A\x14UNFILLED_IMPRESSIONS\x10-\x12\x14\x0A\x0FUNIQUE_VISITORS\x10\xA1\x03\x12\$\x0A\x1FUNLOADED_IMPRESSIONS_DUE_TO_CPU\x10\x98\x03\x12(\x0A#UNLOADED_IMPRESSIONS_DUE_TO_NETWORK\x10\x96\x03\x12\x19\x0A\x15UNMATCHED_AD_REQUESTS\x10+\x12\"\x0A\x1DUNVIEWED_REASON_OTHER_PERCENT\x10\xA6\x04\x128\x0A3UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT\x10\xA9\x04\x12;\x0A6UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT\x10\xA7\x04\x12;\x0A6UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT\x10\xA8\x04\x12<\x0A7UNVIEWED_REASON_USER_SCROLLED_BEFORE_ONE_SECOND_PERCENT\x10\xA5\x04\x12(\x0A#USER_ENGAGEMENT_DURATION_IN_SECONDS\x10\xF0\x01\x12-\x0A(USER_MESSAGES_AD_BLOCKING_EXTENSION_RATE\x10\xE6\x03\x129\x0A4USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT\x10\xE7\x03\x126\x0A1USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN\x10\xE8\x03\x12&\x0A!USER_MESSAGES_ALLOW_ADS_PAGEVIEWS\x10\xE9\x03\x12(\x0A#USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN\x10\xEB\x03\x12#\x0A\x1EUSER_MESSAGES_IDFA_ATT_CONSENT\x10\xEC\x03\x12(\x0A#USER_MESSAGES_IDFA_ATT_CONSENT_RATE\x10\xED\x03\x12+\x0A&USER_MESSAGES_IDFA_ATT_DECLINE_CONSENT\x10\xEE\x03\x12(\x0A#USER_MESSAGES_IDFA_ATT_DECLINE_RATE\x10\xEF\x03\x12(\x0A#USER_MESSAGES_IDFA_EXPLAINERS_SHOWN\x10\xF0\x03\x12*\x0A%USER_MESSAGES_IDFA_IAB_MESSAGES_SHOWN\x10\xF1\x03\x12#\x0A\x1EUSER_MESSAGES_IDFA_NO_DECISION\x10\xF2\x03\x12*\x0A&USER_MESSAGES_OFFERWALL_MESSAGES_SHOWN\x10y\x122\x0A.USER_MESSAGES_OFFERWALL_SUCCESSFUL_ENGAGEMENTS\x10z\x12+\x0A&USER_MESSAGES_POST_OFFERWALL_PAGEVIEWS\x10\xF3\x03\x12*\x0A%USER_MESSAGES_TOTAL_ESTIMATED_REVENUE\x10\xF4\x03\x12&\x0A!USER_MESSAGES_UPTC_MESSAGES_SHOWN\x10\xF5\x03\x125\x0A0USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO\x10\xF6\x03\x12+\x0A&USER_MESSAGES_US_STATES_MESSAGES_SHOWN\x10\xEA\x03\x12/\x0A*USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS\x10\xCA\x04\x12\x1A\x0A\x15VIDEO_ERROR_100_COUNT\x10\xB4\x01\x12\x1A\x0A\x15VIDEO_ERROR_101_COUNT\x10\xB5\x01\x12\x1A\x0A\x15VIDEO_ERROR_102_COUNT\x10\xB6\x01\x12\x1A\x0A\x15VIDEO_ERROR_200_COUNT\x10\xB7\x01\x12\x1A\x0A\x15VIDEO_ERROR_201_COUNT\x10\xB8\x01\x12\x1A\x0A\x15VIDEO_ERROR_202_COUNT\x10\xB9\x01\x12\x1A\x0A\x15VIDEO_ERROR_203_COUNT\x10\xBA\x01\x12\x1A\x0A\x15VIDEO_ERROR_300_COUNT\x10\xBB\x01\x12\x1A\x0A\x15VIDEO_ERROR_301_COUNT\x10\xBC\x01\x12\x1A\x0A\x15VIDEO_ERROR_302_COUNT\x10\xBD\x01\x12\x1A\x0A\x15VIDEO_ERROR_303_COUNT\x10\xBE\x01\x12\x1A\x0A\x15VIDEO_ERROR_400_COUNT\x10\xBF\x01\x12\x1A\x0A\x15VIDEO_ERROR_401_COUNT\x10\xC0\x01\x12\x1A\x0A\x15VIDEO_ERROR_402_COUNT\x10\xC1\x01\x12\x1A\x0A\x15VIDEO_ERROR_403_COUNT\x10\xC2\x01\x12\x1A\x0A\x15VIDEO_ERROR_405_COUNT\x10\xC3\x01\x12\x1A\x0A\x15VIDEO_ERROR_406_COUNT\x10\xC4\x01\x12\x1A\x0A\x15VIDEO_ERROR_407_COUNT\x10\xC5\x01\x12\x1A\x0A\x15VIDEO_ERROR_408_COUNT\x10\xC6\x01\x12\x1A\x0A\x15VIDEO_ERROR_409_COUNT\x10\xC7\x01\x12\x1A\x0A\x15VIDEO_ERROR_410_COUNT\x10\xC8\x01\x12\x1A\x0A\x15VIDEO_ERROR_500_COUNT\x10\xC9\x01\x12\x1A\x0A\x15VIDEO_ERROR_501_COUNT\x10\xCA\x01\x12\x1A\x0A\x15VIDEO_ERROR_502_COUNT\x10\xCB\x01\x12\x1A\x0A\x15VIDEO_ERROR_503_COUNT\x10\xCC\x01\x12\x1A\x0A\x15VIDEO_ERROR_600_COUNT\x10\xCD\x01\x12\x1A\x0A\x15VIDEO_ERROR_601_COUNT\x10\xCE\x01\x12\x1A\x0A\x15VIDEO_ERROR_602_COUNT\x10\xCF\x01\x12\x1A\x0A\x15VIDEO_ERROR_603_COUNT\x10\xD0\x01\x12\x1A\x0A\x15VIDEO_ERROR_604_COUNT\x10\xD1\x01\x12\x1A\x0A\x15VIDEO_ERROR_900_COUNT\x10\xD2\x01\x12\x1A\x0A\x15VIDEO_ERROR_901_COUNT\x10\xD3\x01\x12.\x0A*VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE\x10\\\x12\x1F\x0A\x1BVIDEO_INTERACTION_COLLAPSES\x10]\x12\x1D\x0A\x19VIDEO_INTERACTION_EXPANDS\x10_\x12\"\x0A\x1EVIDEO_INTERACTION_FULL_SCREENS\x10`\x12\x1B\x0A\x17VIDEO_INTERACTION_MUTES\x10a\x12\x1C\x0A\x18VIDEO_INTERACTION_PAUSES\x10b\x12\x1D\x0A\x19VIDEO_INTERACTION_RESUMES\x10c\x12\x1D\x0A\x19VIDEO_INTERACTION_REWINDS\x10d\x12\x1D\x0A\x19VIDEO_INTERACTION_UNMUTES\x10e\x12!\x0A\x1DVIDEO_INTERACTION_VIDEO_SKIPS\x10f\x12\$\x0A\x1FVIDEO_MONETIZABLE_CONTENT_VIEWS\x10\xD9\x04\x12\$\x0A\x1FVIDEO_REAL_TIME_CREATIVE_SERVES\x10\x8B\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_100_COUNT\x10\x8F\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_101_COUNT\x10\x90\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_102_COUNT\x10\x91\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_200_COUNT\x10\x92\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_201_COUNT\x10\x93\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_202_COUNT\x10\x94\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_203_COUNT\x10\x95\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_300_COUNT\x10\x96\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_301_COUNT\x10\x97\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_302_COUNT\x10\x98\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_303_COUNT\x10\x99\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_400_COUNT\x10\x9A\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_401_COUNT\x10\x9B\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_402_COUNT\x10\x9C\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_403_COUNT\x10\x9D\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_405_COUNT\x10\x9E\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_406_COUNT\x10\x9F\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_407_COUNT\x10\xA0\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_408_COUNT\x10\xA1\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_409_COUNT\x10\xA2\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_410_COUNT\x10\xA3\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_500_COUNT\x10\xA4\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_501_COUNT\x10\xA5\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_502_COUNT\x10\xA6\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_503_COUNT\x10\xA7\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_600_COUNT\x10\xA8\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_601_COUNT\x10\xA9\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_602_COUNT\x10\xAA\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_603_COUNT\x10\xAB\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_604_COUNT\x10\xAC\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_900_COUNT\x10\xAD\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_ERROR_901_COUNT\x10\xAE\x01\x12 \x0A\x1BVIDEO_REAL_TIME_IMPRESSIONS\x10\x8A\x01\x12\$\x0A\x1FVIDEO_REAL_TIME_MATCHED_QUERIES\x10\x8C\x01\x12&\x0A!VIDEO_REAL_TIME_TOTAL_ERROR_COUNT\x10\xAF\x01\x12\"\x0A\x1DVIDEO_REAL_TIME_TOTAL_QUERIES\x10\x8E\x01\x12&\x0A!VIDEO_REAL_TIME_UNMATCHED_QUERIES\x10\x8D\x01\x12-\x0A(VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END\x10\x97\x02\x12/\x0A*VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START\x10\x98\x02\x12@\x0A;VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK\x10\x99\x02\x12?\x0A:VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_SUBPOD\x10\x9A\x02\x124\x0A/VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK\x10\x9B\x02\x123\x0A.VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_SUBPOD\x10\x9C\x02\x12<\x0A7VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK\x10\x9D\x02\x12;\x0A6VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_SUBPOD\x10\x9E\x02\x12A\x0AinternalAddGeneratedFile( + "\x0A\xA5\x0B\x0A-google/ads/admanager/v1/report_delivery.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x16google/type/date.proto\x1A\x1Bgoogle/type/dayofweek.proto\x1A\x1Bgoogle/type/timeofday.proto\"\xFA\x07\x0A\x0FScheduleOptions\x12C\x0A\x08schedule\x18\x01 \x01(\x0B21.google.ads.admanager.v1.ScheduleOptions.Schedule\x12V\x0A\x12delivery_condition\x18\x02 \x01(\x0E2:.google.ads.admanager.v1.ScheduleOptions.DeliveryCondition\x12B\x0A\x05flags\x18\x03 \x03(\x0B2..google.ads.admanager.v1.ReportDefinition.FlagB\x03\xE0A\x01\x1A\xBB\x05\x0A\x08Schedule\x12[\x0A\x0Fweekly_schedule\x18\x06 \x01(\x0B2@.google.ads.admanager.v1.ScheduleOptions.Schedule.WeeklyScheduleH\x00\x12]\x0A\x10monthly_schedule\x18\x07 \x01(\x0B2A.google.ads.admanager.v1.ScheduleOptions.Schedule.MonthlyScheduleH\x00\x12%\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.Date\x12#\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.Date\x12N\x0A\x09frequency\x18\x03 \x01(\x0E2;.google.ads.admanager.v1.ScheduleOptions.Schedule.Frequency\x12*\x0A\x0Astart_time\x18\x04 \x01(\x0B2\x16.google.type.TimeOfDay\x1AG\x0A\x0EWeeklySchedule\x125\x0A\x15weekly_scheduled_days\x18\x01 \x03(\x0E2\x16.google.type.DayOfWeek\x1A1\x0A\x0FMonthlySchedule\x12\x1E\x0A\x16monthly_scheduled_days\x18\x01 \x03(\x05\"\x98\x01\x0A\x09Frequency\x12\x19\x0A\x15FREQUENCY_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06HOURLY\x10\x01\x12\x13\x0A\x0FTWO_TIMES_DAILY\x10\x02\x12\x15\x0A\x11THREE_TIMES_DAILY\x10\x03\x12\x14\x0A\x10FOUR_TIMES_DAILY\x10\x04\x12\x09\x0A\x05DAILY\x10\x05\x12\x0A\x0A\x06WEEKLY\x10\x06\x12\x0B\x0A\x07MONTHLY\x10\x07B\x14\x0A\x12frequency_schedule\"H\x0A\x11DeliveryCondition\x12\x09\x0A\x05NEVER\x10\x00\x12\x0A\x0A\x06ALWAYS\x10\x01\x12\x1C\x0A\x18WHEN_FLAG_CONDITIONS_MET\x10\x02B\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13ReportDeliveryProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportMessages.php new file mode 100644 index 000000000000..8b339645893c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportMessages.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xAD\x0D\x0A-google/ads/admanager/v1/report_messages.proto\x12\x17google.ads.admanager.v1\x1A-google/ads/admanager/v1/report_delivery.proto\x1A*google/ads/admanager/v1/report_value.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCE\x04\x0A\x06Report\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x16\x0A\x09report_id\x18\x03 \x01(\x03B\x03\xE0A\x03\x12C\x0A\x0Avisibility\x18\x02 \x01(\x0E2*.google.ads.admanager.v1.Report.VisibilityB\x03\xE0A\x01\x12I\x0A\x11report_definition\x18\x04 \x01(\x0B2).google.ads.admanager.v1.ReportDefinitionB\x03\xE0A\x02\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06locale\x18\x08 \x01(\x09B\x03\xE0A\x03\x12G\x0A\x10schedule_options\x18\x09 \x01(\x0B2(.google.ads.admanager.v1.ScheduleOptionsB\x03\xE0A\x01\"C\x0A\x0AVisibility\x12\x0A\x0A\x06HIDDEN\x10\x00\x12\x09\x0A\x05DRAFT\x10\x01\x12\x0B\x0A\x07VISIBLE\x10\x02\x12\x0D\x0A\x05SAVED\x10\x02\x1A\x02\x08\x01\x1A\x02\x10\x01:_\xEAA\\\x0A\x1Fadmanager.googleapis.com/Report\x12(networks/{network_code}/reports/{report}*\x07reports2\x06report\"\x87\x05\x0A\x0FReportDataTable\x1A\x9D\x01\x0A\x03Row\x12>\x0A\x10dimension_values\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12V\x0A\x13metric_value_groups\x18\x02 \x03(\x0B29.google.ads.admanager.v1.ReportDataTable.MetricValueGroup\x1A\xD3\x03\x0A\x10MetricValueGroup\x12<\x0A\x0Eprimary_values\x18\x01 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12M\x0A\x1Fprimary_percent_of_total_values\x18\x02 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12?\x0A\x11comparison_values\x18\x03 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12P\x0A\"comparison_percent_of_total_values\x18\x04 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12D\x0A\x16absolute_change_values\x18\x05 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12D\x0A\x16relative_change_values\x18\x06 \x03(\x0B2\$.google.ads.admanager.v1.ReportValue\x12\x13\x0A\x0Bflag_values\x18\x07 \x03(\x08B\xC7\x01\x0A\x1Bcom.google.ads.admanager.v1B\x13ReportMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportService.php new file mode 100644 index 000000000000..98da53832df6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xEE\x17\x0A,google/ads/admanager/v1/report_service.proto\x12\x17google.ads.admanager.v1\x1A-google/ads/admanager/v1/report_messages.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/longrunning/operations.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"I\x0A\x10RunReportRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/Report\"c\x0A\x11RunReportMetadata\x12\x18\x0A\x10percent_complete\x18\x02 \x01(\x05\x124\x0A\x06report\x18\x04 \x01(\x09B\$\xFAA!\x0A\x1Fadmanager.googleapis.com/Report\"*\x0A\x11RunReportResponse\x12\x15\x0A\x0Dreport_result\x18\x01 \x01(\x09\"I\x0A\x10GetReportRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fadmanager.googleapis.com/Report\"\xBE\x01\x0A\x12ListReportsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"t\x0A\x13ListReportsResponse\x120\x0A\x07reports\x18\x01 \x03(\x0B2\x1F.google.ads.admanager.v1.Report\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x85\x01\x0A\x13CreateReportRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x124\x0A\x06report\x18\x02 \x01(\x0B2\x1F.google.ads.admanager.v1.ReportB\x03\xE0A\x02\"\x81\x01\x0A\x13UpdateReportRequest\x124\x0A\x06report\x18\x01 \x01(\x0B2\x1F.google.ads.admanager.v1.ReportB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"]\x0A\x1CFetchReportResultRowsRequest\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xF8\x02\x0A\x1DFetchReportResultRowsResponse\x12:\x0A\x04rows\x18\x01 \x03(\x0B2,.google.ads.admanager.v1.ReportDataTable.Row\x12,\x0A\x08run_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12W\x0A\x0Bdate_ranges\x18\x03 \x03(\x0B2B.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange\x12b\x0A\x16comparison_date_ranges\x18\x04 \x03(\x0B2B.google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange\x12\x17\x0A\x0Ftotal_row_count\x18\x05 \x01(\x05\x12\x17\x0A\x0Fnext_page_token\x18\x06 \x01(\x092\x85\x09\x0A\x0DReportService\x12\x87\x01\x0A\x09GetReport\x12).google.ads.admanager.v1.GetReportRequest\x1A\x1F.google.ads.admanager.v1.Report\".\xDAA\x04name\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{name=networks/*/reports/*}\x12\x9A\x01\x0A\x0BListReports\x12+.google.ads.admanager.v1.ListReportsRequest\x1A,.google.ads.admanager.v1.ListReportsResponse\"0\xDAA\x06parent\x82\xD3\xE4\x93\x02!\x12\x1F/v1/{parent=networks/*}/reports\x12\x9E\x01\x0A\x0CCreateReport\x12,.google.ads.admanager.v1.CreateReportRequest\x1A\x1F.google.ads.admanager.v1.Report\"?\xDAA\x0Dparent,report\x82\xD3\xE4\x93\x02)\"\x1F/v1/{parent=networks/*}/reports:\x06report\x12\xAA\x01\x0A\x0CUpdateReport\x12,.google.ads.admanager.v1.UpdateReportRequest\x1A\x1F.google.ads.admanager.v1.Report\"K\xDAA\x12report,update_mask\x82\xD3\xE4\x93\x0202&/v1/{report.name=networks/*/reports/*}:\x06report\x12\xB5\x01\x0A\x09RunReport\x12).google.ads.admanager.v1.RunReportRequest\x1A\x1D.google.longrunning.Operation\"^\xCAA&\x0A\x11RunReportResponse\x12\x11RunReportMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02(\"#/v1/{name=networks/*/reports/*}:run:\x01*\x12\xCA\x01\x0A\x15FetchReportResultRows\x125.google.ads.admanager.v1.FetchReportResultRowsRequest\x1A6.google.ads.admanager.v1.FetchReportResultRowsResponse\"B\xDAA\x04name\x82\xD3\xE4\x93\x025\x123/v1/{name=networks/*/reports/*/results/*}:fetchRows\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12ReportServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportValue.php new file mode 100644 index 000000000000..1cea6ebb4560 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ReportValue.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDA\x05\x0A*google/ads/admanager/v1/report_value.proto\x12\x17google.ads.admanager.v1\"\xC3\x03\x0A\x0BReportValue\x12\x13\x0A\x09int_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00\x12\x16\x0A\x0Cstring_value\x18\x03 \x01(\x09H\x00\x12\x14\x0A\x0Abool_value\x18\x04 \x01(\x08H\x00\x12F\x0A\x0Eint_list_value\x18\x06 \x01(\x0B2,.google.ads.admanager.v1.ReportValue.IntListH\x00\x12L\x0A\x11string_list_value\x18\x07 \x01(\x0B2/.google.ads.admanager.v1.ReportValue.StringListH\x00\x12L\x0A\x11double_list_value\x18\x09 \x01(\x0B2/.google.ads.admanager.v1.ReportValue.DoubleListH\x00\x12\x15\x0A\x0Bbytes_value\x18\x08 \x01(\x0CH\x00\x1A\x19\x0A\x07IntList\x12\x0E\x0A\x06values\x18\x01 \x03(\x03\x1A\x1C\x0A\x0AStringList\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\x1A\x1C\x0A\x0ADoubleList\x12\x0E\x0A\x06values\x18\x01 \x03(\x01B\x07\x0A\x05valueB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10ReportValueProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RequestPlatformEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RequestPlatformEnum.php new file mode 100644 index 000000000000..0b234b1fe988 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RequestPlatformEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA0\x03\x0A3google/ads/admanager/v1/request_platform_enum.proto\x12\x17google.ads.admanager.v1\"y\x0A\x13RequestPlatformEnum\"b\x0A\x0FRequestPlatform\x12 \x0A\x1CREQUEST_PLATFORM_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BROWSER\x10\x01\x12\x0E\x0A\x0AMOBILE_APP\x10\x02\x12\x10\x0A\x0CVIDEO_PLAYER\x10\x03B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18RequestPlatformEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyEnums.php new file mode 100644 index 000000000000..0415d8980abd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA6\x04\x0A:google/ads/admanager/v1/rich_media_ads_company_enums.proto\x12\x17google.ads.admanager.v1\"\xF2\x01\x0A!RichMediaAdsCompanyGdprStatusEnum\"\xCC\x01\x0A\x1DRichMediaAdsCompanyGdprStatus\x122\x0A.RICH_MEDIA_ADS_COMPANY_GDPR_STATUS_UNSPECIFIED\x10\x00\x12\x16\x0A\x12COMPLIANCE_UNKNOWN\x10\x01\x12\x0D\x0A\x09COMPLIANT\x10\x02\x12\x19\x0A\x15COMPLIANT_AND_DEFAULT\x10\x03\x12\"\x0A\x1ECOMPLIANT_LIGHTWEIGHT_VERIFIED\x10\x04\x12\x11\x0A\x0DNOT_COMPLIANT\x10\x05B\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DRichMediaAdsCompanyEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyMessages.php new file mode 100644 index 000000000000..f3d8802c7f52 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xE3\x06\x0A=google/ads/admanager/v1/rich_media_ads_company_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xED\x03\x0A\x13RichMediaAdsCompany\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Apolicy_url\x18\x03 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12w\x0A\x0Bgdpr_status\x18\x04 \x01(\x0E2X.google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatusB\x03\xE0A\x03H\x02\x88\x01\x01\x12 \x0A\x0Ecompany_gvl_id\x18\x06 \x01(\x03B\x03\xE0A\x03H\x03\x88\x01\x01:\xA6\x01\xEAA\xA2\x01\x0A,admanager.googleapis.com/RichMediaAdsCompany\x12Fnetworks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}*\x15richMediaAdsCompanies2\x13richMediaAdsCompanyB\x0F\x0A\x0D_display_nameB\x0D\x0A\x0B_policy_urlB\x0E\x0A\x0C_gdpr_statusB\x11\x0A\x0F_company_gvl_idB\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B RichMediaAdsCompanyMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyService.php new file mode 100644 index 000000000000..cef62cbf7803 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RichMediaAdsCompanyService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xAE\x0B\x0A\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=networks/*}/richMediaAdsCompanies\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD3\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1FRichMediaAdsCompanyServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleEnums.php new file mode 100644 index 000000000000..aa12c62d87e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xE7\x02\x0A(google/ads/admanager/v1/role_enums.proto\x12\x17google.ads.admanager.v1\"U\x0A\x0ERoleStatusEnum\"C\x0A\x0ARoleStatus\x12\x1B\x0A\x17ROLE_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02B\xC2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0ERoleEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleMessages.php new file mode 100644 index 000000000000..d1f0aff4db88 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xD0\x05\x0A+google/ads/admanager/v1/role_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xFB\x02\x0A\x04Role\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1B\x0A\x07role_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1A\x0A\x08built_in\x18\x05 \x01(\x08B\x03\xE0A\x03H\x03\x88\x01\x01\x12L\x0A\x06status\x18\x06 \x01(\x0E22.google.ads.admanager.v1.RoleStatusEnum.RoleStatusB\x03\xE0A\x03H\x04\x88\x01\x01:U\xEAAR\x0A\x1Dadmanager.googleapis.com/Role\x12\$networks/{network_code}/roles/{role}*\x05roles2\x04roleB\x0A\x0A\x08_role_idB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x0B\x0A\x09_built_inB\x09\x0A\x07_statusB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11RoleMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleService.php new file mode 100644 index 000000000000..8595d30ae692 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/RoleService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x9F\x09\x0A*google/ads/admanager/v1/role_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"E\x0A\x0EGetRoleRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Role\"\xBC\x01\x0A\x10ListRolesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"n\x0A\x11ListRolesResponse\x12,\x0A\x05roles\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Role\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x9F\x03\x0A\x0BRoleService\x12\x7F\x0A\x07GetRole\x12'.google.ads.admanager.v1.GetRoleRequest\x1A\x1D.google.ads.admanager.v1.Role\",\xDAA\x04name\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{name=networks/*/roles/*}\x12\x92\x01\x0A\x09ListRoles\x12).google.ads.admanager.v1.ListRolesRequest\x1A*.google.ads.admanager.v1.ListRolesResponse\".\xDAA\x06parent\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{parent=networks/*}/roles\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10RoleServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteEnums.php new file mode 100644 index 000000000000..88128aba11c2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBD\x04\x0A(google/ads/admanager/v1/site_enums.proto\x12\x17google.ads.admanager.v1\"\x84\x01\x0A\x19SiteDisapprovalReasonEnum\"g\x0A\x15SiteDisapprovalReason\x12'\x0A#SITE_DISAPPROVAL_REASON_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CONTENT\x10\x01\x12\x09\x0A\x05OTHER\x10\x02\x12\x0D\x0A\x09OWNERSHIP\x10\x03\"\xA3\x01\x0A\x16SiteApprovalStatusEnum\"\x88\x01\x0A\x12SiteApprovalStatus\x12\$\x0A SITE_APPROVAL_STATUS_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08APPROVED\x10\x01\x12\x0F\x0A\x0BDISAPPROVED\x10\x02\x12\x09\x0A\x05DRAFT\x10\x03\x12\x13\x0A\x0FREQUIRES_REVIEW\x10\x04\x12\x0D\x0A\x09UNCHECKED\x10\x05B\xC2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0ESiteEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteMessages.php new file mode 100644 index 000000000000..c81f9d3ab547 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x9E\x08\x0A+google/ads/admanager/v1/site_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x80\x04\x0A\x04Site\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x15\x0A\x03url\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\$\x0A\x12child_network_code\x18\x04 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12e\x0A\x0Fapproval_status\x18\x05 \x01(\x0E2B.google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatusB\x03\xE0A\x03H\x02\x88\x01\x01\x12I\x0A\x1Bapproval_status_update_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03H\x03\x88\x01\x01\x12L\x0A\x13disapproval_reasons\x18\x07 \x03(\x0B2*.google.ads.admanager.v1.DisapprovalReasonB\x03\xE0A\x03:U\xEAAR\x0A\x1Dadmanager.googleapis.com/Site\x12\$networks/{network_code}/sites/{site}*\x05sites2\x04siteB\x06\x0A\x04_urlB\x15\x0A\x13_child_network_codeB\x12\x0A\x10_approval_statusB\x1E\x0A\x1C_approval_status_update_time\"\xA5\x01\x0A\x11DisapprovalReason\x12`\x0A\x04type\x18\x01 \x01(\x0E2H.google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReasonB\x03\xE0A\x03H\x00\x88\x01\x01\x12\x19\x0A\x07details\x18\x02 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01B\x07\x0A\x05_typeB\x0A\x0A\x08_detailsB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11SiteMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteService.php new file mode 100644 index 000000000000..245f92af38a5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SiteService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9F\x1A\x0A*google/ads/admanager/v1/site_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"E\x0A\x0EGetSiteRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Site\"\xBC\x01\x0A\x10ListSitesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"n\x0A\x11ListSitesResponse\x12,\x0A\x05sites\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Site\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x7F\x0A\x11CreateSiteRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x120\x0A\x04site\x18\x02 \x01(\x0B2\x1D.google.ads.admanager.v1.SiteB\x03\xE0A\x02\"\x96\x01\x0A\x17BatchCreateSitesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12A\x0A\x08requests\x18\x02 \x03(\x0B2*.google.ads.admanager.v1.CreateSiteRequestB\x03\xE0A\x02\"H\x0A\x18BatchCreateSitesResponse\x12,\x0A\x05sites\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Site\"{\x0A\x11UpdateSiteRequest\x120\x0A\x04site\x18\x01 \x01(\x0B2\x1D.google.ads.admanager.v1.SiteB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x96\x01\x0A\x17BatchUpdateSitesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12A\x0A\x08requests\x18\x02 \x03(\x0B2*.google.ads.admanager.v1.UpdateSiteRequestB\x03\xE0A\x02\"H\x0A\x18BatchUpdateSitesResponse\x12,\x0A\x05sites\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Site\"k\x0A\x1BBatchDeactivateSitesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x12\x0A\x05names\x18\x02 \x03(\x09B\x03\xE0A\x02\"\x1E\x0A\x1CBatchDeactivateSitesResponse\"r\x0A\"BatchSubmitSitesForApprovalRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x12\x0A\x05names\x18\x02 \x03(\x09B\x03\xE0A\x02\"%\x0A#BatchSubmitSitesForApprovalResponse2\x91\x0C\x0A\x0BSiteService\x12\x7F\x0A\x07GetSite\x12'.google.ads.admanager.v1.GetSiteRequest\x1A\x1D.google.ads.admanager.v1.Site\",\xDAA\x04name\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{name=networks/*/sites/*}\x12\x92\x01\x0A\x09ListSites\x12).google.ads.admanager.v1.ListSitesRequest\x1A*.google.ads.admanager.v1.ListSitesResponse\".\xDAA\x06parent\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{parent=networks/*}/sites\x12\x92\x01\x0A\x0ACreateSite\x12*.google.ads.admanager.v1.CreateSiteRequest\x1A\x1D.google.ads.admanager.v1.Site\"9\xDAA\x0Bparent,site\x82\xD3\xE4\x93\x02%\"\x1D/v1/{parent=networks/*}/sites:\x04site\x12\xBF\x01\x0A\x10BatchCreateSites\x120.google.ads.admanager.v1.BatchCreateSitesRequest\x1A1.google.ads.admanager.v1.BatchCreateSitesResponse\"F\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02.\")/v1/{parent=networks/*}/sites:batchCreate:\x01*\x12\x9C\x01\x0A\x0AUpdateSite\x12*.google.ads.admanager.v1.UpdateSiteRequest\x1A\x1D.google.ads.admanager.v1.Site\"C\xDAA\x10site,update_mask\x82\xD3\xE4\x93\x02*2\"/v1/{site.name=networks/*/sites/*}:\x04site\x12\xBF\x01\x0A\x10BatchUpdateSites\x120.google.ads.admanager.v1.BatchUpdateSitesRequest\x1A1.google.ads.admanager.v1.BatchUpdateSitesResponse\"F\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02.\")/v1/{parent=networks/*}/sites:batchUpdate:\x01*\x12\xCC\x01\x0A\x14BatchDeactivateSites\x124.google.ads.admanager.v1.BatchDeactivateSitesRequest\x1A5.google.ads.admanager.v1.BatchDeactivateSitesResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/sites:batchDeactivate:\x01*\x12\xE8\x01\x0A\x1BBatchSubmitSitesForApproval\x12;.google.ads.admanager.v1.BatchSubmitSitesForApprovalRequest\x1A<.google.ads.admanager.v1.BatchSubmitSitesForApprovalResponse\"N\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/sites:batchSubmitForApproval:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10SiteServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Size.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Size.php new file mode 100644 index 000000000000..f312f8b38e25 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Size.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x9F\x03\x0A\"google/ads/admanager/v1/size.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"w\x0A\x04Size\x12\x12\x0A\x05width\x18\x01 \x01(\x05B\x03\xE0A\x02\x12\x13\x0A\x06height\x18\x02 \x01(\x05B\x03\xE0A\x02\x12F\x0A\x09size_type\x18\x03 \x01(\x0E2..google.ads.admanager.v1.SizeTypeEnum.SizeTypeB\x03\xE0A\x02B\xBD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x09SizeProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SizeTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SizeTypeEnum.php new file mode 100644 index 000000000000..d95a49c61ca1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SizeTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xAE\x03\x0A,google/ads/admanager/v1/size_type_enum.proto\x12\x17google.ads.admanager.v1\"\x94\x01\x0A\x0CSizeTypeEnum\"\x83\x01\x0A\x08SizeType\x12\x19\x0A\x15SIZE_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05PIXEL\x10\x01\x12\x10\x0A\x0CASPECT_RATIO\x10\x02\x12\x10\x0A\x0CINTERSTITIAL\x10\x03\x12\x0B\x0A\x07IGNORED\x10\x04\x12\x0A\x0A\x06NATIVE\x10\x05\x12\x09\x0A\x05FLUID\x10\x06\x12\x09\x0A\x05AUDIO\x10\x07B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11SizeTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SkippableAdTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SkippableAdTypeEnum.php new file mode 100644 index 000000000000..0db8cf5c06b7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SkippableAdTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xAD\x03\x0A4google/ads/admanager/v1/skippable_ad_type_enum.proto\x12\x17google.ads.admanager.v1\"\x84\x01\x0A\x13SkippableAdTypeEnum\"m\x0A\x0FSkippableAdType\x12!\x0A\x1DSKIPPABLE_AD_TYPE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03ANY\x10\x01\x12\x0C\x0A\x08DISABLED\x10\x02\x12\x0B\x0A\x07ENABLED\x10\x03\x12\x13\x0A\x0FINSTREAM_SELECT\x10\x04B\xCC\x01\x0A\x1Bcom.google.ads.admanager.v1B\x18SkippableAdTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateMessages.php new file mode 100644 index 000000000000..0d1a5ec93972 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xA5\x07\x0A,google/ads/admanager/v1/slate_messages.proto\x12\x17google.ads.admanager.v1\x1A9google/ads/admanager/v1/video_transcode_status_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF2\x03\x0A\x05Slate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12N\x0A\x06status\x18\x03 \x01(\x0E24.google.ads.admanager.v1.SlateStatusEnum.SlateStatusB\x03\xE0A\x03H\x01\x88\x01\x01\x12j\x0A\x10transcode_status\x18\x04 \x01(\x0E2F.google.ads.admanager.v1.VideoTranscodeStatusEnum.VideoTranscodeStatusB\x03\xE0A\x03H\x02\x88\x01\x01\x12\"\x0A\x10video_source_url\x18\x05 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:Z\xEAAW\x0A\x1Eadmanager.googleapis.com/Slate\x12&networks/{network_code}/slates/{slate}*\x06slates2\x05slateB\x0F\x0A\x0D_display_nameB\x09\x0A\x07_statusB\x13\x0A\x11_transcode_statusB\x13\x0A\x11_video_source_urlB\xC6\x01\x0A\x1Bcom.google.ads.admanager.v1B\x12SlateMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateService.php new file mode 100644 index 000000000000..dc753ca57b73 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SlateService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xE9\x1A\x0A+google/ads/admanager/v1/slate_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"G\x0A\x0FGetSlateRequest\x124\x0A\x04name\x18\x01 \x01(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Slate\"\xBD\x01\x0A\x11ListSlatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"q\x0A\x12ListSlatesResponse\x12.\x0A\x06slates\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Slate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x82\x01\x0A\x12CreateSlateRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x122\x0A\x05slate\x18\x02 \x01(\x0B2\x1E.google.ads.admanager.v1.SlateB\x03\xE0A\x02\"\x98\x01\x0A\x18BatchCreateSlatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x08requests\x18\x02 \x03(\x0B2+.google.ads.admanager.v1.CreateSlateRequestB\x03\xE0A\x02\"K\x0A\x19BatchCreateSlatesResponse\x12.\x0A\x06slates\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Slate\"~\x0A\x12UpdateSlateRequest\x122\x0A\x05slate\x18\x01 \x01(\x0B2\x1E.google.ads.admanager.v1.SlateB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x98\x01\x0A\x18BatchUpdateSlatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12B\x0A\x08requests\x18\x02 \x03(\x0B2+.google.ads.admanager.v1.UpdateSlateRequestB\x03\xE0A\x02\"K\x0A\x19BatchUpdateSlatesResponse\x12.\x0A\x06slates\x18\x01 \x03(\x0B2\x1E.google.ads.admanager.v1.Slate\"\x8C\x01\x0A\x19BatchArchiveSlatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Slate\"\x1C\x0A\x1ABatchArchiveSlatesResponse\"\x8E\x01\x0A\x1BBatchUnarchiveSlatesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x125\x0A\x05names\x18\x02 \x03(\x09B&\xE0A\x02\xFAA \x0A\x1Eadmanager.googleapis.com/Slate\"\x1E\x0A\x1CBatchUnarchiveSlatesResponse2\x8C\x0C\x0A\x0CSlateService\x12\x83\x01\x0A\x08GetSlate\x12(.google.ads.admanager.v1.GetSlateRequest\x1A\x1E.google.ads.admanager.v1.Slate\"-\xDAA\x04name\x82\xD3\xE4\x93\x02 \x12\x1E/v1/{name=networks/*/slates/*}\x12\x96\x01\x0A\x0AListSlates\x12*.google.ads.admanager.v1.ListSlatesRequest\x1A+.google.ads.admanager.v1.ListSlatesResponse\"/\xDAA\x06parent\x82\xD3\xE4\x93\x02 \x12\x1E/v1/{parent=networks/*}/slates\x12\x98\x01\x0A\x0BCreateSlate\x12+.google.ads.admanager.v1.CreateSlateRequest\x1A\x1E.google.ads.admanager.v1.Slate\"<\xDAA\x0Cparent,slate\x82\xD3\xE4\x93\x02'\"\x1E/v1/{parent=networks/*}/slates:\x05slate\x12\xC3\x01\x0A\x11BatchCreateSlates\x121.google.ads.admanager.v1.BatchCreateSlatesRequest\x1A2.google.ads.admanager.v1.BatchCreateSlatesResponse\"G\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/slates:batchCreate:\x01*\x12\xA3\x01\x0A\x0BUpdateSlate\x12+.google.ads.admanager.v1.UpdateSlateRequest\x1A\x1E.google.ads.admanager.v1.Slate\"G\xDAA\x11slate,update_mask\x82\xD3\xE4\x93\x02-2\$/v1/{slate.name=networks/*/slates/*}:\x05slate\x12\xC3\x01\x0A\x11BatchUpdateSlates\x121.google.ads.admanager.v1.BatchUpdateSlatesRequest\x1A2.google.ads.admanager.v1.BatchUpdateSlatesResponse\"G\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02/\"*/v1/{parent=networks/*}/slates:batchUpdate:\x01*\x12\xC4\x01\x0A\x12BatchArchiveSlates\x122.google.ads.admanager.v1.BatchArchiveSlatesRequest\x1A3.google.ads.admanager.v1.BatchArchiveSlatesResponse\"E\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/slates:batchArchive:\x01*\x12\xCC\x01\x0A\x14BatchUnarchiveSlates\x124.google.ads.admanager.v1.BatchUnarchiveSlatesRequest\x1A5.google.ads.admanager.v1.BatchUnarchiveSlatesResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/slates:batchUnarchive:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11SlateServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SuggestedAdUnitMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SuggestedAdUnitMessages.php new file mode 100644 index 000000000000..0892b9985af6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/SuggestedAdUnitMessages.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xCB\x08\x0A8google/ads/admanager/v1/suggested_ad_unit_messages.proto\x12\x17google.ads.admanager.v1\x1A.google/ads/admanager/v1/ad_unit_messages.proto\x1A2google/ads/admanager/v1/target_platform_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xFA\x04\x0A\x0FSuggestedAdUnit\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12&\x0A\x14weekly_request_count\x18\x02 \x01(\x03B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x1A\x0A\x0Dnew_code_path\x18\x03 \x03(\x09B\x03\xE0A\x03\x12F\x0A\x12existing_code_path\x18\x04 \x03(\x0B2%.google.ads.admanager.v1.AdUnitParentB\x03\xE0A\x03\x12W\x0A\x0Dtarget_window\x18\x05 \x01(\x0E26.google.ads.admanager.v1.TargetWindowEnum.TargetWindowB\x03\xE0A\x03H\x01\x88\x01\x01\x12]\x0A\x0Ftarget_platform\x18\x06 \x01(\x0E2:.google.ads.admanager.v1.TargetPlatformEnum.TargetPlatformB\x03\xE0A\x03H\x02\x88\x01\x01\x12?\x0A\x0Dad_unit_sizes\x18\x07 \x03(\x0B2#.google.ads.admanager.v1.AdUnitSizeB\x03\xE0A\x03:\x8F\x01\xEAA\x8B\x01\x0A(admanager.googleapis.com/SuggestedAdUnit\x12internalAddGeneratedFile( + "\x0A\xD9\x0E\x0A7google/ads/admanager/v1/suggested_ad_unit_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"[\x0A\x19GetSuggestedAdUnitRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/SuggestedAdUnit\"\xC7\x01\x0A\x1BListSuggestedAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x91\x01\x0A\x1CListSuggestedAdUnitsResponse\x12D\x0A\x12suggested_ad_units\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.SuggestedAdUnit\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\xA0\x01\x0A#BatchApproveSuggestedAdUnitsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12?\x0A\x05names\x18\x02 \x03(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/SuggestedAdUnit\"f\x0A\$BatchApproveSuggestedAdUnitsResponse\x12>\x0A\x10created_ad_units\x18\x01 \x03(\x09B\$\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnit2\xF1\x05\x0A\x16SuggestedAdUnitService\x12\xAB\x01\x0A\x12GetSuggestedAdUnit\x122.google.ads.admanager.v1.GetSuggestedAdUnitRequest\x1A(.google.ads.admanager.v1.SuggestedAdUnit\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/suggestedAdUnits/*}\x12\xBE\x01\x0A\x14ListSuggestedAdUnits\x124.google.ads.admanager.v1.ListSuggestedAdUnitsRequest\x1A5.google.ads.admanager.v1.ListSuggestedAdUnitsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/suggestedAdUnits\x12\xEB\x01\x0A\x1CBatchApproveSuggestedAdUnits\x12<.google.ads.admanager.v1.BatchApproveSuggestedAdUnitsRequest\x1A=.google.ads.admanager.v1.BatchApproveSuggestedAdUnitsResponse\"N\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/suggestedAdUnit:batchApprove:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BSuggestedAdUnitServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetPlatformEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetPlatformEnum.php new file mode 100644 index 000000000000..62ae1d17c62e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetPlatformEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x8A\x03\x0A2google/ads/admanager/v1/target_platform_enum.proto\x12\x17google.ads.admanager.v1\"e\x0A\x12TargetPlatformEnum\"O\x0A\x0ETargetPlatform\x12\x1F\x0A\x1BTARGET_PLATFORM_UNSPECIFIED\x10\x00\x12\x07\x0A\x03ANY\x10\x01\x12\x0A\x0A\x06MOBILE\x10\x02\x12\x07\x0A\x03WEB\x10\x03B\xCB\x01\x0A\x1Bcom.google.ads.admanager.v1B\x17TargetPlatformEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetedVideoBumperTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetedVideoBumperTypeEnum.php new file mode 100644 index 000000000000..80b00b7bb978 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetedVideoBumperTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB4\x03\x0A=google/ads/admanager/v1/targeted_video_bumper_type_enum.proto\x12\x17google.ads.admanager.v1\"{\x0A\x1BTargetedVideoBumperTypeEnum\"\\\x0A\x17TargetedVideoBumperType\x12*\x0A&TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05AFTER\x10\x01\x12\x0A\x0A\x06BEFORE\x10\x02B\xD4\x01\x0A\x1Bcom.google.ads.admanager.v1B TargetedVideoBumperTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Targeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Targeting.php new file mode 100644 index 000000000000..b12430d42daf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/Targeting.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xC1<\x0A'google/ads/admanager/v1/targeting.proto\x12\x17google.ads.admanager.v1\x1A=google/ads/admanager/v1/targeted_video_bumper_type_enum.proto\x1A1google/ads/admanager/v1/video_position_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\x94\x07\x0A\x09Targeting\x12A\x0A\x0Dgeo_targeting\x18\x02 \x01(\x0B2%.google.ads.admanager.v1.GeoTargetingB\x03\xE0A\x01\x12O\x0A\x14technology_targeting\x18\x03 \x01(\x0B2,.google.ads.admanager.v1.TechnologyTargetingB\x03\xE0A\x01\x12M\x0A\x13inventory_targeting\x18\x05 \x01(\x0B2+.google.ads.admanager.v1.InventoryTargetingB\x03\xE0A\x01\x12Z\x0A\x1Arequest_platform_targeting\x18\x06 \x01(\x0B21.google.ads.admanager.v1.RequestPlatformTargetingB\x03\xE0A\x01\x12G\x0A\x10custom_targeting\x18\x07 \x01(\x0B2(.google.ads.admanager.v1.CustomTargetingB\x03\xE0A\x01\x12P\x0A\x15user_domain_targeting\x18\x0A \x01(\x0B2,.google.ads.admanager.v1.UserDomainTargetingB\x03\xE0A\x01\x12V\x0A\x18video_position_targeting\x18\x0C \x01(\x0B2/.google.ads.admanager.v1.VideoPositionTargetingB\x03\xE0A\x01\x12R\x0A\x16data_segment_targeting\x18\x0D \x01(\x0B2-.google.ads.admanager.v1.DataSegmentTargetingB\x03\xE0A\x01\x12V\x0A\x18request_format_targeting\x18\x0E \x01(\x0B2/.google.ads.admanager.v1.RequestFormatTargetingB\x03\xE0A\x01\x12I\x0A\x11content_targeting\x18\x0F \x01(\x0B2).google.ads.admanager.v1.ContentTargetingB\x03\xE0A\x01\x12^\x0A\x1Cmobile_application_targeting\x18\x12 \x01(\x0B23.google.ads.admanager.v1.MobileApplicationTargetingB\x03\xE0A\x01\"\x94\x01\x0A\x0CGeoTargeting\x12A\x0A\x0Dtargeted_geos\x18\x03 \x03(\x09B*\xE0A\x01\xFAA\$\x0A\"admanager.googleapis.com/GeoTarget\x12A\x0A\x0Dexcluded_geos\x18\x04 \x03(\x09B*\xE0A\x01\xFAA\$\x0A\"admanager.googleapis.com/GeoTarget\"\xD9\x05\x0A\x13TechnologyTargeting\x12M\x0A\x13bandwidth_targeting\x18\x03 \x01(\x0B2+.google.ads.admanager.v1.BandwidthTargetingB\x03\xE0A\x01\x12I\x0A\x11browser_targeting\x18\x04 \x01(\x0B2).google.ads.admanager.v1.BrowserTargetingB\x03\xE0A\x01\x12Z\x0A\x1Abrowser_language_targeting\x18\x05 \x01(\x0B21.google.ads.admanager.v1.BrowserLanguageTargetingB\x03\xE0A\x01\x12\\\x0A\x1Bdevice_capability_targeting\x18\x06 \x01(\x0B22.google.ads.admanager.v1.DeviceCapabilityTargetingB\x03\xE0A\x01\x12X\x0A\x19device_category_targeting\x18\x01 \x01(\x0B20.google.ads.admanager.v1.DeviceCategoryTargetingB\x03\xE0A\x01\x12`\x0A\x1Ddevice_manufacturer_targeting\x18\x07 \x01(\x0B24.google.ads.admanager.v1.DeviceManufacturerTargetingB\x03\xE0A\x01\x12V\x0A\x18mobile_carrier_targeting\x18\x08 \x01(\x0B2/.google.ads.admanager.v1.MobileCarrierTargetingB\x03\xE0A\x01\x12Z\x0A\x1Aoperating_system_targeting\x18\x02 \x01(\x0B21.google.ads.admanager.v1.OperatingSystemTargetingB\x03\xE0A\x01\"\xBC\x01\x0A\x12BandwidthTargeting\x12R\x0A\x19targeted_bandwidth_groups\x18\x03 \x03(\x09B/\xE0A\x01\xFAA)\x0A'admanager.googleapis.com/BandwidthGroup\x12R\x0A\x19excluded_bandwidth_groups\x18\x04 \x03(\x09B/\xE0A\x01\xFAA)\x0A'admanager.googleapis.com/BandwidthGroup\"\x9C\x01\x0A\x10BrowserTargeting\x12C\x0A\x11targeted_browsers\x18\x03 \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Browser\x12C\x0A\x11excluded_browsers\x18\x04 \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Browser\"\xC6\x01\x0A\x18BrowserLanguageTargeting\x12T\x0A\x1Atargeted_browser_languages\x18\x03 \x03(\x09B0\xE0A\x01\xFAA*\x0A(admanager.googleapis.com/BrowserLanguage\x12T\x0A\x1Aexcluded_browser_languages\x18\x04 \x03(\x09B0\xE0A\x01\xFAA*\x0A(admanager.googleapis.com/BrowserLanguage\"\xB5\x01\x0A\x17DeviceCategoryTargeting\x12L\x0A\x13targeted_categories\x18\x03 \x03(\x09B/\xE0A\x01\xFAA)\x0A'admanager.googleapis.com/DeviceCategory\x12L\x0A\x13excluded_categories\x18\x04 \x03(\x09B/\xE0A\x01\xFAA)\x0A'admanager.googleapis.com/DeviceCategory\"\xBF\x01\x0A\x19DeviceCapabilityTargeting\x12P\x0A\x15targeted_capabilities\x18\x03 \x03(\x09B1\xE0A\x01\xFAA+\x0A)admanager.googleapis.com/DeviceCapability\x12P\x0A\x15excluded_capabilities\x18\x04 \x03(\x09B1\xE0A\x01\xFAA+\x0A)admanager.googleapis.com/DeviceCapability\"\xB7\x04\x0A\x1BDeviceManufacturerTargeting\x12Z\x0A\x1Dtargeted_device_manufacturers\x18\x07 \x03(\x09B3\xE0A\x01\xFAA-\x0A+admanager.googleapis.com/DeviceManufacturer\x12Z\x0A\x1Dexcluded_device_manufacturers\x18\x08 \x03(\x09B3\xE0A\x01\xFAA-\x0A+admanager.googleapis.com/DeviceManufacturer\x12N\x0A\x17targeted_mobile_devices\x18\x09 \x03(\x09B-\xE0A\x01\xFAA'\x0A%admanager.googleapis.com/MobileDevice\x12N\x0A\x17excluded_mobile_devices\x18\x0A \x03(\x09B-\xE0A\x01\xFAA'\x0A%admanager.googleapis.com/MobileDevice\x12_\x0A targeted_mobile_device_submodels\x18\x0B \x03(\x09B5\xE0A\x01\xFAA/\x0A-admanager.googleapis.com/MobileDeviceSubmodel\x12_\x0A excluded_mobile_device_submodels\x18\x0C \x03(\x09B5\xE0A\x01\xFAA/\x0A-admanager.googleapis.com/MobileDeviceSubmodel\"\xBC\x01\x0A\x16MobileCarrierTargeting\x12P\x0A\x18targeted_mobile_carriers\x18\x03 \x03(\x09B.\xE0A\x01\xFAA(\x0A&admanager.googleapis.com/MobileCarrier\x12P\x0A\x18excluded_mobile_carriers\x18\x04 \x03(\x09B.\xE0A\x01\xFAA(\x0A&admanager.googleapis.com/MobileCarrier\"\x90\x03\x0A\x18OperatingSystemTargeting\x12T\x0A\x1Atargeted_operating_systems\x18\x05 \x03(\x09B0\xE0A\x01\xFAA*\x0A(admanager.googleapis.com/OperatingSystem\x12T\x0A\x1Aexcluded_operating_systems\x18\x06 \x03(\x09B0\xE0A\x01\xFAA*\x0A(admanager.googleapis.com/OperatingSystem\x12c\x0A\"targeted_operating_system_versions\x18\x07 \x03(\x09B7\xE0A\x01\xFAA1\x0A/admanager.googleapis.com/OperatingSystemVersion\x12c\x0A\"excluded_operating_system_versions\x18\x08 \x03(\x09B7\xE0A\x01\xFAA1\x0A/admanager.googleapis.com/OperatingSystemVersion\"\xF1\x01\x0A\x12InventoryTargeting\x12H\x0A\x11targeted_ad_units\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.AdUnitTargetingB\x03\xE0A\x01\x12H\x0A\x11excluded_ad_units\x18\x02 \x03(\x0B2(.google.ads.admanager.v1.AdUnitTargetingB\x03\xE0A\x01\x12G\x0A\x13targeted_placements\x18\x05 \x03(\x09B*\xE0A\x01\xFAA\$\x0A\"admanager.googleapis.com/Placement\"\x96\x01\x0A\x0FAdUnitTargeting\x12 \x0A\x13include_descendants\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12=\x0A\x07ad_unit\x18\x03 \x01(\x09B'\xE0A\x01\xFAA!\x0A\x1Fadmanager.googleapis.com/AdUnitH\x01\x88\x01\x01B\x16\x0A\x14_include_descendantsB\x0A\x0A\x08_ad_unit\"x\x0A\x18RequestPlatformTargeting\x12\\\x0A\x11request_platforms\x18\x01 \x03(\x0E2<.google.ads.admanager.v1.RequestPlatformEnum.RequestPlatformB\x03\xE0A\x01\"h\x0A\x0FCustomTargeting\x12U\x0A\x18custom_targeting_clauses\x18\x01 \x03(\x0B2..google.ads.admanager.v1.CustomTargetingClauseB\x03\xE0A\x01\"\xA2\x02\x0A\x15CustomTargetingClause\x12W\x0A\x19custom_targeting_literals\x18\x01 \x03(\x0B2/.google.ads.admanager.v1.CustomTargetingLiteralB\x03\xE0A\x01\x12[\x0A\x1Baudience_segment_targetings\x18\x02 \x03(\x0B21.google.ads.admanager.v1.AudienceSegmentTargetingB\x03\xE0A\x01\x12S\x0A\x17cms_metadata_targetings\x18\x03 \x03(\x0B2-.google.ads.admanager.v1.CmsMetadataTargetingB\x03\xE0A\x01\"\x85\x02\x0A\x16CustomTargetingLiteral\x12\x15\x0A\x08negative\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12V\x0A\x14custom_targeting_key\x18\x04 \x01(\x09B3\xE0A\x01\xFAA-\x0A+admanager.googleapis.com/CustomTargetingKeyH\x01\x88\x01\x01\x12V\x0A\x17custom_targeting_values\x18\x05 \x03(\x09B5\xE0A\x01\xFAA/\x0A-admanager.googleapis.com/CustomTargetingValueB\x0B\x0A\x09_negativeB\x17\x0A\x15_custom_targeting_key\"\x8B\x01\x0A\x18AudienceSegmentTargeting\x12\x15\x0A\x08negative\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12K\x0A\x11audience_segments\x18\x03 \x03(\x09B0\xE0A\x01\xFAA*\x0A(admanager.googleapis.com/AudienceSegmentB\x0B\x0A\x09_negative\"\x8A\x01\x0A\x14CmsMetadataTargeting\x12\x15\x0A\x08negative\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12N\x0A\x13cms_metadata_values\x18\x03 \x03(\x09B1\xE0A\x01\xFAA+\x0A)admanager.googleapis.com/CmsMetadataValueB\x0B\x0A\x09_negative\"]\x0A\x13UserDomainTargeting\x12\"\x0A\x15targeted_user_domains\x18\x01 \x03(\x09B\x03\xE0A\x01\x12\"\x0A\x15excluded_user_domains\x18\x02 \x03(\x09B\x03\xE0A\x01\"^\x0A\x16VideoPositionTargeting\x12D\x0A\x0Fvideo_positions\x18\x01 \x03(\x0B2&.google.ads.admanager.v1.VideoPositionB\x03\xE0A\x01\"\xA0\x03\x0A\x0DVideoPosition\x12\x1F\x0A\x0Dmidroll_index\x18\x01 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x12'\x0A\x15reverse_midroll_index\x18\x02 \x01(\x03B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x1E\x0A\x0Cpod_position\x18\x03 \x01(\x03B\x03\xE0A\x01H\x02\x88\x01\x01\x12Y\x0A\x0Dposition_type\x18\x05 \x01(\x0E28.google.ads.admanager.v1.VideoPositionEnum.VideoPositionB\x03\xE0A\x01H\x03\x88\x01\x01\x12k\x0A\x0Bbumper_type\x18\x06 \x01(\x0E2L.google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperTypeB\x03\xE0A\x01H\x04\x88\x01\x01B\x10\x0A\x0E_midroll_indexB\x18\x0A\x16_reverse_midroll_indexB\x0F\x0A\x0D_pod_positionB\x10\x0A\x0E_position_typeB\x0E\x0A\x0C_bumper_type\"?\x0A\x14DataSegmentTargeting\x12'\x0A\x1Ahas_data_segment_targeting\x18\x02 \x01(\x08B\x03\xE0A\x03\"\xD9\x04\x0A\x16RequestFormatTargeting\x12\"\x0A\x10app_open_enabled\x18\x01 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01\x12\"\x0A\x10rewarded_enabled\x18\x02 \x01(\x08B\x03\xE0A\x01H\x01\x88\x01\x01\x12/\x0A\x1Drewarded_interstitial_enabled\x18\x03 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12&\x0A\x14interstitial_enabled\x18\x04 \x01(\x08B\x03\xE0A\x01H\x03\x88\x01\x01\x12 \x0A\x0Eanchor_enabled\x18\x05 \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x12 \x0A\x0Ebanner_enabled\x18\x06 \x01(\x08B\x03\xE0A\x01H\x05\x88\x01\x01\x12(\x0A\x16instream_video_enabled\x18\x07 \x01(\x08B\x03\xE0A\x01H\x06\x88\x01\x01\x12(\x0A\x16instream_audio_enabled\x18\x08 \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01\x12)\x0A\x17native_advanced_enabled\x18\x09 \x01(\x08B\x03\xE0A\x01H\x08\x88\x01\x01B\x13\x0A\x11_app_open_enabledB\x13\x0A\x11_rewarded_enabledB \x0A\x1E_rewarded_interstitial_enabledB\x17\x0A\x15_interstitial_enabledB\x11\x0A\x0F_anchor_enabledB\x11\x0A\x0F_banner_enabledB\x19\x0A\x17_instream_video_enabledB\x19\x0A\x17_instream_audio_enabledB\x1A\x0A\x18_native_advanced_enabled\"\xBE\x02\x0A\x10ContentTargeting\x12B\x0A\x10targeted_content\x18\x05 \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Content\x12B\x0A\x10excluded_content\x18\x06 \x03(\x09B(\xE0A\x01\xFAA\"\x0A admanager.googleapis.com/Content\x12P\x0A\x18targeted_content_bundles\x18\x07 \x03(\x09B.\xE0A\x01\xFAA(\x0A&admanager.googleapis.com/ContentBundle\x12P\x0A\x18excluded_content_bundles\x18\x08 \x03(\x09B.\xE0A\x01\xFAA(\x0A&admanager.googleapis.com/ContentBundle\"\x8E\x01\x0A\x1AMobileApplicationTargeting\x12c\x0A\x15first_party_targeting\x18\x01 \x01(\x0B2=.google.ads.admanager.v1.FirstPartyMobileApplicationTargetingB\x03\xE0A\x01H\x00B\x0B\x0A\x09targeting\"\xC0\x01\x0A\$FirstPartyMobileApplicationTargeting\x12K\x0A\x15targeted_applications\x18\x03 \x03(\x09B,\xE0A\x01\xFAA&\x0A\$admanager.googleapis.com/Application\x12K\x0A\x15excluded_applications\x18\x04 \x03(\x09B,\xE0A\x01\xFAA&\x0A\$admanager.googleapis.com/ApplicationB\xC2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0ETargetingProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetEnums.php new file mode 100644 index 000000000000..f280ebda2cee --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA0\x03\x0A4google/ads/admanager/v1/targeting_preset_enums.proto\x12\x17google.ads.admanager.v1\"w\x0A\x19TargetingPresetStatusEnum\"Z\x0A\x15TargetingPresetStatus\x12'\x0A#TARGETING_PRESET_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02B\xCD\x01\x0A\x1Bcom.google.ads.admanager.v1B\x19TargetingPresetEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetMessages.php new file mode 100644 index 000000000000..976878353bc6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetMessages.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xC6\x06\x0A7google/ads/admanager/v1/targeting_preset_messages.proto\x12\x17google.ads.admanager.v1\x1A4google/ads/admanager/v1/targeting_preset_enums.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xA4\x03\x0A\x0FTargetingPreset\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12?\x0A\x09targeting\x18\x04 \x01(\x0B2\".google.ads.admanager.v1.TargetingB\x03\xE0A\x02H\x01\x88\x01\x01\x12b\x0A\x06status\x18\x05 \x01(\x0E2H.google.ads.admanager.v1.TargetingPresetStatusEnum.TargetingPresetStatusB\x03\xE0A\x03H\x02\x88\x01\x01:\x8E\x01\xEAA\x8A\x01\x0A(admanager.googleapis.com/TargetingPreset\x12;networks/{network_code}/targetingPresets/{targeting_preset}*\x10targetingPresets2\x0FtargetingPresetB\x0F\x0A\x0D_display_nameB\x0C\x0A\x0A_targetingB\x09\x0A\x07_statusB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CTargetingPresetMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetService.php new file mode 100644 index 000000000000..cfd5e8ca0944 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TargetingPresetService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9A\x1E\x0A6google/ads/admanager/v1/targeting_preset_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"[\x0A\x19GetTargetingPresetRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/TargetingPreset\"\xC7\x01\x0A\x1BListTargetingPresetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x90\x01\x0A\x1CListTargetingPresetsResponse\x12C\x0A\x11targeting_presets\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.TargetingPreset\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\xA1\x01\x0A\x1CCreateTargetingPresetRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12G\x0A\x10targeting_preset\x18\x02 \x01(\x0B2(.google.ads.admanager.v1.TargetingPresetB\x03\xE0A\x02\"\xAC\x01\x0A\"BatchCreateTargetingPresetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12L\x0A\x08requests\x18\x02 \x03(\x0B25.google.ads.admanager.v1.CreateTargetingPresetRequestB\x03\xE0A\x02\"j\x0A#BatchCreateTargetingPresetsResponse\x12C\x0A\x11targeting_presets\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.TargetingPreset\"\x9D\x01\x0A\x1CUpdateTargetingPresetRequest\x12G\x0A\x10targeting_preset\x18\x01 \x01(\x0B2(.google.ads.admanager.v1.TargetingPresetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xAC\x01\x0A\"BatchUpdateTargetingPresetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12L\x0A\x08requests\x18\x02 \x03(\x0B25.google.ads.admanager.v1.UpdateTargetingPresetRequestB\x03\xE0A\x02\"j\x0A#BatchUpdateTargetingPresetsResponse\x12C\x0A\x11targeting_presets\x18\x01 \x03(\x0B2(.google.ads.admanager.v1.TargetingPreset\"\x84\x01\x0A DeactivateTargetingPresetRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(admanager.googleapis.com/TargetingPreset\x12 \x0A\x13targeting_preset_id\x18\x02 \x01(\x03B\x03\xE0A\x02\"\xB4\x01\x0A&BatchDeactivateTargetingPresetsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12P\x0A\x08requests\x18\x02 \x03(\x0B29.google.ads.admanager.v1.DeactivateTargetingPresetRequestB\x03\xE0A\x02\"?\x0A'BatchDeactivateTargetingPresetsResponse\x12\x14\x0A\x0Cchange_count\x18\x01 \x01(\x032\xA4\x0D\x0A\x16TargetingPresetService\x12\xAB\x01\x0A\x12GetTargetingPreset\x122.google.ads.admanager.v1.GetTargetingPresetRequest\x1A(.google.ads.admanager.v1.TargetingPreset\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1/{name=networks/*/targetingPresets/*}\x12\xBE\x01\x0A\x14ListTargetingPresets\x124.google.ads.admanager.v1.ListTargetingPresetsRequest\x1A5.google.ads.admanager.v1.ListTargetingPresetsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1/{parent=networks/*}/targetingPresets\x12\xD6\x01\x0A\x15CreateTargetingPreset\x125.google.ads.admanager.v1.CreateTargetingPresetRequest\x1A(.google.ads.admanager.v1.TargetingPreset\"\\\xDAA\x17parent,targeting_preset\x82\xD3\xE4\x93\x02<\"(/v1/{parent=networks/*}/targetingPresets:\x10targeting_preset\x12\xEB\x01\x0A\x1BBatchCreateTargetingPresets\x12;.google.ads.admanager.v1.BatchCreateTargetingPresetsRequest\x1A<.google.ads.admanager.v1.BatchCreateTargetingPresetsResponse\"Q\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/targetingPresets:batchCreate:\x01*\x12\xEC\x01\x0A\x15UpdateTargetingPreset\x125.google.ads.admanager.v1.UpdateTargetingPresetRequest\x1A(.google.ads.admanager.v1.TargetingPreset\"r\xDAA\x1Ctargeting_preset,update_mask\x82\xD3\xE4\x93\x02M29/v1/{targeting_preset.name=networks/*/targetingPresets/*}:\x10targeting_preset\x12\xEB\x01\x0A\x1BBatchUpdateTargetingPresets\x12;.google.ads.admanager.v1.BatchUpdateTargetingPresetsRequest\x1A<.google.ads.admanager.v1.BatchUpdateTargetingPresetsResponse\"Q\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x029\"4/v1/{parent=networks/*}/targetingPresets:batchUpdate:\x01*\x12\xFA\x01\x0A\x1FBatchDeactivateTargetingPresets\x12?.google.ads.admanager.v1.BatchDeactivateTargetingPresetsRequest\x1A@.google.ads.admanager.v1.BatchDeactivateTargetingPresetsResponse\"T\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02<\"7/v1/{parent=networks/*}/targetingPreset:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BTargetingPresetServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryMessages.php new file mode 100644 index 000000000000..80660a925fb0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xD6\x07\x0A8google/ads/admanager/v1/taxonomy_category_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xE8\x04\x0A\x10TaxonomyCategory\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12(\x0A\x14taxonomy_category_id\x18\x02 \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x03H\x01\x88\x01\x01\x12\x1F\x0A\x0Dgrouping_only\x18\x05 \x01(\x08B\x03\xE0A\x03H\x02\x88\x01\x01\x12-\x0A\x1Bparent_taxonomy_category_id\x18\x06 \x01(\x03B\x03\xE0A\x03H\x03\x88\x01\x01\x12W\x0A\x0Dtaxonomy_type\x18\x09 \x01(\x0E26.google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyTypeB\x03\xE0A\x03H\x04\x88\x01\x01\x12\x1B\x0A\x0Eancestor_names\x18\x07 \x03(\x09B\x03\xE0A\x03\x12+\x0A\x1Eancestor_taxonomy_category_ids\x18\x08 \x03(\x03B\x03\xE0A\x03:\x95\x01\xEAA\x91\x01\x0A)admanager.googleapis.com/TaxonomyCategory\x12>networks/{network_code}/taxonomyCategories/{taxonomy_category}*\x12taxonomyCategories2\x10taxonomyCategoryB\x17\x0A\x15_taxonomy_category_idB\x0F\x0A\x0D_display_nameB\x10\x0A\x0E_grouping_onlyB\x1E\x0A\x1C_parent_taxonomy_category_idB\x10\x0A\x0E_taxonomy_typeB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DTaxonomyCategoryMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryService.php new file mode 100644 index 000000000000..49531a9fdc66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyCategoryService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xF7\x0A\x0A7google/ads/admanager/v1/taxonomy_category_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"]\x0A\x1AGetTaxonomyCategoryRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)admanager.googleapis.com/TaxonomyCategory\"\xC9\x01\x0A\x1DListTaxonomyCategoriesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x95\x01\x0A\x1EListTaxonomyCategoriesResponse\x12F\x0A\x13taxonomy_categories\x18\x01 \x03(\x0B2).google.ads.admanager.v1.TaxonomyCategory\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x91\x04\x0A\x17TaxonomyCategoryService\x12\xB0\x01\x0A\x13GetTaxonomyCategory\x123.google.ads.admanager.v1.GetTaxonomyCategoryRequest\x1A).google.ads.admanager.v1.TaxonomyCategory\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1/{name=networks/*/taxonomyCategories/*}\x12\xC6\x01\x0A\x16ListTaxonomyCategories\x126.google.ads.admanager.v1.ListTaxonomyCategoriesRequest\x1A7.google.ads.admanager.v1.ListTaxonomyCategoriesResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1/{parent=networks/*}/taxonomyCategories\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD0\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1CTaxonomyCategoryServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyTypeEnum.php new file mode 100644 index 000000000000..0dab09ae0c0b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TaxonomyTypeEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA5\x04\x0A0google/ads/admanager/v1/taxonomy_type_enum.proto\x12\x17google.ads.admanager.v1\"\x83\x02\x0A\x10TaxonomyTypeEnum\"\xEE\x01\x0A\x0CTaxonomyType\x12\x1D\x0A\x19TAXONOMY_TYPE_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19TAXONOMY_IAB_AUDIENCE_1_1\x10\x03\x12\x1C\x0A\x18TAXONOMY_IAB_CONTENT_1_0\x10\x08\x12\x1C\x0A\x18TAXONOMY_IAB_CONTENT_2_1\x10\x04\x12\x1C\x0A\x18TAXONOMY_IAB_CONTENT_2_2\x10\x06\x12\x1C\x0A\x18TAXONOMY_IAB_CONTENT_3_0\x10\x05\x12(\x0A\$TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0\x10\x07B\xC9\x01\x0A\x1Bcom.google.ads.admanager.v1B\x15TaxonomyTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamEnums.php new file mode 100644 index 000000000000..37348f4f48e0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDA\x03\x0A(google/ads/admanager/v1/team_enums.proto\x12\x17google.ads.admanager.v1\"U\x0A\x0ETeamStatusEnum\"C\x0A\x0ATeamStatus\x12\x1B\x0A\x17TEAM_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\"q\x0A\x12TeamAccessTypeEnum\"[\x0A\x0ETeamAccessType\x12 \x0A\x1CTEAM_ACCESS_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x0D\x0A\x09READ_ONLY\x10\x02\x12\x0E\x0A\x0AREAD_WRITE\x10\x03B\xC2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x0ETeamEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamMessages.php new file mode 100644 index 000000000000..99bc5399346c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xEB\x06\x0A+google/ads/admanager/v1/team_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\x96\x04\x0A\x04Team\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12L\x0A\x06status\x18\x05 \x01(\x0E22.google.ads.admanager.v1.TeamStatusEnum.TeamStatusB\x03\xE0A\x03H\x02\x88\x01\x01\x12&\x0A\x14all_companies_access\x18\x06 \x01(\x08B\x03\xE0A\x01H\x03\x88\x01\x01\x12&\x0A\x14all_inventory_access\x18\x07 \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x12Y\x0A\x0Baccess_type\x18\x08 \x01(\x0E2:.google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessTypeB\x03\xE0A\x01H\x05\x88\x01\x01:U\xEAAR\x0A\x1Dadmanager.googleapis.com/Team\x12\$networks/{network_code}/teams/{team}*\x05teams2\x04teamB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x09\x0A\x07_statusB\x17\x0A\x15_all_companies_accessB\x17\x0A\x15_all_inventory_accessB\x0E\x0A\x0C_access_typeB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11TeamMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamService.php new file mode 100644 index 000000000000..791a7e89b8f7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TeamService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xAF\x1A\x0A*google/ads/admanager/v1/team_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A google/protobuf/field_mask.proto\"E\x0A\x0EGetTeamRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\"\xBC\x01\x0A\x10ListTeamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"n\x0A\x11ListTeamsResponse\x12,\x0A\x05teams\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Team\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x05\"\x7F\x0A\x11CreateTeamRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x120\x0A\x04team\x18\x02 \x01(\x0B2\x1D.google.ads.admanager.v1.TeamB\x03\xE0A\x02\"\x96\x01\x0A\x17BatchCreateTeamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12A\x0A\x08requests\x18\x02 \x03(\x0B2*.google.ads.admanager.v1.CreateTeamRequestB\x03\xE0A\x02\"H\x0A\x18BatchCreateTeamsResponse\x12,\x0A\x05teams\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Team\"{\x0A\x11UpdateTeamRequest\x120\x0A\x04team\x18\x01 \x01(\x0B2\x1D.google.ads.admanager.v1.TeamB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x96\x01\x0A\x17BatchUpdateTeamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12A\x0A\x08requests\x18\x02 \x03(\x0B2*.google.ads.admanager.v1.UpdateTeamRequestB\x03\xE0A\x02\"H\x0A\x18BatchUpdateTeamsResponse\x12,\x0A\x05teams\x18\x01 \x03(\x0B2\x1D.google.ads.admanager.v1.Team\"\x8B\x01\x0A\x19BatchActivateTeamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x124\x0A\x05names\x18\x02 \x03(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\"\x1C\x0A\x1ABatchActivateTeamsResponse\"\x8D\x01\x0A\x1BBatchDeactivateTeamsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x124\x0A\x05names\x18\x02 \x03(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/Team\"\x1E\x0A\x1CBatchDeactivateTeamsResponse2\xED\x0B\x0A\x0BTeamService\x12\x7F\x0A\x07GetTeam\x12'.google.ads.admanager.v1.GetTeamRequest\x1A\x1D.google.ads.admanager.v1.Team\",\xDAA\x04name\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{name=networks/*/teams/*}\x12\x92\x01\x0A\x09ListTeams\x12).google.ads.admanager.v1.ListTeamsRequest\x1A*.google.ads.admanager.v1.ListTeamsResponse\".\xDAA\x06parent\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{parent=networks/*}/teams\x12\x92\x01\x0A\x0ACreateTeam\x12*.google.ads.admanager.v1.CreateTeamRequest\x1A\x1D.google.ads.admanager.v1.Team\"9\xDAA\x0Bparent,team\x82\xD3\xE4\x93\x02%\"\x1D/v1/{parent=networks/*}/teams:\x04team\x12\xBF\x01\x0A\x10BatchCreateTeams\x120.google.ads.admanager.v1.BatchCreateTeamsRequest\x1A1.google.ads.admanager.v1.BatchCreateTeamsResponse\"F\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02.\")/v1/{parent=networks/*}/teams:batchCreate:\x01*\x12\x9C\x01\x0A\x0AUpdateTeam\x12*.google.ads.admanager.v1.UpdateTeamRequest\x1A\x1D.google.ads.admanager.v1.Team\"C\xDAA\x10team,update_mask\x82\xD3\xE4\x93\x02*2\"/v1/{team.name=networks/*/teams/*}:\x04team\x12\xBF\x01\x0A\x10BatchUpdateTeams\x120.google.ads.admanager.v1.BatchUpdateTeamsRequest\x1A1.google.ads.admanager.v1.BatchUpdateTeamsResponse\"F\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02.\")/v1/{parent=networks/*}/teams:batchUpdate:\x01*\x12\xC4\x01\x0A\x12BatchActivateTeams\x122.google.ads.admanager.v1.BatchActivateTeamsRequest\x1A3.google.ads.admanager.v1.BatchActivateTeamsResponse\"E\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x020\"+/v1/{parent=networks/*}/teams:batchActivate:\x01*\x12\xCC\x01\x0A\x14BatchDeactivateTeams\x124.google.ads.admanager.v1.BatchDeactivateTeamsRequest\x1A5.google.ads.admanager.v1.BatchDeactivateTeamsResponse\"G\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x022\"-/v1/{parent=networks/*}/teams:batchDeactivate:\x01*\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10TeamServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyEnums.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyEnums.php new file mode 100644 index 000000000000..a89610728cf3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyEnums.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xCA\x04\x0A7google/ads/admanager/v1/third_party_company_enums.proto\x12\x17google.ads.admanager.v1\"~\x0A\x1BThirdPartyCompanyStatusEnum\"_\x0A\x17ThirdPartyCompanyStatus\x12*\x0A&THIRD_PARTY_COMPANY_STATUS_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\"\x9B\x01\x0A\x19ThirdPartyCompanyTypeEnum\"~\x0A\x15ThirdPartyCompanyType\x12(\x0A\$THIRD_PARTY_COMPANY_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAD_NETWORK\x10\x01\x12\x0D\x0A\x09AD_SERVER\x10\x02\x12\x1C\x0A\x18VIDEO_TECHNOLOGY_PARTNER\x10\x03B\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BThirdPartyCompanyEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyMessages.php new file mode 100644 index 000000000000..8e343b844300 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyMessages.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xC4\x06\x0A:google/ads/admanager/v1/third_party_company_messages.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xD3\x03\x0A\x11ThirdPartyCompany\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12f\x0A\x06status\x18\x03 \x01(\x0E2L.google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatusB\x03\xE0A\x03H\x01\x88\x01\x01\x12`\x0A\x04type\x18\x04 \x01(\x0E2H.google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyTypeB\x03\xE0A\x03H\x02\x88\x01\x01:\x9B\x01\xEAA\x97\x01\x0A*admanager.googleapis.com/ThirdPartyCompany\x12Anetworks/{network_code}/thirdPartyCompanies/{third_party_company}*\x13thirdPartyCompanies2\x11thirdPartyCompanyB\x0F\x0A\x0D_display_nameB\x09\x0A\x07_statusB\x07\x0A\x05_typeB\xD2\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1EThirdPartyCompanyMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyService.php new file mode 100644 index 000000000000..ef93ae9e6750 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyCompanyService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x8A\x0B\x0A9google/ads/admanager/v1/third_party_company_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"_\x0A\x1BGetThirdPartyCompanyRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*admanager.googleapis.com/ThirdPartyCompany\"\xCA\x01\x0A\x1EListThirdPartyCompaniesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A admanager.googleapis.com/Network\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04skip\x18\x06 \x01(\x05B\x03\xE0A\x01\"\x99\x01\x0A\x1FListThirdPartyCompaniesResponse\x12I\x0A\x15third_party_companies\x18\x01 \x03(\x0B2*.google.ads.admanager.v1.ThirdPartyCompany\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x12\x0A\x0Atotal_size\x18\x03 \x01(\x052\x9A\x04\x0A\x18ThirdPartyCompanyService\x12\xB4\x01\x0A\x14GetThirdPartyCompany\x124.google.ads.admanager.v1.GetThirdPartyCompanyRequest\x1A*.google.ads.admanager.v1.ThirdPartyCompany\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=networks/*/thirdPartyCompanies/*}\x12\xCA\x01\x0A\x17ListThirdPartyCompanies\x127.google.ads.admanager.v1.ListThirdPartyCompaniesRequest\x1A8.google.ads.admanager.v1.ListThirdPartyCompaniesResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=networks/*}/thirdPartyCompanies\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DThirdPartyCompanyServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyMeasurementSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyMeasurementSettings.php new file mode 100644 index 000000000000..0e8332a80c4b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ThirdPartyMeasurementSettings.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xC0\x0E\x0A>google/ads/admanager/v1/third_party_measurement_settings.proto\x12\x17google.ads.admanager.v1\x1A0google/ads/admanager/v1/reach_partner_enum.proto\x1A6google/ads/admanager/v1/viewability_partner_enum.proto\x1A\x1Fgoogle/api/field_behavior.proto\"\xF8\x0A\x0A\x1DThirdPartyMeasurementSettings\x12i\x0A\x13viewability_partner\x18\x01 \x01(\x0E2B.google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartnerB\x03\xE0A\x01H\x00\x88\x01\x01\x12'\x0A\x15viewability_client_id\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12*\x0A\x18viewability_reporting_id\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12s\x0A\x1Dpublisher_viewability_partner\x18\x04 \x01(\x0E2B.google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartnerB\x03\xE0A\x01H\x03\x88\x01\x01\x121\x0A\x1Fpublisher_viewability_client_id\x18\x05 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x124\x0A\"publisher_viewability_reporting_id\x18\x06 \x01(\x09B\x03\xE0A\x01H\x05\x88\x01\x01\x12d\x0A\x12brand_lift_partner\x18\x0A \x01(\x0E2>.google.ads.admanager.v1.BrandLiftPartnerEnum.BrandLiftPartnerB\x03\xE0A\x01H\x06\x88\x01\x01\x12&\x0A\x14brand_lift_client_id\x18\x0B \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01\x12)\x0A\x17brand_lift_reporting_id\x18\x0C \x01(\x09B\x03\xE0A\x01H\x08\x88\x01\x01\x12W\x0A\x0Dreach_partner\x18\x0D \x01(\x0E26.google.ads.admanager.v1.ReachPartnerEnum.ReachPartnerB\x03\xE0A\x01H\x09\x88\x01\x01\x12!\x0A\x0Freach_client_id\x18\x0E \x01(\x09B\x03\xE0A\x01H\x0A\x88\x01\x01\x12\$\x0A\x12reach_reporting_id\x18\x0F \x01(\x09B\x03\xE0A\x01H\x0B\x88\x01\x01\x12a\x0A\x17publisher_reach_partner\x18\x10 \x01(\x0E26.google.ads.admanager.v1.ReachPartnerEnum.ReachPartnerB\x03\xE0A\x01H\x0C\x88\x01\x01\x12+\x0A\x19publisher_reach_client_id\x18\x11 \x01(\x09B\x03\xE0A\x01H\x0D\x88\x01\x01\x12.\x0A\x1Cpublisher_reach_reporting_id\x18\x12 \x01(\x09B\x03\xE0A\x01H\x0E\x88\x01\x01B\x16\x0A\x14_viewability_partnerB\x18\x0A\x16_viewability_client_idB\x1B\x0A\x19_viewability_reporting_idB \x0A\x1E_publisher_viewability_partnerB\"\x0A _publisher_viewability_client_idB%\x0A#_publisher_viewability_reporting_idB\x15\x0A\x13_brand_lift_partnerB\x17\x0A\x15_brand_lift_client_idB\x1A\x0A\x18_brand_lift_reporting_idB\x10\x0A\x0E_reach_partnerB\x12\x0A\x10_reach_client_idB\x15\x0A\x13_reach_reporting_idB\x1A\x0A\x18_publisher_reach_partnerB\x1C\x0A\x1A_publisher_reach_client_idB\x1F\x0A\x1D_publisher_reach_reporting_idB\xD6\x01\x0A\x1Bcom.google.ads.admanager.v1B\"ThirdPartyMeasurementSettingsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TimeUnitEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TimeUnitEnum.php new file mode 100644 index 000000000000..15b515932d08 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/TimeUnitEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA6\x03\x0A,google/ads/admanager/v1/time_unit_enum.proto\x12\x17google.ads.admanager.v1\"\x8C\x01\x0A\x0CTimeUnitEnum\"|\x0A\x08TimeUnit\x12\x19\x0A\x15TIME_UNIT_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06MINUTE\x10\x01\x12\x08\x0A\x04HOUR\x10\x02\x12\x07\x0A\x03DAY\x10\x03\x12\x08\x0A\x04WEEK\x10\x04\x12\x09\x0A\x05MONTH\x10\x05\x12\x0C\x0A\x08LIFETIME\x10\x06\x12\x07\x0A\x03POD\x10\x07\x12\x0A\x0A\x06STREAM\x10\x08B\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11TimeUnitEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserMessages.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserMessages.php new file mode 100644 index 000000000000..4dc94f974058 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserMessages.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xBA\x06\x0A+google/ads/admanager/v1/user_messages.proto\x12\x17google.ads.admanager.v1\x1A\x19google/api/resource.proto\"\x86\x04\x0A\x04User\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1B\x0A\x07user_id\x18\x0A \x01(\x03B\x05\x18\x01\xE0A\x03H\x00\x88\x01\x01\x12\x1E\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x17\x0A\x05email\x18\x03 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x128\x0A\x04role\x18\x04 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/RoleH\x03\x88\x01\x01\x12\x18\x0A\x06active\x18\x06 \x01(\x08B\x03\xE0A\x03H\x04\x88\x01\x01\x12\x1D\x0A\x0Bexternal_id\x18\x07 \x01(\x09B\x03\xE0A\x01H\x05\x88\x01\x01\x12!\x0A\x0Fservice_account\x18\x08 \x01(\x08B\x03\xE0A\x03H\x06\x88\x01\x01\x12+\x0A\x19orders_ui_local_time_zone\x18\x09 \x01(\x09B\x03\xE0A\x01H\x07\x88\x01\x01:U\xEAAR\x0A\x1Dadmanager.googleapis.com/User\x12\$networks/{network_code}/users/{user}*\x05users2\x04userB\x0A\x0A\x08_user_idB\x0F\x0A\x0D_display_nameB\x08\x0A\x06_emailB\x07\x0A\x05_roleB\x09\x0A\x07_activeB\x0E\x0A\x0C_external_idB\x12\x0A\x10_service_accountB\x1C\x0A\x1A_orders_ui_local_time_zoneB\xC5\x01\x0A\x1Bcom.google.ads.admanager.v1B\x11UserMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserService.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserService.php new file mode 100644 index 000000000000..36cd15788bbb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/UserService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xDB\x05\x0A*google/ads/admanager/v1/user_service.proto\x12\x17google.ads.admanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"E\x0A\x0EGetUserRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dadmanager.googleapis.com/User2\x8A\x02\x0A\x0BUserService\x12\x7F\x0A\x07GetUser\x12'.google.ads.admanager.v1.GetUserRequest\x1A\x1D.google.ads.admanager.v1.User\",\xDAA\x04name\x82\xD3\xE4\x93\x02\x1F\x12\x1D/v1/{name=networks/*/users/*}\x1Az\xCAA\x18admanager.googleapis.com\xD2A\\https://www.googleapis.com/auth/admanager,https://www.googleapis.com/auth/admanager.readonlyB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10UserServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoPositionEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoPositionEnum.php new file mode 100644 index 000000000000..85d0be3c24b1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoPositionEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x98\x03\x0A1google/ads/admanager/v1/video_position_enum.proto\x12\x17google.ads.admanager.v1\"u\x0A\x11VideoPositionEnum\"`\x0A\x0DVideoPosition\x12\x1E\x0A\x1AVIDEO_POSITION_UNSPECIFIED\x10\x00\x12\x07\x0A\x03ALL\x10\x01\x12\x0B\x0A\x07MIDROLL\x10\x02\x12\x0C\x0A\x08POSTROLL\x10\x03\x12\x0B\x0A\x07PREROLL\x10\x04B\xCA\x01\x0A\x1Bcom.google.ads.admanager.v1B\x16VideoPositionEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoTranscodeStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoTranscodeStatusEnum.php new file mode 100644 index 000000000000..bdf08df51c98 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/VideoTranscodeStatusEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDE\x03\x0A9google/ads/admanager/v1/video_transcode_status_enum.proto\x12\x17google.ads.admanager.v1\"\xAB\x01\x0A\x18VideoTranscodeStatusEnum\"\x8E\x01\x0A\x14VideoTranscodeStatus\x12&\x0A\"VIDEO_TRANSCODE_STATUS_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COMPLETED\x10\x01\x12\x0A\x0A\x06FAILED\x10\x02\x12\x0F\x0A\x0BIN_PROGRESS\x10\x03\x12\x13\x0A\x0FNEEDS_TRANSCODE\x10\x04\x12\x0D\x0A\x09NOT_READY\x10\x05B\xD1\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1DVideoTranscodeStatusEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ViewabilityPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ViewabilityPartnerEnum.php new file mode 100644 index 000000000000..2d92d4367dba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/ViewabilityPartnerEnum.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xDF\x03\x0A6google/ads/admanager/v1/viewability_partner_enum.proto\x12\x17google.ads.admanager.v1\"\xB1\x01\x0A\x16ViewabilityPartnerEnum\"\x96\x01\x0A\x12ViewabilityPartner\x12#\x0A\x1FVIEWABILITY_PARTNER_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08COMSCORE\x10\x01\x12\x11\x0A\x0DDOUBLE_VERIFY\x10\x02\x12\x17\x0A\x13INTEGRAL_AD_SCIENCE\x10\x04\x12\x08\x0A\x04MOAT\x10\x05\x12\x08\x0A\x04NONE\x10\x06\x12\x0D\x0A\x09TELEMETRY\x10\x07B\xCF\x01\x0A\x1Bcom.google.ads.admanager.v1B\x1BViewabilityPartnerEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/WebProperty.php b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/WebProperty.php new file mode 100644 index 000000000000..1d7ae25a643a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/GPBMetadata/Google/Ads/Admanager/V1/WebProperty.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x9D\x05\x0A*google/ads/admanager/v1/web_property.proto\x12\x17google.ads.admanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xCA\x02\x0A\x0BWebProperty\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x11web_property_code\x18\x02 \x01(\x09B\x03\xE0A\x02\x12m\x0A\x0Cproduct_type\x18\x03 \x01(\x0E2R.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProductB\x03\xE0A\x02\x12\x1C\x0A\x0Fweb_property_id\x18\x04 \x01(\x03B\x03\xE0A\x01:{\xEAAx\x0A\$admanager.googleapis.com/WebProperty\x124networks/{network_code}/webProperties/{web_property}*\x0DwebProperties2\x0BwebPropertyB\xC4\x01\x0A\x1Bcom.google.ads.admanager.v1B\x10WebPropertyProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xAA\x02\x17Google.Ads.AdManager.V1\xCA\x02\x17Google\\Ads\\AdManager\\V1\xEA\x02\x1AGoogle::Ads::AdManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ActivateCustomTargetingValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ActivateCustomTargetingValueRequest.php new file mode 100644 index 000000000000..00aa7d0e8c6a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ActivateCustomTargetingValueRequest.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.ActivateCustomTargetingValueRequest + */ +class ActivateCustomTargetingValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreak.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreak.php new file mode 100644 index 000000000000..43411672496b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreak.php @@ -0,0 +1,679 @@ +google.ads.admanager.v1.AdBreak + */ +class AdBreak extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `AdBreak`. + * This field uses the `LiveStreamEvent` resource's asset key in the + * URI, even if the ad break was created, updated, or queried using the custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. Immutable. `AdBreak` ID. + * Must consist only of lowercase letters, digits, and hyphens. Ad break IDs + * have a maximum length of 63 characters. + * If not set, an ad break ID is generated as a UUID string. + * + * Generated from protobuf field optional string ad_break_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ad_break_id = null; + /** + * Optional. Immutable. The asset key of the `LiveStreamEvent` that the ad + * break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string asset_key = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $asset_key = null; + /** + * Optional. Immutable. The custom asset key of the `LiveStreamEvent` that the + * ad break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string custom_asset_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $custom_asset_key = null; + /** + * Optional. The expected start time of the ad break. + * When set, the scheduled ad break will be decisioned shortly before the + * expected start time. + * If this field is not set, ad decisioning begins immediately. + * An ad break can be created up to six hours before the expected start time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp expected_start_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $expected_start_time = null; + /** + * Required. The duration of the `AdBreak`. + * An expected duration in seconds with up to nine fractional digits, ending + * with `s`, for example, `3.5s`. This value will be updated to match the + * actual duration from the manifest or pod request after the ad break's state + * is + * [`COMPLETE`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE]. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $duration = null; + /** + * Output only. The state of the `AdBreak`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakStateEnum.AdBreakState break_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $break_state = null; + /** + * Output only. The sequence id of the `AdBreak`. + * The unique sequence number of the created ad break. This value is only set + * after the `AdBreak` starts decisioning indicated by the ad break state's + * being + * [`DECISIONED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED] + * . + * + * Generated from protobuf field optional int64 break_sequence = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $break_sequence = null; + /** + * Optional. The pod template name of the `AdBreak`. + * This field is the required unique name across all pod templates in the + * network, not the display name. + * + * Generated from protobuf field optional string pod_template_name = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $pod_template_name = null; + /** + * Optional. The key-value pairs to be included on the ad requests for this + * `AdBreak`. Key-value pairs to include on ad requests for this break for + * custom criteria targeting in Google Ad Manager, separated by `=` and joined + * by + * `&`. + * Format:"key1=value&key2=value" + * + * Generated from protobuf field optional string custom_params = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_params = null; + /** + * Optional. The Base64-encoded SCTE-35 command associated with the `AdBreak`. + * This field can include the `splice_insert()` or `time_signal()` command. + * **Examples** + * * `time_signal()` + * ``` + * /DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg== + * ``` + * * `splice_insert()` + * ``` + * /DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo= + * ``` + * + * Generated from protobuf field optional string scte_35_cue_out = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $scte_35_cue_out = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `AdBreak`. + * This field uses the `LiveStreamEvent` resource's asset key in the + * URI, even if the ad break was created, updated, or queried using the custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * @type string $ad_break_id + * Optional. Immutable. `AdBreak` ID. + * Must consist only of lowercase letters, digits, and hyphens. Ad break IDs + * have a maximum length of 63 characters. + * If not set, an ad break ID is generated as a UUID string. + * @type string $asset_key + * Optional. Immutable. The asset key of the `LiveStreamEvent` that the ad + * break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * @type string $custom_asset_key + * Optional. Immutable. The custom asset key of the `LiveStreamEvent` that the + * ad break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * @type \Google\Protobuf\Timestamp $expected_start_time + * Optional. The expected start time of the ad break. + * When set, the scheduled ad break will be decisioned shortly before the + * expected start time. + * If this field is not set, ad decisioning begins immediately. + * An ad break can be created up to six hours before the expected start time. + * @type \Google\Protobuf\Duration $duration + * Required. The duration of the `AdBreak`. + * An expected duration in seconds with up to nine fractional digits, ending + * with `s`, for example, `3.5s`. This value will be updated to match the + * actual duration from the manifest or pod request after the ad break's state + * is + * [`COMPLETE`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE]. + * @type int $break_state + * Output only. The state of the `AdBreak`. + * @type int|string $break_sequence + * Output only. The sequence id of the `AdBreak`. + * The unique sequence number of the created ad break. This value is only set + * after the `AdBreak` starts decisioning indicated by the ad break state's + * being + * [`DECISIONED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED] + * . + * @type string $pod_template_name + * Optional. The pod template name of the `AdBreak`. + * This field is the required unique name across all pod templates in the + * network, not the display name. + * @type string $custom_params + * Optional. The key-value pairs to be included on the ad requests for this + * `AdBreak`. Key-value pairs to include on ad requests for this break for + * custom criteria targeting in Google Ad Manager, separated by `=` and joined + * by + * `&`. + * Format:"key1=value&key2=value" + * @type string $scte_35_cue_out + * Optional. The Base64-encoded SCTE-35 command associated with the `AdBreak`. + * This field can include the `splice_insert()` or `time_signal()` command. + * **Examples** + * * `time_signal()` + * ``` + * /DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg== + * ``` + * * `splice_insert()` + * ``` + * /DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo= + * ``` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `AdBreak`. + * This field uses the `LiveStreamEvent` resource's asset key in the + * URI, even if the ad break was created, updated, or queried using the custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `AdBreak`. + * This field uses the `LiveStreamEvent` resource's asset key in the + * URI, even if the ad break was created, updated, or queried using the custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Immutable. `AdBreak` ID. + * Must consist only of lowercase letters, digits, and hyphens. Ad break IDs + * have a maximum length of 63 characters. + * If not set, an ad break ID is generated as a UUID string. + * + * Generated from protobuf field optional string ad_break_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdBreakId() + { + return isset($this->ad_break_id) ? $this->ad_break_id : ''; + } + + public function hasAdBreakId() + { + return isset($this->ad_break_id); + } + + public function clearAdBreakId() + { + unset($this->ad_break_id); + } + + /** + * Optional. Immutable. `AdBreak` ID. + * Must consist only of lowercase letters, digits, and hyphens. Ad break IDs + * have a maximum length of 63 characters. + * If not set, an ad break ID is generated as a UUID string. + * + * Generated from protobuf field optional string ad_break_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAdBreakId($var) + { + GPBUtil::checkString($var, True); + $this->ad_break_id = $var; + + return $this; + } + + /** + * Optional. Immutable. The asset key of the `LiveStreamEvent` that the ad + * break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string asset_key = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAssetKey() + { + return isset($this->asset_key) ? $this->asset_key : ''; + } + + public function hasAssetKey() + { + return isset($this->asset_key); + } + + public function clearAssetKey() + { + unset($this->asset_key); + } + + /** + * Optional. Immutable. The asset key of the `LiveStreamEvent` that the ad + * break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string asset_key = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAssetKey($var) + { + GPBUtil::checkString($var, True); + $this->asset_key = $var; + + return $this; + } + + /** + * Optional. Immutable. The custom asset key of the `LiveStreamEvent` that the + * ad break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string custom_asset_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getCustomAssetKey() + { + return isset($this->custom_asset_key) ? $this->custom_asset_key : ''; + } + + public function hasCustomAssetKey() + { + return isset($this->custom_asset_key); + } + + public function clearCustomAssetKey() + { + unset($this->custom_asset_key); + } + + /** + * Optional. Immutable. The custom asset key of the `LiveStreamEvent` that the + * ad break belongs to. Either an asset key or a custom asset key must be + * provided for creation. + * + * Generated from protobuf field optional string custom_asset_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setCustomAssetKey($var) + { + GPBUtil::checkString($var, True); + $this->custom_asset_key = $var; + + return $this; + } + + /** + * Optional. The expected start time of the ad break. + * When set, the scheduled ad break will be decisioned shortly before the + * expected start time. + * If this field is not set, ad decisioning begins immediately. + * An ad break can be created up to six hours before the expected start time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp expected_start_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getExpectedStartTime() + { + return $this->expected_start_time; + } + + public function hasExpectedStartTime() + { + return isset($this->expected_start_time); + } + + public function clearExpectedStartTime() + { + unset($this->expected_start_time); + } + + /** + * Optional. The expected start time of the ad break. + * When set, the scheduled ad break will be decisioned shortly before the + * expected start time. + * If this field is not set, ad decisioning begins immediately. + * An ad break can be created up to six hours before the expected start time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp expected_start_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpectedStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->expected_start_time = $var; + + return $this; + } + + /** + * Required. The duration of the `AdBreak`. + * An expected duration in seconds with up to nine fractional digits, ending + * with `s`, for example, `3.5s`. This value will be updated to match the + * actual duration from the manifest or pod request after the ad break's state + * is + * [`COMPLETE`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE]. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Duration|null + */ + public function getDuration() + { + return $this->duration; + } + + public function hasDuration() + { + return isset($this->duration); + } + + public function clearDuration() + { + unset($this->duration); + } + + /** + * Required. The duration of the `AdBreak`. + * An expected duration in seconds with up to nine fractional digits, ending + * with `s`, for example, `3.5s`. This value will be updated to match the + * actual duration from the manifest or pod request after the ad break's state + * is + * [`COMPLETE`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE]. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->duration = $var; + + return $this; + } + + /** + * Output only. The state of the `AdBreak`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakStateEnum.AdBreakState break_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getBreakState() + { + return isset($this->break_state) ? $this->break_state : 0; + } + + public function hasBreakState() + { + return isset($this->break_state); + } + + public function clearBreakState() + { + unset($this->break_state); + } + + /** + * Output only. The state of the `AdBreak`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakStateEnum.AdBreakState break_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setBreakState($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdBreakStateEnum\AdBreakState::class); + $this->break_state = $var; + + return $this; + } + + /** + * Output only. The sequence id of the `AdBreak`. + * The unique sequence number of the created ad break. This value is only set + * after the `AdBreak` starts decisioning indicated by the ad break state's + * being + * [`DECISIONED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED] + * . + * + * Generated from protobuf field optional int64 break_sequence = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getBreakSequence() + { + return isset($this->break_sequence) ? $this->break_sequence : 0; + } + + public function hasBreakSequence() + { + return isset($this->break_sequence); + } + + public function clearBreakSequence() + { + unset($this->break_sequence); + } + + /** + * Output only. The sequence id of the `AdBreak`. + * The unique sequence number of the created ad break. This value is only set + * after the `AdBreak` starts decisioning indicated by the ad break state's + * being + * [`DECISIONED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED] + * . + * + * Generated from protobuf field optional int64 break_sequence = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setBreakSequence($var) + { + GPBUtil::checkInt64($var); + $this->break_sequence = $var; + + return $this; + } + + /** + * Optional. The pod template name of the `AdBreak`. + * This field is the required unique name across all pod templates in the + * network, not the display name. + * + * Generated from protobuf field optional string pod_template_name = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPodTemplateName() + { + return isset($this->pod_template_name) ? $this->pod_template_name : ''; + } + + public function hasPodTemplateName() + { + return isset($this->pod_template_name); + } + + public function clearPodTemplateName() + { + unset($this->pod_template_name); + } + + /** + * Optional. The pod template name of the `AdBreak`. + * This field is the required unique name across all pod templates in the + * network, not the display name. + * + * Generated from protobuf field optional string pod_template_name = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPodTemplateName($var) + { + GPBUtil::checkString($var, True); + $this->pod_template_name = $var; + + return $this; + } + + /** + * Optional. The key-value pairs to be included on the ad requests for this + * `AdBreak`. Key-value pairs to include on ad requests for this break for + * custom criteria targeting in Google Ad Manager, separated by `=` and joined + * by + * `&`. + * Format:"key1=value&key2=value" + * + * Generated from protobuf field optional string custom_params = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCustomParams() + { + return isset($this->custom_params) ? $this->custom_params : ''; + } + + public function hasCustomParams() + { + return isset($this->custom_params); + } + + public function clearCustomParams() + { + unset($this->custom_params); + } + + /** + * Optional. The key-value pairs to be included on the ad requests for this + * `AdBreak`. Key-value pairs to include on ad requests for this break for + * custom criteria targeting in Google Ad Manager, separated by `=` and joined + * by + * `&`. + * Format:"key1=value&key2=value" + * + * Generated from protobuf field optional string custom_params = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCustomParams($var) + { + GPBUtil::checkString($var, True); + $this->custom_params = $var; + + return $this; + } + + /** + * Optional. The Base64-encoded SCTE-35 command associated with the `AdBreak`. + * This field can include the `splice_insert()` or `time_signal()` command. + * **Examples** + * * `time_signal()` + * ``` + * /DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg== + * ``` + * * `splice_insert()` + * ``` + * /DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo= + * ``` + * + * Generated from protobuf field optional string scte_35_cue_out = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getScte35CueOut() + { + return isset($this->scte_35_cue_out) ? $this->scte_35_cue_out : ''; + } + + public function hasScte35CueOut() + { + return isset($this->scte_35_cue_out); + } + + public function clearScte35CueOut() + { + unset($this->scte_35_cue_out); + } + + /** + * Optional. The Base64-encoded SCTE-35 command associated with the `AdBreak`. + * This field can include the `splice_insert()` or `time_signal()` command. + * **Examples** + * * `time_signal()` + * ``` + * /DA0AAAAAAAA///wBQb+cr0AUAAeAhxDVUVJSAAAjn/PAAGlmbAICAAAAAAsoKGKNAIAmsnRfg== + * ``` + * * `splice_insert()` + * ``` + * /DAvAAAAAAAA///wFAVIAACPf+/+c2nALv4AUsz1AAAAAAAKAAhDVUVJAAABNWLbowo= + * ``` + * + * Generated from protobuf field optional string scte_35_cue_out = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setScte35CueOut($var) + { + GPBUtil::checkString($var, True); + $this->scte_35_cue_out = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum.php new file mode 100644 index 000000000000..ebcdc58e8c8e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdBreakFillTypeEnum + */ +class AdBreakFillTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum/AdBreakFillType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum/AdBreakFillType.php new file mode 100644 index 000000000000..736df1c461d2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakFillTypeEnum/AdBreakFillType.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType + */ +class AdBreakFillType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_BREAK_FILL_TYPE_UNSPECIFIED = 0; + */ + const AD_BREAK_FILL_TYPE_UNSPECIFIED = 0; + /** + * Ad break should be filled with mostly underlying content. When ad content + * can't be aligned with underlying content during transition, the gap will + * be bridged with slate to maintain the timeline. + * + * Generated from protobuf enum MINIMIZE_SLATE = 1; + */ + const MINIMIZE_SLATE = 1; + /** + * Ad break should be filled with slate. + * + * Generated from protobuf enum SLATE = 2; + */ + const SLATE = 2; + /** + * Ad break should be filled with underlying content. + * + * Generated from protobuf enum UNDERLYING_CONTENT = 3; + */ + const UNDERLYING_CONTENT = 3; + + private static $valueToName = [ + self::AD_BREAK_FILL_TYPE_UNSPECIFIED => 'AD_BREAK_FILL_TYPE_UNSPECIFIED', + self::MINIMIZE_SLATE => 'MINIMIZE_SLATE', + self::SLATE => 'SLATE', + self::UNDERLYING_CONTENT => 'UNDERLYING_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum.php new file mode 100644 index 000000000000..9b33aac41114 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdBreakMarkupTypeEnum + */ +class AdBreakMarkupTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum/AdBreakMarkupType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum/AdBreakMarkupType.php new file mode 100644 index 000000000000..6487b32b0bfa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakMarkupTypeEnum/AdBreakMarkupType.php @@ -0,0 +1,112 @@ +google.ads.admanager.v1.AdBreakMarkupTypeEnum.AdBreakMarkupType + */ +class AdBreakMarkupType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_BREAK_MARKUP_TYPE_UNSPECIFIED = 0; + */ + const AD_BREAK_MARKUP_TYPE_UNSPECIFIED = 0; + /** + * The DATERANGE ad break marker type. This mark up type is only + * applicable for HLS live streams. + * + * Generated from protobuf enum HLS_DATERANGE_SPLICE = 1; + */ + const HLS_DATERANGE_SPLICE = 1; + /** + * The CUE-OUT/CUE-IN ad break marker type. This mark up type is only + * applicable for HLS live streams. + * + * Generated from protobuf enum HLS_EXT_CUE = 2; + */ + const HLS_EXT_CUE = 2; + /** + * The CUE (Adobe/Azure Prime Time) ad break marker type. This mark up type + * is only applicable for HLS live streams. + * + * Generated from protobuf enum HLS_PRIMETIME_SPLICE = 3; + */ + const HLS_PRIMETIME_SPLICE = 3; + /** + * The SCTE35 Binary Time Signal: Break Start/End ad break marker type. This + * mark up type is only applicable for HLS and DASH live streams. + * + * Generated from protobuf enum SCTE35_BINARY_BREAK_START_END = 4; + */ + const SCTE35_BINARY_BREAK_START_END = 4; + /** + * The SCTE35 Binary Time Signal: Provider Ad Start/End ad break marker + * type. This mark up type is only applicable for HLS and DASH live streams. + * + * Generated from protobuf enum SCTE35_BINARY_PROVIDER_AD_START_END = 5; + */ + const SCTE35_BINARY_PROVIDER_AD_START_END = 5; + /** + * The SCTE35 Binary Time Signal: Provider Placement Opportunity Start/End + * ad break marker type. This mark up type is only applicable for HLS and + * DASH live streams. + * + * Generated from protobuf enum SCTE35_BINARY_PROVIDER_PLACEMENT_OP_START_END = 6; + */ + const SCTE35_BINARY_PROVIDER_PLACEMENT_OP_START_END = 6; + /** + * The SCTE35 Binary Splice Insert ad break marker type. This mark up type + * is only applicable for HLS and DASH live streams. + * + * Generated from protobuf enum SCTE35_BINARY_SPLICE_INSERT = 7; + */ + const SCTE35_BINARY_SPLICE_INSERT = 7; + /** + * The SCTE35 XML Splice In/Out ad break marker type. This markup type is + * only applicable for DASH live streams. + * + * Generated from protobuf enum SCTE35_XML_SPLICE_INSERT = 11; + */ + const SCTE35_XML_SPLICE_INSERT = 11; + + private static $valueToName = [ + self::AD_BREAK_MARKUP_TYPE_UNSPECIFIED => 'AD_BREAK_MARKUP_TYPE_UNSPECIFIED', + self::HLS_DATERANGE_SPLICE => 'HLS_DATERANGE_SPLICE', + self::HLS_EXT_CUE => 'HLS_EXT_CUE', + self::HLS_PRIMETIME_SPLICE => 'HLS_PRIMETIME_SPLICE', + self::SCTE35_BINARY_BREAK_START_END => 'SCTE35_BINARY_BREAK_START_END', + self::SCTE35_BINARY_PROVIDER_AD_START_END => 'SCTE35_BINARY_PROVIDER_AD_START_END', + self::SCTE35_BINARY_PROVIDER_PLACEMENT_OP_START_END => 'SCTE35_BINARY_PROVIDER_PLACEMENT_OP_START_END', + self::SCTE35_BINARY_SPLICE_INSERT => 'SCTE35_BINARY_SPLICE_INSERT', + self::SCTE35_XML_SPLICE_INSERT => 'SCTE35_XML_SPLICE_INSERT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum.php new file mode 100644 index 000000000000..dc31a5773d9d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdBreakStateEnum + */ +class AdBreakStateEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EarlyAdBreakNotificationEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum/AdBreakState.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum/AdBreakState.php new file mode 100644 index 000000000000..843ee5703f8b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdBreakStateEnum/AdBreakState.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.AdBreakStateEnum.AdBreakState + */ +class AdBreakState +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_BREAK_STATE_UNSPECIFIED = 0; + */ + const AD_BREAK_STATE_UNSPECIFIED = 0; + /** + * The ad break's decisioning has finished. You can delete, but not update + * the ad break. + * + * Generated from protobuf enum DECISIONED = 1; + */ + const DECISIONED = 1; + /** + * The ad break has started serving to users. You cannot delete or update + * the ad break. + * + * Generated from protobuf enum COMPLETE = 2; + */ + const COMPLETE = 2; + /** + * The ad break is scheduled and decisioning will start later. You can + * delete or update the ad break. + * + * Generated from protobuf enum SCHEDULED = 3; + */ + const SCHEDULED = 3; + + private static $valueToName = [ + self::AD_BREAK_STATE_UNSPECIFIED => 'AD_BREAK_STATE_UNSPECIFIED', + self::DECISIONED => 'DECISIONED', + self::COMPLETE => 'COMPLETE', + self::SCHEDULED => 'SCHEDULED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdManagerError.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdManagerError.php new file mode 100644 index 000000000000..66ea7ecff1a5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdManagerError.php @@ -0,0 +1,241 @@ +google.ads.admanager.v1.AdManagerError + */ +class AdManagerError extends \Google\Protobuf\Internal\Message +{ + /** + * The unique identifying string for this error. + * + * Generated from protobuf field string error_code = 1; + */ + protected $error_code = ''; + /** + * A publisher appropriate explanation of this error. + * + * Generated from protobuf field string message = 2; + */ + protected $message = ''; + /** + * The field path that triggered this error. + * + * Generated from protobuf field string field_path = 3; + */ + protected $field_path = ''; + /** + * The value that triggered this error. + * + * Generated from protobuf field string trigger = 4; + */ + protected $trigger = ''; + /** + * The stack trace that accompanies this error. + * + * Generated from protobuf field string stack_trace = 5; + */ + protected $stack_trace = ''; + /** + * A list of messages that carry any additional error details. + * + * Generated from protobuf field repeated .google.protobuf.Any details = 6; + */ + private $details; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $error_code + * The unique identifying string for this error. + * @type string $message + * A publisher appropriate explanation of this error. + * @type string $field_path + * The field path that triggered this error. + * @type string $trigger + * The value that triggered this error. + * @type string $stack_trace + * The stack trace that accompanies this error. + * @type \Google\Protobuf\Any[] $details + * A list of messages that carry any additional error details. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdmanagerError::initOnce(); + parent::__construct($data); + } + + /** + * The unique identifying string for this error. + * + * Generated from protobuf field string error_code = 1; + * @return string + */ + public function getErrorCode() + { + return $this->error_code; + } + + /** + * The unique identifying string for this error. + * + * Generated from protobuf field string error_code = 1; + * @param string $var + * @return $this + */ + public function setErrorCode($var) + { + GPBUtil::checkString($var, True); + $this->error_code = $var; + + return $this; + } + + /** + * A publisher appropriate explanation of this error. + * + * Generated from protobuf field string message = 2; + * @return string + */ + public function getMessage() + { + return $this->message; + } + + /** + * A publisher appropriate explanation of this 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 field path that triggered this error. + * + * Generated from protobuf field string field_path = 3; + * @return string + */ + public function getFieldPath() + { + return $this->field_path; + } + + /** + * The field path that triggered this error. + * + * Generated from protobuf field string field_path = 3; + * @param string $var + * @return $this + */ + public function setFieldPath($var) + { + GPBUtil::checkString($var, True); + $this->field_path = $var; + + return $this; + } + + /** + * The value that triggered this error. + * + * Generated from protobuf field string trigger = 4; + * @return string + */ + public function getTrigger() + { + return $this->trigger; + } + + /** + * The value that triggered this error. + * + * Generated from protobuf field string trigger = 4; + * @param string $var + * @return $this + */ + public function setTrigger($var) + { + GPBUtil::checkString($var, True); + $this->trigger = $var; + + return $this; + } + + /** + * The stack trace that accompanies this error. + * + * Generated from protobuf field string stack_trace = 5; + * @return string + */ + public function getStackTrace() + { + return $this->stack_trace; + } + + /** + * The stack trace that accompanies this error. + * + * Generated from protobuf field string stack_trace = 5; + * @param string $var + * @return $this + */ + public function setStackTrace($var) + { + GPBUtil::checkString($var, True); + $this->stack_trace = $var; + + return $this; + } + + /** + * A list of messages that carry any additional error details. + * + * Generated from protobuf field repeated .google.protobuf.Any details = 6; + * @return RepeatedField<\Google\Protobuf\Any> + */ + public function getDetails() + { + return $this->details; + } + + /** + * A list of messages that carry any additional error details. + * + * Generated from protobuf field repeated .google.protobuf.Any details = 6; + * @param \Google\Protobuf\Any[] $var + * @return $this + */ + public function setDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class); + $this->details = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdMediaDeliveryConfig.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdMediaDeliveryConfig.php new file mode 100644 index 000000000000..81f5468efcb7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdMediaDeliveryConfig.php @@ -0,0 +1,187 @@ +google.ads.admanager.v1.AdMediaDeliveryConfig + */ +class AdMediaDeliveryConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Whether to override the default delivery CDN. If false, + * `deliverySettings` must be null. + * + * Generated from protobuf field optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $override_default_delivery_settings = null; + /** + * Optional. Config for the delivery location that will override the default. + * From MediaLocationDto, the URL prefix field represents the hostname of the + * external CDN and the security policy will be ignored. Null if + * `overrideDefaultDeliverySettings` is false. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $delivery_settings = null; + /** + * Optional. List of additional delivery locations. From MediaLocationDto, the + * URL prefix field represents the hostname of the external CDN and the + * security policy will be ignored. In your stream create request, you can set + * the value of the `dai-dlid` parameter to the name of the MediaLocation you + * want to use. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $additional_delivery_settings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $override_default_delivery_settings + * Optional. Whether to override the default delivery CDN. If false, + * `deliverySettings` must be null. + * @type \Google\Ads\AdManager\V1\MediaLocation $delivery_settings + * Optional. Config for the delivery location that will override the default. + * From MediaLocationDto, the URL prefix field represents the hostname of the + * external CDN and the security policy will be ignored. Null if + * `overrideDefaultDeliverySettings` is false. + * @type \Google\Ads\AdManager\V1\MediaLocation[] $additional_delivery_settings + * Optional. List of additional delivery locations. From MediaLocationDto, the + * URL prefix field represents the hostname of the external CDN and the + * security policy will be ignored. In your stream create request, you can set + * the value of the `dai-dlid` parameter to the name of the MediaLocation you + * want to use. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Whether to override the default delivery CDN. If false, + * `deliverySettings` must be null. + * + * Generated from protobuf field optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getOverrideDefaultDeliverySettings() + { + return isset($this->override_default_delivery_settings) ? $this->override_default_delivery_settings : false; + } + + public function hasOverrideDefaultDeliverySettings() + { + return isset($this->override_default_delivery_settings); + } + + public function clearOverrideDefaultDeliverySettings() + { + unset($this->override_default_delivery_settings); + } + + /** + * Optional. Whether to override the default delivery CDN. If false, + * `deliverySettings` must be null. + * + * Generated from protobuf field optional bool override_default_delivery_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setOverrideDefaultDeliverySettings($var) + { + GPBUtil::checkBool($var); + $this->override_default_delivery_settings = $var; + + return $this; + } + + /** + * Optional. Config for the delivery location that will override the default. + * From MediaLocationDto, the URL prefix field represents the hostname of the + * external CDN and the security policy will be ignored. Null if + * `overrideDefaultDeliverySettings` is false. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\MediaLocation|null + */ + public function getDeliverySettings() + { + return $this->delivery_settings; + } + + public function hasDeliverySettings() + { + return isset($this->delivery_settings); + } + + public function clearDeliverySettings() + { + unset($this->delivery_settings); + } + + /** + * Optional. Config for the delivery location that will override the default. + * From MediaLocationDto, the URL prefix field represents the hostname of the + * external CDN and the security policy will be ignored. Null if + * `overrideDefaultDeliverySettings` is false. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation delivery_settings = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\MediaLocation $var + * @return $this + */ + public function setDeliverySettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MediaLocation::class); + $this->delivery_settings = $var; + + return $this; + } + + /** + * Optional. List of additional delivery locations. From MediaLocationDto, the + * URL prefix field represents the hostname of the external CDN and the + * security policy will be ignored. In your stream create request, you can set + * the value of the `dai-dlid` parameter to the name of the MediaLocation you + * want to use. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\MediaLocation> + */ + public function getAdditionalDeliverySettings() + { + return $this->additional_delivery_settings; + } + + /** + * Optional. List of additional delivery locations. From MediaLocationDto, the + * URL prefix field represents the hostname of the external CDN and the + * security policy will be ignored. In your stream create request, you can set + * the value of the `dai-dlid` parameter to the name of the MediaLocation you + * want to use. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MediaLocation additional_delivery_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\MediaLocation[] $var + * @return $this + */ + public function setAdditionalDeliverySettings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\MediaLocation::class); + $this->additional_delivery_settings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAd.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAd.php new file mode 100644 index 000000000000..d51a2ffd4402 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAd.php @@ -0,0 +1,284 @@ +google.ads.admanager.v1.AdReviewCenterAd + */ +class AdReviewCenterAd extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the AdReviewCenterAd. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. `AdReviewCenterAd` ID. + * + * Generated from protobuf field string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $ad_review_center_ad_id = ''; + /** + * Output only. Specifies the ExchangeSyndicationProduct for this + * AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $product_type = 0; + /** + * The status of the AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4; + */ + protected $status = 0; + /** + * Output only. The manual review status of the AdReviewCenterAd (for web + * properties in MCR mode). For MCR mode, a single ad could have multiple + * statuses (for example, pending and serving at the same time, if the ad is + * affected by a protection in certain inventory only). This field is not set + * for the standard mode. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $manual_review_statuses; + /** + * Output only. The preview URL that can be embedded or accessed directly + * which will present the rendered contents of the ad. (This URL expires 72 + * hours after being retrieved.). + * + * Generated from protobuf field optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $preview_url = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the AdReviewCenterAd. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * @type string $ad_review_center_ad_id + * Output only. `AdReviewCenterAd` ID. + * @type int $product_type + * Output only. Specifies the ExchangeSyndicationProduct for this + * AdReviewCenterAd. + * @type int $status + * The status of the AdReviewCenterAd. + * @type int[] $manual_review_statuses + * Output only. The manual review status of the AdReviewCenterAd (for web + * properties in MCR mode). For MCR mode, a single ad could have multiple + * statuses (for example, pending and serving at the same time, if the ad is + * affected by a protection in certain inventory only). This field is not set + * for the standard mode. + * @type string $preview_url + * Output only. The preview URL that can be embedded or accessed directly + * which will present the rendered contents of the ad. (This URL expires 72 + * hours after being retrieved.). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the AdReviewCenterAd. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the AdReviewCenterAd. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. `AdReviewCenterAd` ID. + * + * Generated from protobuf field string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAdReviewCenterAdId() + { + return $this->ad_review_center_ad_id; + } + + /** + * Output only. `AdReviewCenterAd` ID. + * + * Generated from protobuf field string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAdReviewCenterAdId($var) + { + GPBUtil::checkString($var, True); + $this->ad_review_center_ad_id = $var; + + return $this; + } + + /** + * Output only. Specifies the ExchangeSyndicationProduct for this + * AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getProductType() + { + return $this->product_type; + } + + /** + * Output only. Specifies the ExchangeSyndicationProduct for this + * AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setProductType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ExchangeSyndicationProductEnum\ExchangeSyndicationProduct::class); + $this->product_type = $var; + + return $this; + } + + /** + * The status of the AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4; + * @return int + */ + public function getStatus() + { + return $this->status; + } + + /** + * The status of the AdReviewCenterAd. + * + * Generated from protobuf field .google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdReviewCenterAdStatusEnum\AdReviewCenterAdStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. The manual review status of the AdReviewCenterAd (for web + * properties in MCR mode). For MCR mode, a single ad could have multiple + * statuses (for example, pending and serving at the same time, if the ad is + * affected by a protection in certain inventory only). This field is not set + * for the standard mode. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField + */ + public function getManualReviewStatuses() + { + return $this->manual_review_statuses; + } + + /** + * Output only. The manual review status of the AdReviewCenterAd (for web + * properties in MCR mode). For MCR mode, a single ad could have multiple + * statuses (for example, pending and serving at the same time, if the ad is + * affected by a protection in certain inventory only). This field is not set + * for the standard mode. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int[] $var + * @return $this + */ + public function setManualReviewStatuses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\ManualAdReviewCenterAdStatusEnum\ManualAdReviewCenterAdStatus::class); + $this->manual_review_statuses = $arr; + + return $this; + } + + /** + * Output only. The preview URL that can be embedded or accessed directly + * which will present the rendered contents of the ad. (This URL expires 72 + * hours after being retrieved.). + * + * Generated from protobuf field optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPreviewUrl() + { + return isset($this->preview_url) ? $this->preview_url : ''; + } + + public function hasPreviewUrl() + { + return isset($this->preview_url); + } + + public function clearPreviewUrl() + { + unset($this->preview_url); + } + + /** + * Output only. The preview URL that can be embedded or accessed directly + * which will present the rendered contents of the ad. (This URL expires 72 + * hours after being retrieved.). + * + * Generated from protobuf field optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPreviewUrl($var) + { + GPBUtil::checkString($var, True); + $this->preview_url = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum.php new file mode 100644 index 000000000000..e3e7d96f80b8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdReviewCenterAdStatusEnum + */ +class AdReviewCenterAdStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum/AdReviewCenterAdStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum/AdReviewCenterAdStatus.php new file mode 100644 index 000000000000..a68f8b3291e7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdReviewCenterAdStatusEnum/AdReviewCenterAdStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus + */ +class AdReviewCenterAdStatus +{ + /** + * Not specified value + * + * Generated from protobuf enum AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED = 0; + */ + const AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED = 0; + /** + * This ad has been explicitly allowed to serve. + * + * Generated from protobuf enum ALLOWED = 1; + */ + const ALLOWED = 1; + /** + * This ad has been explicitly blocked from serving. + * + * Generated from protobuf enum BLOCKED = 2; + */ + const BLOCKED = 2; + /** + * This ad is allowed to serve by default and has not been reviewed. + * + * Generated from protobuf enum UNREVIEWED = 3; + */ + const UNREVIEWED = 3; + + private static $valueToName = [ + self::AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED => 'AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED', + self::ALLOWED => 'ALLOWED', + self::BLOCKED => 'BLOCKED', + self::UNREVIEWED => 'UNREVIEWED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRule.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRule.php new file mode 100644 index 000000000000..6c3f2f7a5b85 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRule.php @@ -0,0 +1,706 @@ +google.ads.admanager.v1.AdRule + */ +class AdRule extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `AdRule`. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The unique name of the AdRule. This attribute is required to + * create an ad rule and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. The priority of the AdRule. This attribute is required and can + * range from 1 to 1000, with 1 being the highest possible priority. + * Changing an ad rule's priority can affect the priorities of other ad rules. + * For example, + * increasing an ad rule's priority from 5 to 1 will shift the ad rules that + * were previously in + * priority positions 1 through 4 down one. + * + * Generated from protobuf field optional int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $priority = null; + /** + * Required. The start time of the AdRule. This attribute is required and must + * be a date in the future for new ad rules. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $start_time = null; + /** + * Optional. This end time of the AdRule. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.AdRule.end_time_unlimited] is + * set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.AdRule.start_time]. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $end_time = null; + /** + * Optional. Specifies whether or not the AdRule has an end time. This + * attribute is optional and defaults to false. + * + * Generated from protobuf field optional bool end_time_unlimited = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $end_time_unlimited = null; + /** + * Output only. The AdRuleStatus of the AdRule. This attribute is read-only + * and defaults to [AdRuleStatus.INACTIVE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleStatusEnum.AdRuleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The FrequencyCapBehavior of the AdRule. This attribute is + * optional and defaults to [FrequencyCapBehavior.DEFER][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum.AdRuleFrequencyCapBehavior frequency_cap_behavior = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $frequency_cap_behavior = null; + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per stream. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_stream = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_impressions_per_line_item_per_stream = null; + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per pod. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_pod = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_impressions_per_line_item_per_pod = null; + /** + * Required. This AdRule object's pre-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot preroll = 8 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $preroll = null; + /** + * Required. This AdRule object's video mid-roll slots. This attribute is + * required, and there must be at least one mid-roll. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRuleSlot midrolls = 9 [(.google.api.field_behavior) = REQUIRED]; + */ + private $midrolls; + /** + * Required. This AdRule object's post-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot postroll = 10 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $postroll = null; + /** + * Required. The targeting of the `AdRule`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `AdRule`. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * @type string $display_name + * Required. The unique name of the AdRule. This attribute is required to + * create an ad rule and has a maximum length of 255 characters. + * @type int $priority + * Optional. The priority of the AdRule. This attribute is required and can + * range from 1 to 1000, with 1 being the highest possible priority. + * Changing an ad rule's priority can affect the priorities of other ad rules. + * For example, + * increasing an ad rule's priority from 5 to 1 will shift the ad rules that + * were previously in + * priority positions 1 through 4 down one. + * @type \Google\Protobuf\Timestamp $start_time + * Required. The start time of the AdRule. This attribute is required and must + * be a date in the future for new ad rules. + * @type \Google\Protobuf\Timestamp $end_time + * Optional. This end time of the AdRule. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.AdRule.end_time_unlimited] is + * set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.AdRule.start_time]. + * @type bool $end_time_unlimited + * Optional. Specifies whether or not the AdRule has an end time. This + * attribute is optional and defaults to false. + * @type int $status + * Output only. The AdRuleStatus of the AdRule. This attribute is read-only + * and defaults to [AdRuleStatus.INACTIVE][]. + * @type int $frequency_cap_behavior + * Optional. The FrequencyCapBehavior of the AdRule. This attribute is + * optional and defaults to [FrequencyCapBehavior.DEFER][]. + * @type int $max_impressions_per_line_item_per_stream + * Optional. This AdRule object's frequency cap for the maximum impressions + * per stream. This attribute is optional and defaults to 0. + * @type int $max_impressions_per_line_item_per_pod + * Optional. This AdRule object's frequency cap for the maximum impressions + * per pod. This attribute is optional and defaults to 0. + * @type \Google\Ads\AdManager\V1\AdRuleSlot $preroll + * Required. This AdRule object's pre-roll slot. This attribute is required. + * @type \Google\Ads\AdManager\V1\AdRuleSlot[] $midrolls + * Required. This AdRule object's video mid-roll slots. This attribute is + * required, and there must be at least one mid-roll. + * @type \Google\Ads\AdManager\V1\AdRuleSlot $postroll + * Required. This AdRule object's post-roll slot. This attribute is required. + * @type \Google\Ads\AdManager\V1\Targeting $targeting + * Required. The targeting of the `AdRule`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `AdRule`. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `AdRule`. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The unique name of the AdRule. This attribute is required to + * create an ad rule and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The unique name of the AdRule. This attribute is required to + * create an ad rule and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. The priority of the AdRule. This attribute is required and can + * range from 1 to 1000, with 1 being the highest possible priority. + * Changing an ad rule's priority can affect the priorities of other ad rules. + * For example, + * increasing an ad rule's priority from 5 to 1 will shift the ad rules that + * were previously in + * priority positions 1 through 4 down one. + * + * Generated from protobuf field optional int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPriority() + { + return isset($this->priority) ? $this->priority : 0; + } + + public function hasPriority() + { + return isset($this->priority); + } + + public function clearPriority() + { + unset($this->priority); + } + + /** + * Optional. The priority of the AdRule. This attribute is required and can + * range from 1 to 1000, with 1 being the highest possible priority. + * Changing an ad rule's priority can affect the priorities of other ad rules. + * For example, + * increasing an ad rule's priority from 5 to 1 will shift the ad rules that + * were previously in + * priority positions 1 through 4 down one. + * + * Generated from protobuf field optional int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPriority($var) + { + GPBUtil::checkInt32($var); + $this->priority = $var; + + return $this; + } + + /** + * Required. The start time of the AdRule. This attribute is required and must + * be a date in the future for new ad rules. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Required. The start time of the AdRule. This attribute is required and must + * be a date in the future for new ad rules. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->start_time = $var; + + return $this; + } + + /** + * Optional. This end time of the AdRule. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.AdRule.end_time_unlimited] is + * set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.AdRule.start_time]. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEndTime() + { + return $this->end_time; + } + + public function hasEndTime() + { + return isset($this->end_time); + } + + public function clearEndTime() + { + unset($this->end_time); + } + + /** + * Optional. This end time of the AdRule. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.AdRule.end_time_unlimited] is + * set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.AdRule.start_time]. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->end_time = $var; + + return $this; + } + + /** + * Optional. Specifies whether or not the AdRule has an end time. This + * attribute is optional and defaults to false. + * + * Generated from protobuf field optional bool end_time_unlimited = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEndTimeUnlimited() + { + return isset($this->end_time_unlimited) ? $this->end_time_unlimited : false; + } + + public function hasEndTimeUnlimited() + { + return isset($this->end_time_unlimited); + } + + public function clearEndTimeUnlimited() + { + unset($this->end_time_unlimited); + } + + /** + * Optional. Specifies whether or not the AdRule has an end time. This + * attribute is optional and defaults to false. + * + * Generated from protobuf field optional bool end_time_unlimited = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEndTimeUnlimited($var) + { + GPBUtil::checkBool($var); + $this->end_time_unlimited = $var; + + return $this; + } + + /** + * Output only. The AdRuleStatus of the AdRule. This attribute is read-only + * and defaults to [AdRuleStatus.INACTIVE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleStatusEnum.AdRuleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The AdRuleStatus of the AdRule. This attribute is read-only + * and defaults to [AdRuleStatus.INACTIVE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleStatusEnum.AdRuleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdRuleStatusEnum\AdRuleStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The FrequencyCapBehavior of the AdRule. This attribute is + * optional and defaults to [FrequencyCapBehavior.DEFER][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum.AdRuleFrequencyCapBehavior frequency_cap_behavior = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getFrequencyCapBehavior() + { + return isset($this->frequency_cap_behavior) ? $this->frequency_cap_behavior : 0; + } + + public function hasFrequencyCapBehavior() + { + return isset($this->frequency_cap_behavior); + } + + public function clearFrequencyCapBehavior() + { + unset($this->frequency_cap_behavior); + } + + /** + * Optional. The FrequencyCapBehavior of the AdRule. This attribute is + * optional and defaults to [FrequencyCapBehavior.DEFER][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum.AdRuleFrequencyCapBehavior frequency_cap_behavior = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setFrequencyCapBehavior($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdRuleFrequencyCapBehaviorEnum\AdRuleFrequencyCapBehavior::class); + $this->frequency_cap_behavior = $var; + + return $this; + } + + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per stream. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_stream = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMaxImpressionsPerLineItemPerStream() + { + return isset($this->max_impressions_per_line_item_per_stream) ? $this->max_impressions_per_line_item_per_stream : 0; + } + + public function hasMaxImpressionsPerLineItemPerStream() + { + return isset($this->max_impressions_per_line_item_per_stream); + } + + public function clearMaxImpressionsPerLineItemPerStream() + { + unset($this->max_impressions_per_line_item_per_stream); + } + + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per stream. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_stream = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMaxImpressionsPerLineItemPerStream($var) + { + GPBUtil::checkInt32($var); + $this->max_impressions_per_line_item_per_stream = $var; + + return $this; + } + + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per pod. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_pod = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMaxImpressionsPerLineItemPerPod() + { + return isset($this->max_impressions_per_line_item_per_pod) ? $this->max_impressions_per_line_item_per_pod : 0; + } + + public function hasMaxImpressionsPerLineItemPerPod() + { + return isset($this->max_impressions_per_line_item_per_pod); + } + + public function clearMaxImpressionsPerLineItemPerPod() + { + unset($this->max_impressions_per_line_item_per_pod); + } + + /** + * Optional. This AdRule object's frequency cap for the maximum impressions + * per pod. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 max_impressions_per_line_item_per_pod = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMaxImpressionsPerLineItemPerPod($var) + { + GPBUtil::checkInt32($var); + $this->max_impressions_per_line_item_per_pod = $var; + + return $this; + } + + /** + * Required. This AdRule object's pre-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot preroll = 8 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdRuleSlot|null + */ + public function getPreroll() + { + return $this->preroll; + } + + public function hasPreroll() + { + return isset($this->preroll); + } + + public function clearPreroll() + { + unset($this->preroll); + } + + /** + * Required. This AdRule object's pre-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot preroll = 8 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdRuleSlot $var + * @return $this + */ + public function setPreroll($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdRuleSlot::class); + $this->preroll = $var; + + return $this; + } + + /** + * Required. This AdRule object's video mid-roll slots. This attribute is + * required, and there must be at least one mid-roll. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRuleSlot midrolls = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdRuleSlot> + */ + public function getMidrolls() + { + return $this->midrolls; + } + + /** + * Required. This AdRule object's video mid-roll slots. This attribute is + * required, and there must be at least one mid-roll. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRuleSlot midrolls = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdRuleSlot[] $var + * @return $this + */ + public function setMidrolls($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdRuleSlot::class); + $this->midrolls = $arr; + + return $this; + } + + /** + * Required. This AdRule object's post-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot postroll = 10 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdRuleSlot|null + */ + public function getPostroll() + { + return $this->postroll; + } + + public function hasPostroll() + { + return isset($this->postroll); + } + + public function clearPostroll() + { + unset($this->postroll); + } + + /** + * Required. This AdRule object's post-roll slot. This attribute is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlot postroll = 10 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdRuleSlot $var + * @return $this + */ + public function setPostroll($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdRuleSlot::class); + $this->postroll = $var; + + return $this; + } + + /** + * Required. The targeting of the `AdRule`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Targeting|null + */ + public function getTargeting() + { + return $this->targeting; + } + + public function hasTargeting() + { + return isset($this->targeting); + } + + public function clearTargeting() + { + unset($this->targeting); + } + + /** + * Required. The targeting of the `AdRule`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 11 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Targeting $var + * @return $this + */ + public function setTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Targeting::class); + $this->targeting = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum.php new file mode 100644 index 000000000000..e50d8dd4890d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum + */ +class AdRuleFrequencyCapBehaviorEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum/AdRuleFrequencyCapBehavior.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum/AdRuleFrequencyCapBehavior.php new file mode 100644 index 000000000000..f8de7f90c455 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleFrequencyCapBehaviorEnum/AdRuleFrequencyCapBehavior.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.AdRuleFrequencyCapBehaviorEnum.AdRuleFrequencyCapBehavior + */ +class AdRuleFrequencyCapBehavior +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_RULE_FREQUENCY_CAP_BEHAVIOR_UNSPECIFIED = 0; + */ + const AD_RULE_FREQUENCY_CAP_BEHAVIOR_UNSPECIFIED = 0; + /** + * Defer frequency cap decisions to the next ad rule in priority order. + * + * Generated from protobuf enum DEFER = 1; + */ + const DEFER = 1; + /** + * Turn off all frequency caps. + * + * Generated from protobuf enum TURN_OFF = 2; + */ + const TURN_OFF = 2; + /** + * Turn on at least one of the frequency caps. + * + * Generated from protobuf enum TURN_ON = 3; + */ + const TURN_ON = 3; + + private static $valueToName = [ + self::AD_RULE_FREQUENCY_CAP_BEHAVIOR_UNSPECIFIED => 'AD_RULE_FREQUENCY_CAP_BEHAVIOR_UNSPECIFIED', + self::DEFER => 'DEFER', + self::TURN_OFF => 'TURN_OFF', + self::TURN_ON => 'TURN_ON', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlot.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlot.php new file mode 100644 index 000000000000..329cbdb15f9c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlot.php @@ -0,0 +1,451 @@ +google.ads.admanager.v1.AdRuleSlot + */ +class AdRuleSlot extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The AdRuleSlotBehavior for video ads for this slot. This + * attribute is optional and defaults to [AdRuleSlotBehavior.DEFER][]. + * Indicates whether video ads are allowed for this slot, or if the decision + * is deferred to alower-priority ad rule. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBehaviorEnum.AdRuleSlotBehavior slot_behavior = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $slot_behavior = null; + /** + * Optional. The maximum duration in milliseconds of video ads within this + * slot. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_ad_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_video_ad_duration = null; + /** + * Optional. The frequency type for video ads in this ad rule slot. This + * attribute is required for mid-rolls, but if this is not a mid-roll, the + * value is set to [AdRuleSlotMidrollFrequencyType.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType video_midroll_frequency_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $video_midroll_frequency_type = null; + /** + * Optional. The mid-roll frequency of this ad rule slot for video ads. This + * attribute is required for mid-rolls, but if MidrollFrequencyType is set to + * [AdRuleSlotMidrollFrequencyType.NONE][], this value should be ignored. For + * example, if this slot has a frequency type of + * [AdRuleSlotMidrollFrequencyType.EVERY_N_SECONDS][] and + * # videoMidrollFrequency = "60", this would mean "play a mid-roll every 60 + * seconds." + * + * Generated from protobuf field optional string video_midroll_frequency = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $video_midroll_frequency = null; + /** + * Optional. The AdRuleSlotBumper for this slot. This attribute is optional + * and defaults to [AdRuleSlotBumper.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBumperEnum.AdRuleSlotBumper bumper = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $bumper = null; + /** + * Optional. The maximum duration of bumper ads within this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_bumper_duration = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_bumper_duration = null; + /** + * Optional. The maximum pod duration for this slot. This attribute is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_pod_duration = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_pod_duration = null; + /** + * Optional. The maximum number of ads allowed in a pod in this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 pod_max_ad_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $pod_max_ad_count = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $slot_behavior + * Optional. The AdRuleSlotBehavior for video ads for this slot. This + * attribute is optional and defaults to [AdRuleSlotBehavior.DEFER][]. + * Indicates whether video ads are allowed for this slot, or if the decision + * is deferred to alower-priority ad rule. + * @type \Google\Protobuf\Duration $max_video_ad_duration + * Optional. The maximum duration in milliseconds of video ads within this + * slot. This attribute is optional and defaults to 0. + * @type int $video_midroll_frequency_type + * Optional. The frequency type for video ads in this ad rule slot. This + * attribute is required for mid-rolls, but if this is not a mid-roll, the + * value is set to [AdRuleSlotMidrollFrequencyType.NONE][]. + * @type string $video_midroll_frequency + * Optional. The mid-roll frequency of this ad rule slot for video ads. This + * attribute is required for mid-rolls, but if MidrollFrequencyType is set to + * [AdRuleSlotMidrollFrequencyType.NONE][], this value should be ignored. For + * example, if this slot has a frequency type of + * [AdRuleSlotMidrollFrequencyType.EVERY_N_SECONDS][] and + * # videoMidrollFrequency = "60", this would mean "play a mid-roll every 60 + * seconds." + * @type int $bumper + * Optional. The AdRuleSlotBumper for this slot. This attribute is optional + * and defaults to [AdRuleSlotBumper.NONE][]. + * @type \Google\Protobuf\Duration $max_bumper_duration + * Optional. The maximum duration of bumper ads within this slot. This + * attribute is optional and defaults to 0. + * @type \Google\Protobuf\Duration $max_pod_duration + * Optional. The maximum pod duration for this slot. This attribute is + * optional and defaults to 0. + * @type int $pod_max_ad_count + * Optional. The maximum number of ads allowed in a pod in this slot. This + * attribute is optional and defaults to 0. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The AdRuleSlotBehavior for video ads for this slot. This + * attribute is optional and defaults to [AdRuleSlotBehavior.DEFER][]. + * Indicates whether video ads are allowed for this slot, or if the decision + * is deferred to alower-priority ad rule. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBehaviorEnum.AdRuleSlotBehavior slot_behavior = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSlotBehavior() + { + return isset($this->slot_behavior) ? $this->slot_behavior : 0; + } + + public function hasSlotBehavior() + { + return isset($this->slot_behavior); + } + + public function clearSlotBehavior() + { + unset($this->slot_behavior); + } + + /** + * Optional. The AdRuleSlotBehavior for video ads for this slot. This + * attribute is optional and defaults to [AdRuleSlotBehavior.DEFER][]. + * Indicates whether video ads are allowed for this slot, or if the decision + * is deferred to alower-priority ad rule. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBehaviorEnum.AdRuleSlotBehavior slot_behavior = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSlotBehavior($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdRuleSlotBehaviorEnum\AdRuleSlotBehavior::class); + $this->slot_behavior = $var; + + return $this; + } + + /** + * Optional. The maximum duration in milliseconds of video ads within this + * slot. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_ad_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxVideoAdDuration() + { + return $this->max_video_ad_duration; + } + + public function hasMaxVideoAdDuration() + { + return isset($this->max_video_ad_duration); + } + + public function clearMaxVideoAdDuration() + { + unset($this->max_video_ad_duration); + } + + /** + * Optional. The maximum duration in milliseconds of video ads within this + * slot. This attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_ad_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxVideoAdDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_video_ad_duration = $var; + + return $this; + } + + /** + * Optional. The frequency type for video ads in this ad rule slot. This + * attribute is required for mid-rolls, but if this is not a mid-roll, the + * value is set to [AdRuleSlotMidrollFrequencyType.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType video_midroll_frequency_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVideoMidrollFrequencyType() + { + return isset($this->video_midroll_frequency_type) ? $this->video_midroll_frequency_type : 0; + } + + public function hasVideoMidrollFrequencyType() + { + return isset($this->video_midroll_frequency_type); + } + + public function clearVideoMidrollFrequencyType() + { + unset($this->video_midroll_frequency_type); + } + + /** + * Optional. The frequency type for video ads in this ad rule slot. This + * attribute is required for mid-rolls, but if this is not a mid-roll, the + * value is set to [AdRuleSlotMidrollFrequencyType.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType video_midroll_frequency_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVideoMidrollFrequencyType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdRuleSlotMidrollFrequencyTypeEnum\AdRuleSlotMidrollFrequencyType::class); + $this->video_midroll_frequency_type = $var; + + return $this; + } + + /** + * Optional. The mid-roll frequency of this ad rule slot for video ads. This + * attribute is required for mid-rolls, but if MidrollFrequencyType is set to + * [AdRuleSlotMidrollFrequencyType.NONE][], this value should be ignored. For + * example, if this slot has a frequency type of + * [AdRuleSlotMidrollFrequencyType.EVERY_N_SECONDS][] and + * # videoMidrollFrequency = "60", this would mean "play a mid-roll every 60 + * seconds." + * + * Generated from protobuf field optional string video_midroll_frequency = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getVideoMidrollFrequency() + { + return isset($this->video_midroll_frequency) ? $this->video_midroll_frequency : ''; + } + + public function hasVideoMidrollFrequency() + { + return isset($this->video_midroll_frequency); + } + + public function clearVideoMidrollFrequency() + { + unset($this->video_midroll_frequency); + } + + /** + * Optional. The mid-roll frequency of this ad rule slot for video ads. This + * attribute is required for mid-rolls, but if MidrollFrequencyType is set to + * [AdRuleSlotMidrollFrequencyType.NONE][], this value should be ignored. For + * example, if this slot has a frequency type of + * [AdRuleSlotMidrollFrequencyType.EVERY_N_SECONDS][] and + * # videoMidrollFrequency = "60", this would mean "play a mid-roll every 60 + * seconds." + * + * Generated from protobuf field optional string video_midroll_frequency = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setVideoMidrollFrequency($var) + { + GPBUtil::checkString($var, True); + $this->video_midroll_frequency = $var; + + return $this; + } + + /** + * Optional. The AdRuleSlotBumper for this slot. This attribute is optional + * and defaults to [AdRuleSlotBumper.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBumperEnum.AdRuleSlotBumper bumper = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getBumper() + { + return isset($this->bumper) ? $this->bumper : 0; + } + + public function hasBumper() + { + return isset($this->bumper); + } + + public function clearBumper() + { + unset($this->bumper); + } + + /** + * Optional. The AdRuleSlotBumper for this slot. This attribute is optional + * and defaults to [AdRuleSlotBumper.NONE][]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdRuleSlotBumperEnum.AdRuleSlotBumper bumper = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setBumper($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdRuleSlotBumperEnum\AdRuleSlotBumper::class); + $this->bumper = $var; + + return $this; + } + + /** + * Optional. The maximum duration of bumper ads within this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_bumper_duration = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxBumperDuration() + { + return $this->max_bumper_duration; + } + + public function hasMaxBumperDuration() + { + return isset($this->max_bumper_duration); + } + + public function clearMaxBumperDuration() + { + unset($this->max_bumper_duration); + } + + /** + * Optional. The maximum duration of bumper ads within this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_bumper_duration = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxBumperDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_bumper_duration = $var; + + return $this; + } + + /** + * Optional. The maximum pod duration for this slot. This attribute is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_pod_duration = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxPodDuration() + { + return $this->max_pod_duration; + } + + public function hasMaxPodDuration() + { + return isset($this->max_pod_duration); + } + + public function clearMaxPodDuration() + { + unset($this->max_pod_duration); + } + + /** + * Optional. The maximum pod duration for this slot. This attribute is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_pod_duration = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxPodDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_pod_duration = $var; + + return $this; + } + + /** + * Optional. The maximum number of ads allowed in a pod in this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 pod_max_ad_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPodMaxAdCount() + { + return isset($this->pod_max_ad_count) ? $this->pod_max_ad_count : 0; + } + + public function hasPodMaxAdCount() + { + return isset($this->pod_max_ad_count); + } + + public function clearPodMaxAdCount() + { + unset($this->pod_max_ad_count); + } + + /** + * Optional. The maximum number of ads allowed in a pod in this slot. This + * attribute is optional and defaults to 0. + * + * Generated from protobuf field optional int32 pod_max_ad_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPodMaxAdCount($var) + { + GPBUtil::checkInt32($var); + $this->pod_max_ad_count = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum.php new file mode 100644 index 000000000000..f1ca5834e7bb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdRuleSlotBehaviorEnum + */ +class AdRuleSlotBehaviorEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleSlotBehaviorEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum/AdRuleSlotBehavior.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum/AdRuleSlotBehavior.php new file mode 100644 index 000000000000..457a525f93bc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBehaviorEnum/AdRuleSlotBehavior.php @@ -0,0 +1,69 @@ +google.ads.admanager.v1.AdRuleSlotBehaviorEnum.AdRuleSlotBehavior + */ +class AdRuleSlotBehavior +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_RULE_SLOT_BEHAVIOR_UNSPECIFIED = 0; + */ + const AD_RULE_SLOT_BEHAVIOR_UNSPECIFIED = 0; + /** + * This ad rule always includes this slot's ads. + * + * Generated from protobuf enum ALWAYS_SHOW = 1; + */ + const ALWAYS_SHOW = 1; + /** + * Defer to lower priority rules. This ad rule doesn't specify guidelines + * for this slot's ads. + * + * Generated from protobuf enum DEFER = 2; + */ + const DEFER = 2; + /** + * This ad rule never includes this slot's ads. + * + * Generated from protobuf enum NEVER_SHOW = 3; + */ + const NEVER_SHOW = 3; + + private static $valueToName = [ + self::AD_RULE_SLOT_BEHAVIOR_UNSPECIFIED => 'AD_RULE_SLOT_BEHAVIOR_UNSPECIFIED', + self::ALWAYS_SHOW => 'ALWAYS_SHOW', + self::DEFER => 'DEFER', + self::NEVER_SHOW => 'NEVER_SHOW', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum.php new file mode 100644 index 000000000000..da2079f2076c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdRuleSlotBumperEnum + */ +class AdRuleSlotBumperEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleSlotBumperEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum/AdRuleSlotBumper.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum/AdRuleSlotBumper.php new file mode 100644 index 000000000000..a22d5e0b6699 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotBumperEnum/AdRuleSlotBumper.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.AdRuleSlotBumperEnum.AdRuleSlotBumper + */ +class AdRuleSlotBumper +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_RULE_SLOT_BUMPER_UNSPECIFIED = 0; + */ + const AD_RULE_SLOT_BUMPER_UNSPECIFIED = 0; + /** + * Show a bumper ad after the slot's other ads. + * + * Generated from protobuf enum AFTER = 1; + */ + const AFTER = 1; + /** + * Show a bumper ad before the slot's other ads. + * + * Generated from protobuf enum BEFORE = 2; + */ + const BEFORE = 2; + /** + * Show a bumper before and after the slot's other ads. + * + * Generated from protobuf enum BEFORE_AND_AFTER = 3; + */ + const BEFORE_AND_AFTER = 3; + /** + * Do not show a bumper ad. + * + * Generated from protobuf enum NONE = 4; + */ + const NONE = 4; + + private static $valueToName = [ + self::AD_RULE_SLOT_BUMPER_UNSPECIFIED => 'AD_RULE_SLOT_BUMPER_UNSPECIFIED', + self::AFTER => 'AFTER', + self::BEFORE => 'BEFORE', + self::BEFORE_AND_AFTER => 'BEFORE_AND_AFTER', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php new file mode 100644 index 000000000000..7dbb98be56df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum + */ +class AdRuleSlotMidrollFrequencyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleSlotMidrollFrequencyTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum/AdRuleSlotMidrollFrequencyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum/AdRuleSlotMidrollFrequencyType.php new file mode 100644 index 000000000000..0c6d336ee9a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleSlotMidrollFrequencyTypeEnum/AdRuleSlotMidrollFrequencyType.php @@ -0,0 +1,98 @@ +google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType + */ +class AdRuleSlotMidrollFrequencyType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED = 0; + */ + const AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED = 0; + /** + * MidrollFrequency is a cue point interval and is a single integer value, + * such as "5", which means "play a mid-roll every 5th cue point". + * + * Generated from protobuf enum EVERY_N_CUEPOINTS = 1; + */ + const EVERY_N_CUEPOINTS = 1; + /** + * MidrollFrequency is a time interval and mentioned as a single numeric + * value in seconds. For example, "100" would mean "play a mid-roll every + * 100 seconds". + * + * Generated from protobuf enum EVERY_N_SECONDS = 2; + */ + const EVERY_N_SECONDS = 2; + /** + * Same as `FIXED_TIME`, except the values represent the ordinal cue + * points ("1,3,5", for example). + * + * Generated from protobuf enum FIXED_CUE_POINTS = 3; + */ + const FIXED_CUE_POINTS = 3; + /** + * MidrollFrequency is a comma-delimited list of points in time + * (in seconds) when an ad should play. For example, "100,300" would mean + * "play an ad at 100 seconds and 300 seconds". + * + * Generated from protobuf enum FIXED_TIME = 4; + */ + const FIXED_TIME = 4; + /** + * The ad rule slot is not a mid-roll and MidrollFrequency + * should be ignored. + * + * Generated from protobuf enum NONE = 5; + */ + const NONE = 5; + /** + * After all other frequency type is applied and the number of midrolls are + * settled, this slot setting will override the mid-roll defined by + * ReverseMidrollIndex. + * + * Generated from protobuf enum REVERSE_MIDROLL_INDEX = 6; + */ + const REVERSE_MIDROLL_INDEX = 6; + + private static $valueToName = [ + self::AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED => 'AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED', + self::EVERY_N_CUEPOINTS => 'EVERY_N_CUEPOINTS', + self::EVERY_N_SECONDS => 'EVERY_N_SECONDS', + self::FIXED_CUE_POINTS => 'FIXED_CUE_POINTS', + self::FIXED_TIME => 'FIXED_TIME', + self::NONE => 'NONE', + self::REVERSE_MIDROLL_INDEX => 'REVERSE_MIDROLL_INDEX', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum.php new file mode 100644 index 000000000000..d2b5e8587994 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum.php @@ -0,0 +1,31 @@ +google.ads.admanager.v1.AdRuleStatusEnum + */ +class AdRuleStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum/AdRuleStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum/AdRuleStatus.php new file mode 100644 index 000000000000..77e34eee6433 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdRuleStatusEnum/AdRuleStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.AdRuleStatusEnum.AdRuleStatus + */ +class AdRuleStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_RULE_STATUS_UNSPECIFIED = 0; + */ + const AD_RULE_STATUS_UNSPECIFIED = 0; + /** + * Created and ready to be served. Is user-visible. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Marked as deleted, not user-visible. + * + * Generated from protobuf enum DELETED = 2; + */ + const DELETED = 2; + /** + * Inactive, not user-visible. + * + * Generated from protobuf enum INACTIVE = 5; + */ + const INACTIVE = 5; + + private static $valueToName = [ + self::AD_RULE_STATUS_UNSPECIFIED => 'AD_RULE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::DELETED => 'DELETED', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpot.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpot.php new file mode 100644 index 000000000000..2ab48df95473 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpot.php @@ -0,0 +1,679 @@ +google.ads.admanager.v1.AdSpot + */ +class AdSpot extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `AdSpot`. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. Name of the AdSpot. The name is case insensitive and can be + * referenced in ad tags. This value is required if `customSpot` is true, and + * cannot be set otherwise. You can use alphanumeric characters and symbols + * other than the following: ", ', =, !, +, #, , ~, ;, ^, (, ), <, >, [, ], + * the white space character. + * + * Generated from protobuf field optional string canonical_display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $canonical_display_name = null; + /** + * Optional. Descriptive name for the `AdSpot`.This value is optional if + * `customSpot` is true, and cannot be set otherwise. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = null; + /** + * Optional. Whether this ad spot is a custom spot. This field is optional and + * defaults to false. Custom spots can be reused and targeted in the targeting + * picker. + * + * Generated from protobuf field optional bool custom_spot = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_spot = null; + /** + * Optional. Whether this ad spot is a flexible spot. This field is optional + * and defaults to false. Flexible spots are allowed to have no max number of + * ads. + * + * Generated from protobuf field optional bool flexible = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $flexible = null; + /** + * Optional. The maximum total duration for this AdSpot. This field is + * optional, defaults to 0, and supports precision to the nearest second. + * + * Generated from protobuf field optional .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_duration = null; + /** + * Optional. The minimum allowed duration for ads in the AdSpot. This field is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration min_ad_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $min_ad_duration = null; + /** + * Required. The maximum allowed duration for ads in the `AdSpot`. This field + * is required and must be greater than + * [min_ad_duration][google.ads.admanager.v1.AdSpot.min_ad_duration]. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_duration = 13 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $max_ad_duration = null; + /** + * Optional. The maximum number of ads allowed in the AdSpot. This field is + * optional and defaults to 0. A value of 0 means that there is no maximum for + * the number of ads in the ad spot. No max ads is only supported for ad spots + * that have flexible set to true. + * + * Generated from protobuf field optional int32 max_ads = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_ads = null; + /** + * Optional. The AdSpot TargetingType determines how this ad spot can be + * targeted. This field is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdSpotTargetingTypeEnum.AdSpotTargetingType targeting_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $targeting_type = null; + /** + * Optional. Whether backfill is blocked in this ad spot. This field is + * optional and defaults to false. + * + * Generated from protobuf field optional bool backfill_blocked = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $backfill_blocked = null; + /** + * Optional. The set of line item types that may appear in the ad spot. This + * field is optional and defaults to an empty set, which means that all types + * are allowed. Note, backfill reservation types are controlled by the + * `backfillBlocked` field. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemTypeEnum.LineItemType allowed_line_item_types = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $allowed_line_item_types; + /** + * Optional. Whether inventory sharing is blocked in this ad spot. This field + * is optional and defaults to false. + * + * Generated from protobuf field optional bool inventory_sharing_blocked = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $inventory_sharing_blocked = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `AdSpot`. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * @type string $canonical_display_name + * Optional. Name of the AdSpot. The name is case insensitive and can be + * referenced in ad tags. This value is required if `customSpot` is true, and + * cannot be set otherwise. You can use alphanumeric characters and symbols + * other than the following: ", ', =, !, +, #, , ~, ;, ^, (, ), <, >, [, ], + * the white space character. + * @type string $display_name + * Optional. Descriptive name for the `AdSpot`.This value is optional if + * `customSpot` is true, and cannot be set otherwise. + * @type bool $custom_spot + * Optional. Whether this ad spot is a custom spot. This field is optional and + * defaults to false. Custom spots can be reused and targeted in the targeting + * picker. + * @type bool $flexible + * Optional. Whether this ad spot is a flexible spot. This field is optional + * and defaults to false. Flexible spots are allowed to have no max number of + * ads. + * @type \Google\Protobuf\Duration $max_duration + * Optional. The maximum total duration for this AdSpot. This field is + * optional, defaults to 0, and supports precision to the nearest second. + * @type \Google\Protobuf\Duration $min_ad_duration + * Optional. The minimum allowed duration for ads in the AdSpot. This field is + * optional and defaults to 0. + * @type \Google\Protobuf\Duration $max_ad_duration + * Required. The maximum allowed duration for ads in the `AdSpot`. This field + * is required and must be greater than + * [min_ad_duration][google.ads.admanager.v1.AdSpot.min_ad_duration]. + * @type int $max_ads + * Optional. The maximum number of ads allowed in the AdSpot. This field is + * optional and defaults to 0. A value of 0 means that there is no maximum for + * the number of ads in the ad spot. No max ads is only supported for ad spots + * that have flexible set to true. + * @type int $targeting_type + * Optional. The AdSpot TargetingType determines how this ad spot can be + * targeted. This field is required. + * @type bool $backfill_blocked + * Optional. Whether backfill is blocked in this ad spot. This field is + * optional and defaults to false. + * @type int[] $allowed_line_item_types + * Optional. The set of line item types that may appear in the ad spot. This + * field is optional and defaults to an empty set, which means that all types + * are allowed. Note, backfill reservation types are controlled by the + * `backfillBlocked` field. + * @type bool $inventory_sharing_blocked + * Optional. Whether inventory sharing is blocked in this ad spot. This field + * is optional and defaults to false. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `AdSpot`. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `AdSpot`. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Name of the AdSpot. The name is case insensitive and can be + * referenced in ad tags. This value is required if `customSpot` is true, and + * cannot be set otherwise. You can use alphanumeric characters and symbols + * other than the following: ", ', =, !, +, #, , ~, ;, ^, (, ), <, >, [, ], + * the white space character. + * + * Generated from protobuf field optional string canonical_display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCanonicalDisplayName() + { + return isset($this->canonical_display_name) ? $this->canonical_display_name : ''; + } + + public function hasCanonicalDisplayName() + { + return isset($this->canonical_display_name); + } + + public function clearCanonicalDisplayName() + { + unset($this->canonical_display_name); + } + + /** + * Optional. Name of the AdSpot. The name is case insensitive and can be + * referenced in ad tags. This value is required if `customSpot` is true, and + * cannot be set otherwise. You can use alphanumeric characters and symbols + * other than the following: ", ', =, !, +, #, , ~, ;, ^, (, ), <, >, [, ], + * the white space character. + * + * Generated from protobuf field optional string canonical_display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCanonicalDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->canonical_display_name = $var; + + return $this; + } + + /** + * Optional. Descriptive name for the `AdSpot`.This value is optional if + * `customSpot` is true, and cannot be set otherwise. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Descriptive name for the `AdSpot`.This value is optional if + * `customSpot` is true, and cannot be set otherwise. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. Whether this ad spot is a custom spot. This field is optional and + * defaults to false. Custom spots can be reused and targeted in the targeting + * picker. + * + * Generated from protobuf field optional bool custom_spot = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getCustomSpot() + { + return isset($this->custom_spot) ? $this->custom_spot : false; + } + + public function hasCustomSpot() + { + return isset($this->custom_spot); + } + + public function clearCustomSpot() + { + unset($this->custom_spot); + } + + /** + * Optional. Whether this ad spot is a custom spot. This field is optional and + * defaults to false. Custom spots can be reused and targeted in the targeting + * picker. + * + * Generated from protobuf field optional bool custom_spot = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setCustomSpot($var) + { + GPBUtil::checkBool($var); + $this->custom_spot = $var; + + return $this; + } + + /** + * Optional. Whether this ad spot is a flexible spot. This field is optional + * and defaults to false. Flexible spots are allowed to have no max number of + * ads. + * + * Generated from protobuf field optional bool flexible = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getFlexible() + { + return isset($this->flexible) ? $this->flexible : false; + } + + public function hasFlexible() + { + return isset($this->flexible); + } + + public function clearFlexible() + { + unset($this->flexible); + } + + /** + * Optional. Whether this ad spot is a flexible spot. This field is optional + * and defaults to false. Flexible spots are allowed to have no max number of + * ads. + * + * Generated from protobuf field optional bool flexible = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setFlexible($var) + { + GPBUtil::checkBool($var); + $this->flexible = $var; + + return $this; + } + + /** + * Optional. The maximum total duration for this AdSpot. This field is + * optional, defaults to 0, and supports precision to the nearest second. + * + * Generated from protobuf field optional .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxDuration() + { + return $this->max_duration; + } + + public function hasMaxDuration() + { + return isset($this->max_duration); + } + + public function clearMaxDuration() + { + unset($this->max_duration); + } + + /** + * Optional. The maximum total duration for this AdSpot. This field is + * optional, defaults to 0, and supports precision to the nearest second. + * + * Generated from protobuf field optional .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_duration = $var; + + return $this; + } + + /** + * Optional. The minimum allowed duration for ads in the AdSpot. This field is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration min_ad_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMinAdDuration() + { + return $this->min_ad_duration; + } + + public function hasMinAdDuration() + { + return isset($this->min_ad_duration); + } + + public function clearMinAdDuration() + { + unset($this->min_ad_duration); + } + + /** + * Optional. The minimum allowed duration for ads in the AdSpot. This field is + * optional and defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration min_ad_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMinAdDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->min_ad_duration = $var; + + return $this; + } + + /** + * Required. The maximum allowed duration for ads in the `AdSpot`. This field + * is required and must be greater than + * [min_ad_duration][google.ads.admanager.v1.AdSpot.min_ad_duration]. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_duration = 13 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxAdDuration() + { + return $this->max_ad_duration; + } + + public function hasMaxAdDuration() + { + return isset($this->max_ad_duration); + } + + public function clearMaxAdDuration() + { + unset($this->max_ad_duration); + } + + /** + * Required. The maximum allowed duration for ads in the `AdSpot`. This field + * is required and must be greater than + * [min_ad_duration][google.ads.admanager.v1.AdSpot.min_ad_duration]. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_duration = 13 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxAdDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_ad_duration = $var; + + return $this; + } + + /** + * Optional. The maximum number of ads allowed in the AdSpot. This field is + * optional and defaults to 0. A value of 0 means that there is no maximum for + * the number of ads in the ad spot. No max ads is only supported for ad spots + * that have flexible set to true. + * + * Generated from protobuf field optional int32 max_ads = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMaxAds() + { + return isset($this->max_ads) ? $this->max_ads : 0; + } + + public function hasMaxAds() + { + return isset($this->max_ads); + } + + public function clearMaxAds() + { + unset($this->max_ads); + } + + /** + * Optional. The maximum number of ads allowed in the AdSpot. This field is + * optional and defaults to 0. A value of 0 means that there is no maximum for + * the number of ads in the ad spot. No max ads is only supported for ad spots + * that have flexible set to true. + * + * Generated from protobuf field optional int32 max_ads = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMaxAds($var) + { + GPBUtil::checkInt32($var); + $this->max_ads = $var; + + return $this; + } + + /** + * Optional. The AdSpot TargetingType determines how this ad spot can be + * targeted. This field is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdSpotTargetingTypeEnum.AdSpotTargetingType targeting_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTargetingType() + { + return isset($this->targeting_type) ? $this->targeting_type : 0; + } + + public function hasTargetingType() + { + return isset($this->targeting_type); + } + + public function clearTargetingType() + { + unset($this->targeting_type); + } + + /** + * Optional. The AdSpot TargetingType determines how this ad spot can be + * targeted. This field is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdSpotTargetingTypeEnum.AdSpotTargetingType targeting_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTargetingType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdSpotTargetingTypeEnum\AdSpotTargetingType::class); + $this->targeting_type = $var; + + return $this; + } + + /** + * Optional. Whether backfill is blocked in this ad spot. This field is + * optional and defaults to false. + * + * Generated from protobuf field optional bool backfill_blocked = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getBackfillBlocked() + { + return isset($this->backfill_blocked) ? $this->backfill_blocked : false; + } + + public function hasBackfillBlocked() + { + return isset($this->backfill_blocked); + } + + public function clearBackfillBlocked() + { + unset($this->backfill_blocked); + } + + /** + * Optional. Whether backfill is blocked in this ad spot. This field is + * optional and defaults to false. + * + * Generated from protobuf field optional bool backfill_blocked = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setBackfillBlocked($var) + { + GPBUtil::checkBool($var); + $this->backfill_blocked = $var; + + return $this; + } + + /** + * Optional. The set of line item types that may appear in the ad spot. This + * field is optional and defaults to an empty set, which means that all types + * are allowed. Note, backfill reservation types are controlled by the + * `backfillBlocked` field. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemTypeEnum.LineItemType allowed_line_item_types = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAllowedLineItemTypes() + { + return $this->allowed_line_item_types; + } + + /** + * Optional. The set of line item types that may appear in the ad spot. This + * field is optional and defaults to an empty set, which means that all types + * are allowed. Note, backfill reservation types are controlled by the + * `backfillBlocked` field. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemTypeEnum.LineItemType allowed_line_item_types = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setAllowedLineItemTypes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\LineItemTypeEnum\LineItemType::class); + $this->allowed_line_item_types = $arr; + + return $this; + } + + /** + * Optional. Whether inventory sharing is blocked in this ad spot. This field + * is optional and defaults to false. + * + * Generated from protobuf field optional bool inventory_sharing_blocked = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInventorySharingBlocked() + { + return isset($this->inventory_sharing_blocked) ? $this->inventory_sharing_blocked : false; + } + + public function hasInventorySharingBlocked() + { + return isset($this->inventory_sharing_blocked); + } + + public function clearInventorySharingBlocked() + { + unset($this->inventory_sharing_blocked); + } + + /** + * Optional. Whether inventory sharing is blocked in this ad spot. This field + * is optional and defaults to false. + * + * Generated from protobuf field optional bool inventory_sharing_blocked = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInventorySharingBlocked($var) + { + GPBUtil::checkBool($var); + $this->inventory_sharing_blocked = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum.php new file mode 100644 index 000000000000..c5675a0fcc52 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdSpotTargetingTypeEnum + */ +class AdSpotTargetingTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotTargetingTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum/AdSpotTargetingType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum/AdSpotTargetingType.php new file mode 100644 index 000000000000..a54086b1b90d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdSpotTargetingTypeEnum/AdSpotTargetingType.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.AdSpotTargetingTypeEnum.AdSpotTargetingType + */ +class AdSpotTargetingType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_SPOT_TARGETING_TYPE_UNSPECIFIED = 0; + */ + const AD_SPOT_TARGETING_TYPE_UNSPECIFIED = 0; + /** + * Only line items targeting this ad spots explicitly may serve in it + * + * Generated from protobuf enum EXPLICITLY_TARGETED = 1; + */ + const EXPLICITLY_TARGETED = 1; + /** + * If house ads are an allowed reservation type, they may serve in the ad + * spot regardless of whether they explicitly target it. Ads of other + * reservation types (whose type is allowed in the ad spot), may serve in + * the ad spot only if explicitly targeted. + * + * Generated from protobuf enum EXPLICITLY_TARGETED_EXCEPT_HOUSE = 2; + */ + const EXPLICITLY_TARGETED_EXCEPT_HOUSE = 2; + /** + * Line items not targeting this ad spot explicitly may serve in it. + * + * Generated from protobuf enum NOT_REQUIRED = 3; + */ + const NOT_REQUIRED = 3; + + private static $valueToName = [ + self::AD_SPOT_TARGETING_TYPE_UNSPECIFIED => 'AD_SPOT_TARGETING_TYPE_UNSPECIFIED', + self::EXPLICITLY_TARGETED => 'EXPLICITLY_TARGETED', + self::EXPLICITLY_TARGETED_EXCEPT_HOUSE => 'EXPLICITLY_TARGETED_EXCEPT_HOUSE', + self::NOT_REQUIRED => 'NOT_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnit.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnit.php new file mode 100644 index 000000000000..fed45a305b1f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnit.php @@ -0,0 +1,1187 @@ +google.ads.admanager.v1.AdUnit + */ +class AdUnit extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: AdUnit ID. + * + * Generated from protobuf field int64 ad_unit_id = 15 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $ad_unit_id = 0; + /** + * Required. Immutable. The AdUnit's parent. Every ad unit has a parent except + * for the root ad unit, which is created by Google. Format: + * "networks/{network_code}/adUnits/{ad_unit_id}" + * + * Generated from protobuf field optional string parent_ad_unit = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $parent_ad_unit = null; + /** + * Output only. The path to this AdUnit in the ad unit hierarchy represented + * as a list from the root to this ad unit's parent. For root ad units, this + * list is empty. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent parent_path = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $parent_path; + /** + * Required. The display name of the ad unit. Its maximum length is 255 + * characters. + * + * Generated from protobuf field optional string display_name = 9 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. Immutable. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. This attribute can be set during ad unit + * creation. If it is not provided, it will be assigned by Google based on the + * ad unit ID. + * + * Generated from protobuf field optional string ad_unit_code = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ad_unit_code = null; + /** + * Output only. The status of this ad unit. It defaults to ACTIVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatus status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The target window directly applied to this AdUnit. + * If this field is not set, this AdUnit uses the target window specified in + * effectiveTargetWindow. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow applied_target_window = 44 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $applied_target_window = null; + /** + * Output only. Non-empty default. The target window of this AdUnit. This + * value is inherited from ancestor AdUnits and defaults to TOP if no AdUnit + * in the hierarchy specifies it. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow effective_target_window = 45 [(.google.api.field_behavior) = NON_EMPTY_DEFAULT, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $effective_target_window = null; + /** + * Optional. The resource names of Teams directly applied to this AdUnit. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $applied_teams; + /** + * Output only. The resource names of all Teams that this AdUnit is on as well + * as those inherited from parent AdUnits. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string teams = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + private $teams; + /** + * Optional. A description of the ad unit. The maximum length is 65,535 + * characters. + * + * Generated from protobuf field optional string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Optional. If this field is set to true, then the AdUnit will not be + * implicitly targeted when its parent is. Traffickers must explicitly + * target such an AdUnit or else no line items will serve to it. This + * feature is only available for Ad Manager 360 accounts. + * + * Generated from protobuf field optional bool explicitly_targeted = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $explicitly_targeted = null; + /** + * Output only. This field is set to true if the ad unit has any children. + * + * Generated from protobuf field optional bool has_children = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $has_children = null; + /** + * Output only. The time this AdUnit was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Optional. The sizes that can be served inside this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $ad_unit_sizes; + /** + * Optional. Determines what set top box video on demand channel this ad unit + * corresponds to in an external set top box ad campaign system. + * + * Generated from protobuf field optional string external_set_top_box_channel_id = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $external_set_top_box_channel_id = null; + /** + * Optional. The duration after which an Ad Unit will automatically refresh. + * This is only valid for ad units in mobile apps. If not set, the ad unit + * will not refresh. + * + * Generated from protobuf field optional .google.protobuf.Duration refresh_delay = 19 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $refresh_delay = null; + /** + * Optional. The set of labels applied directly to this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_labels; + /** + * Output only. Contains the set of labels applied directly to the ad unit as + * well as those inherited from the parent ad units. If a label has been + * negated, only the negated label is returned. This attribute is assigned by + * Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $effective_applied_labels; + /** + * Optional. The set of label frequency caps applied directly to this ad unit. + * There is a limit of 10 label frequency caps per ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap applied_label_frequency_caps = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_label_frequency_caps; + /** + * Output only. The label frequency caps applied directly to the ad unit as + * well as those inherited from parent ad units. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap effective_label_frequency_caps = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $effective_label_frequency_caps; + /** + * Optional. Non-empty default. The smart size mode for this ad unit. This + * attribute defaults to SmartSizeMode.NONE for fixed sizes. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeMode smart_size_mode = 25 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $smart_size_mode = null; + /** + * Optional. The value of AdSense enabled directly applied to this ad unit. If + * not specified this ad unit will inherit the value of + * effectiveAdsenseEnabled from its ancestors. + * + * Generated from protobuf field optional bool applied_adsense_enabled = 26 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $applied_adsense_enabled = null; + /** + * Output only. Specifies whether or not the AdUnit is enabled for serving ads + * from the AdSense content network. This attribute defaults to the ad unit's + * parent or ancestor's setting if one has been set. If no ancestor of the ad + * unit has set appliedAdsenseEnabled, the attribute is defaulted to true. + * + * Generated from protobuf field optional bool effective_adsense_enabled = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $effective_adsense_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * @type int|string $ad_unit_id + * Output only. Deprecated: AdUnit ID. + * @type string $parent_ad_unit + * Required. Immutable. The AdUnit's parent. Every ad unit has a parent except + * for the root ad unit, which is created by Google. Format: + * "networks/{network_code}/adUnits/{ad_unit_id}" + * @type \Google\Ads\AdManager\V1\AdUnitParent[] $parent_path + * Output only. The path to this AdUnit in the ad unit hierarchy represented + * as a list from the root to this ad unit's parent. For root ad units, this + * list is empty. + * @type string $display_name + * Required. The display name of the ad unit. Its maximum length is 255 + * characters. + * @type string $ad_unit_code + * Optional. Immutable. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. This attribute can be set during ad unit + * creation. If it is not provided, it will be assigned by Google based on the + * ad unit ID. + * @type int $status + * Output only. The status of this ad unit. It defaults to ACTIVE. + * @type int $applied_target_window + * Optional. The target window directly applied to this AdUnit. + * If this field is not set, this AdUnit uses the target window specified in + * effectiveTargetWindow. + * @type int $effective_target_window + * Output only. Non-empty default. The target window of this AdUnit. This + * value is inherited from ancestor AdUnits and defaults to TOP if no AdUnit + * in the hierarchy specifies it. + * @type string[] $applied_teams + * Optional. The resource names of Teams directly applied to this AdUnit. + * Format: "networks/{network_code}/teams/{team_id}" + * @type string[] $teams + * Output only. The resource names of all Teams that this AdUnit is on as well + * as those inherited from parent AdUnits. Format: + * "networks/{network_code}/teams/{team_id}" + * @type string $description + * Optional. A description of the ad unit. The maximum length is 65,535 + * characters. + * @type bool $explicitly_targeted + * Optional. If this field is set to true, then the AdUnit will not be + * implicitly targeted when its parent is. Traffickers must explicitly + * target such an AdUnit or else no line items will serve to it. This + * feature is only available for Ad Manager 360 accounts. + * @type bool $has_children + * Output only. This field is set to true if the ad unit has any children. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The time this AdUnit was last modified. + * @type \Google\Ads\AdManager\V1\AdUnitSize[] $ad_unit_sizes + * Optional. The sizes that can be served inside this ad unit. + * @type string $external_set_top_box_channel_id + * Optional. Determines what set top box video on demand channel this ad unit + * corresponds to in an external set top box ad campaign system. + * @type \Google\Protobuf\Duration $refresh_delay + * Optional. The duration after which an Ad Unit will automatically refresh. + * This is only valid for ad units in mobile apps. If not set, the ad unit + * will not refresh. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $applied_labels + * Optional. The set of labels applied directly to this ad unit. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $effective_applied_labels + * Output only. Contains the set of labels applied directly to the ad unit as + * well as those inherited from the parent ad units. If a label has been + * negated, only the negated label is returned. This attribute is assigned by + * Google. + * @type \Google\Ads\AdManager\V1\LabelFrequencyCap[] $applied_label_frequency_caps + * Optional. The set of label frequency caps applied directly to this ad unit. + * There is a limit of 10 label frequency caps per ad unit. + * @type \Google\Ads\AdManager\V1\LabelFrequencyCap[] $effective_label_frequency_caps + * Output only. The label frequency caps applied directly to the ad unit as + * well as those inherited from parent ad units. + * @type int $smart_size_mode + * Optional. Non-empty default. The smart size mode for this ad unit. This + * attribute defaults to SmartSizeMode.NONE for fixed sizes. + * @type bool $applied_adsense_enabled + * Optional. The value of AdSense enabled directly applied to this ad unit. If + * not specified this ad unit will inherit the value of + * effectiveAdsenseEnabled from its ancestors. + * @type bool $effective_adsense_enabled + * Output only. Specifies whether or not the AdUnit is enabled for serving ads + * from the AdSense content network. This attribute defaults to the ad unit's + * parent or ancestor's setting if one has been set. If no ancestor of the ad + * unit has set appliedAdsenseEnabled, the attribute is defaulted to true. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: AdUnit ID. + * + * Generated from protobuf field int64 ad_unit_id = 15 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getAdUnitId() + { + if ($this->ad_unit_id !== 0) { + @trigger_error('ad_unit_id is deprecated.', E_USER_DEPRECATED); + } + return $this->ad_unit_id; + } + + /** + * Output only. Deprecated: AdUnit ID. + * + * Generated from protobuf field int64 ad_unit_id = 15 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setAdUnitId($var) + { + @trigger_error('ad_unit_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->ad_unit_id = $var; + + return $this; + } + + /** + * Required. Immutable. The AdUnit's parent. Every ad unit has a parent except + * for the root ad unit, which is created by Google. Format: + * "networks/{network_code}/adUnits/{ad_unit_id}" + * + * Generated from protobuf field optional string parent_ad_unit = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getParentAdUnit() + { + return isset($this->parent_ad_unit) ? $this->parent_ad_unit : ''; + } + + public function hasParentAdUnit() + { + return isset($this->parent_ad_unit); + } + + public function clearParentAdUnit() + { + unset($this->parent_ad_unit); + } + + /** + * Required. Immutable. The AdUnit's parent. Every ad unit has a parent except + * for the root ad unit, which is created by Google. Format: + * "networks/{network_code}/adUnits/{ad_unit_id}" + * + * Generated from protobuf field optional string parent_ad_unit = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParentAdUnit($var) + { + GPBUtil::checkString($var, True); + $this->parent_ad_unit = $var; + + return $this; + } + + /** + * Output only. The path to this AdUnit in the ad unit hierarchy represented + * as a list from the root to this ad unit's parent. For root ad units, this + * list is empty. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent parent_path = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitParent> + */ + public function getParentPath() + { + return $this->parent_path; + } + + /** + * Output only. The path to this AdUnit in the ad unit hierarchy represented + * as a list from the root to this ad unit's parent. For root ad units, this + * list is empty. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent parent_path = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AdUnitParent[] $var + * @return $this + */ + public function setParentPath($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitParent::class); + $this->parent_path = $arr; + + return $this; + } + + /** + * Required. The display name of the ad unit. Its maximum length is 255 + * characters. + * + * Generated from protobuf field optional string display_name = 9 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the ad unit. Its maximum length is 255 + * characters. + * + * Generated from protobuf field optional string display_name = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. Immutable. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. This attribute can be set during ad unit + * creation. If it is not provided, it will be assigned by Google based on the + * ad unit ID. + * + * Generated from protobuf field optional string ad_unit_code = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdUnitCode() + { + return isset($this->ad_unit_code) ? $this->ad_unit_code : ''; + } + + public function hasAdUnitCode() + { + return isset($this->ad_unit_code); + } + + public function clearAdUnitCode() + { + unset($this->ad_unit_code); + } + + /** + * Optional. Immutable. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. This attribute can be set during ad unit + * creation. If it is not provided, it will be assigned by Google based on the + * ad unit ID. + * + * Generated from protobuf field optional string ad_unit_code = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAdUnitCode($var) + { + GPBUtil::checkString($var, True); + $this->ad_unit_code = $var; + + return $this; + } + + /** + * Output only. The status of this ad unit. It defaults to ACTIVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatus status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of this ad unit. It defaults to ACTIVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatus status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdUnitStatusEnum\AdUnitStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The target window directly applied to this AdUnit. + * If this field is not set, this AdUnit uses the target window specified in + * effectiveTargetWindow. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow applied_target_window = 44 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getAppliedTargetWindow() + { + return isset($this->applied_target_window) ? $this->applied_target_window : 0; + } + + public function hasAppliedTargetWindow() + { + return isset($this->applied_target_window); + } + + public function clearAppliedTargetWindow() + { + unset($this->applied_target_window); + } + + /** + * Optional. The target window directly applied to this AdUnit. + * If this field is not set, this AdUnit uses the target window specified in + * effectiveTargetWindow. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow applied_target_window = 44 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setAppliedTargetWindow($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetWindowEnum\TargetWindow::class); + $this->applied_target_window = $var; + + return $this; + } + + /** + * Output only. Non-empty default. The target window of this AdUnit. This + * value is inherited from ancestor AdUnits and defaults to TOP if no AdUnit + * in the hierarchy specifies it. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow effective_target_window = 45 [(.google.api.field_behavior) = NON_EMPTY_DEFAULT, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getEffectiveTargetWindow() + { + return isset($this->effective_target_window) ? $this->effective_target_window : 0; + } + + public function hasEffectiveTargetWindow() + { + return isset($this->effective_target_window); + } + + public function clearEffectiveTargetWindow() + { + unset($this->effective_target_window); + } + + /** + * Output only. Non-empty default. The target window of this AdUnit. This + * value is inherited from ancestor AdUnits and defaults to TOP if no AdUnit + * in the hierarchy specifies it. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow effective_target_window = 45 [(.google.api.field_behavior) = NON_EMPTY_DEFAULT, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setEffectiveTargetWindow($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetWindowEnum\TargetWindow::class); + $this->effective_target_window = $var; + + return $this; + } + + /** + * Optional. The resource names of Teams directly applied to this AdUnit. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAppliedTeams() + { + return $this->applied_teams; + } + + /** + * Optional. The resource names of Teams directly applied to this AdUnit. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAppliedTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->applied_teams = $arr; + + return $this; + } + + /** + * Output only. The resource names of all Teams that this AdUnit is on as well + * as those inherited from parent AdUnits. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string teams = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTeams() + { + return $this->teams; + } + + /** + * Output only. The resource names of all Teams that this AdUnit is on as well + * as those inherited from parent AdUnits. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string teams = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->teams = $arr; + + return $this; + } + + /** + * Optional. A description of the ad unit. The maximum length is 65,535 + * characters. + * + * Generated from protobuf field optional string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. A description of the ad unit. The maximum length is 65,535 + * characters. + * + * Generated from protobuf field optional string description = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Optional. If this field is set to true, then the AdUnit will not be + * implicitly targeted when its parent is. Traffickers must explicitly + * target such an AdUnit or else no line items will serve to it. This + * feature is only available for Ad Manager 360 accounts. + * + * Generated from protobuf field optional bool explicitly_targeted = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getExplicitlyTargeted() + { + return isset($this->explicitly_targeted) ? $this->explicitly_targeted : false; + } + + public function hasExplicitlyTargeted() + { + return isset($this->explicitly_targeted); + } + + public function clearExplicitlyTargeted() + { + unset($this->explicitly_targeted); + } + + /** + * Optional. If this field is set to true, then the AdUnit will not be + * implicitly targeted when its parent is. Traffickers must explicitly + * target such an AdUnit or else no line items will serve to it. This + * feature is only available for Ad Manager 360 accounts. + * + * Generated from protobuf field optional bool explicitly_targeted = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setExplicitlyTargeted($var) + { + GPBUtil::checkBool($var); + $this->explicitly_targeted = $var; + + return $this; + } + + /** + * Output only. This field is set to true if the ad unit has any children. + * + * Generated from protobuf field optional bool has_children = 7 [(.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. This field is set to true if the ad unit has any children. + * + * Generated from protobuf field optional bool has_children = 7 [(.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 time this AdUnit was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The time this AdUnit was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Optional. The sizes that can be served inside this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitSize> + */ + public function getAdUnitSizes() + { + return $this->ad_unit_sizes; + } + + /** + * Optional. The sizes that can be served inside this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AdUnitSize[] $var + * @return $this + */ + public function setAdUnitSizes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitSize::class); + $this->ad_unit_sizes = $arr; + + return $this; + } + + /** + * Optional. Determines what set top box video on demand channel this ad unit + * corresponds to in an external set top box ad campaign system. + * + * Generated from protobuf field optional string external_set_top_box_channel_id = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return string + * @deprecated + */ + public function getExternalSetTopBoxChannelId() + { + if (isset($this->external_set_top_box_channel_id)) { + @trigger_error('external_set_top_box_channel_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->external_set_top_box_channel_id) ? $this->external_set_top_box_channel_id : ''; + } + + public function hasExternalSetTopBoxChannelId() + { + if (isset($this->external_set_top_box_channel_id)) { + @trigger_error('external_set_top_box_channel_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->external_set_top_box_channel_id); + } + + public function clearExternalSetTopBoxChannelId() + { + @trigger_error('external_set_top_box_channel_id is deprecated.', E_USER_DEPRECATED); + unset($this->external_set_top_box_channel_id); + } + + /** + * Optional. Determines what set top box video on demand channel this ad unit + * corresponds to in an external set top box ad campaign system. + * + * Generated from protobuf field optional string external_set_top_box_channel_id = 17 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + * @deprecated + */ + public function setExternalSetTopBoxChannelId($var) + { + @trigger_error('external_set_top_box_channel_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkString($var, True); + $this->external_set_top_box_channel_id = $var; + + return $this; + } + + /** + * Optional. The duration after which an Ad Unit will automatically refresh. + * This is only valid for ad units in mobile apps. If not set, the ad unit + * will not refresh. + * + * Generated from protobuf field optional .google.protobuf.Duration refresh_delay = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getRefreshDelay() + { + return $this->refresh_delay; + } + + public function hasRefreshDelay() + { + return isset($this->refresh_delay); + } + + public function clearRefreshDelay() + { + unset($this->refresh_delay); + } + + /** + * Optional. The duration after which an Ad Unit will automatically refresh. + * This is only valid for ad units in mobile apps. If not set, the ad unit + * will not refresh. + * + * Generated from protobuf field optional .google.protobuf.Duration refresh_delay = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setRefreshDelay($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->refresh_delay = $var; + + return $this; + } + + /** + * Optional. The set of labels applied directly to this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getAppliedLabels() + { + return $this->applied_labels; + } + + /** + * Optional. The set of labels applied directly to this ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->applied_labels = $arr; + + return $this; + } + + /** + * Output only. Contains the set of labels applied directly to the ad unit as + * well as those inherited from the parent ad units. If a label has been + * negated, only the negated label is returned. This attribute is assigned by + * Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getEffectiveAppliedLabels() + { + return $this->effective_applied_labels; + } + + /** + * Output only. Contains the set of labels applied directly to the ad unit as + * well as those inherited from the parent ad units. If a label has been + * negated, only the negated label is returned. This attribute is assigned by + * Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setEffectiveAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->effective_applied_labels = $arr; + + return $this; + } + + /** + * Optional. The set of label frequency caps applied directly to this ad unit. + * There is a limit of 10 label frequency caps per ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap applied_label_frequency_caps = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\LabelFrequencyCap> + */ + public function getAppliedLabelFrequencyCaps() + { + return $this->applied_label_frequency_caps; + } + + /** + * Optional. The set of label frequency caps applied directly to this ad unit. + * There is a limit of 10 label frequency caps per ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap applied_label_frequency_caps = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\LabelFrequencyCap[] $var + * @return $this + */ + public function setAppliedLabelFrequencyCaps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LabelFrequencyCap::class); + $this->applied_label_frequency_caps = $arr; + + return $this; + } + + /** + * Output only. The label frequency caps applied directly to the ad unit as + * well as those inherited from parent ad units. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap effective_label_frequency_caps = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\LabelFrequencyCap> + */ + public function getEffectiveLabelFrequencyCaps() + { + return $this->effective_label_frequency_caps; + } + + /** + * Output only. The label frequency caps applied directly to the ad unit as + * well as those inherited from parent ad units. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelFrequencyCap effective_label_frequency_caps = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\LabelFrequencyCap[] $var + * @return $this + */ + public function setEffectiveLabelFrequencyCaps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LabelFrequencyCap::class); + $this->effective_label_frequency_caps = $arr; + + return $this; + } + + /** + * Optional. Non-empty default. The smart size mode for this ad unit. This + * attribute defaults to SmartSizeMode.NONE for fixed sizes. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeMode smart_size_mode = 25 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getSmartSizeMode() + { + return isset($this->smart_size_mode) ? $this->smart_size_mode : 0; + } + + public function hasSmartSizeMode() + { + return isset($this->smart_size_mode); + } + + public function clearSmartSizeMode() + { + unset($this->smart_size_mode); + } + + /** + * Optional. Non-empty default. The smart size mode for this ad unit. This + * attribute defaults to SmartSizeMode.NONE for fixed sizes. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeMode smart_size_mode = 25 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setSmartSizeMode($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SmartSizeModeEnum\SmartSizeMode::class); + $this->smart_size_mode = $var; + + return $this; + } + + /** + * Optional. The value of AdSense enabled directly applied to this ad unit. If + * not specified this ad unit will inherit the value of + * effectiveAdsenseEnabled from its ancestors. + * + * Generated from protobuf field optional bool applied_adsense_enabled = 26 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAppliedAdsenseEnabled() + { + return isset($this->applied_adsense_enabled) ? $this->applied_adsense_enabled : false; + } + + public function hasAppliedAdsenseEnabled() + { + return isset($this->applied_adsense_enabled); + } + + public function clearAppliedAdsenseEnabled() + { + unset($this->applied_adsense_enabled); + } + + /** + * Optional. The value of AdSense enabled directly applied to this ad unit. If + * not specified this ad unit will inherit the value of + * effectiveAdsenseEnabled from its ancestors. + * + * Generated from protobuf field optional bool applied_adsense_enabled = 26 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAppliedAdsenseEnabled($var) + { + GPBUtil::checkBool($var); + $this->applied_adsense_enabled = $var; + + return $this; + } + + /** + * Output only. Specifies whether or not the AdUnit is enabled for serving ads + * from the AdSense content network. This attribute defaults to the ad unit's + * parent or ancestor's setting if one has been set. If no ancestor of the ad + * unit has set appliedAdsenseEnabled, the attribute is defaulted to true. + * + * Generated from protobuf field optional bool effective_adsense_enabled = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getEffectiveAdsenseEnabled() + { + return isset($this->effective_adsense_enabled) ? $this->effective_adsense_enabled : false; + } + + public function hasEffectiveAdsenseEnabled() + { + return isset($this->effective_adsense_enabled); + } + + public function clearEffectiveAdsenseEnabled() + { + unset($this->effective_adsense_enabled); + } + + /** + * Output only. Specifies whether or not the AdUnit is enabled for serving ads + * from the AdSense content network. This attribute defaults to the ad unit's + * parent or ancestor's setting if one has been set. If no ancestor of the ad + * unit has set appliedAdsenseEnabled, the attribute is defaulted to true. + * + * Generated from protobuf field optional bool effective_adsense_enabled = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setEffectiveAdsenseEnabled($var) + { + GPBUtil::checkBool($var); + $this->effective_adsense_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitParent.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitParent.php new file mode 100644 index 000000000000..00284023da35 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitParent.php @@ -0,0 +1,173 @@ +google.ads.admanager.v1.AdUnitParent + */ +class AdUnitParent extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The parent of the current AdUnit + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $parent_ad_unit = null; + /** + * Output only. The display name of the parent AdUnit. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. + * + * Generated from protobuf field optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $ad_unit_code = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent_ad_unit + * Output only. The parent of the current AdUnit + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * @type string $display_name + * Output only. The display name of the parent AdUnit. + * @type string $ad_unit_code + * Output only. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitMessages::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The parent of the current AdUnit + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getParentAdUnit() + { + return isset($this->parent_ad_unit) ? $this->parent_ad_unit : ''; + } + + public function hasParentAdUnit() + { + return isset($this->parent_ad_unit); + } + + public function clearParentAdUnit() + { + unset($this->parent_ad_unit); + } + + /** + * Output only. The parent of the current AdUnit + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParentAdUnit($var) + { + GPBUtil::checkString($var, True); + $this->parent_ad_unit = $var; + + return $this; + } + + /** + * Output only. The display name of the parent AdUnit. + * + * Generated from protobuf field optional string display_name = 2 [(.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 parent AdUnit. + * + * Generated from protobuf field optional string display_name = 2 [(.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. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. + * + * Generated from protobuf field optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAdUnitCode() + { + return isset($this->ad_unit_code) ? $this->ad_unit_code : ''; + } + + public function hasAdUnitCode() + { + return isset($this->ad_unit_code); + } + + public function clearAdUnitCode() + { + unset($this->ad_unit_code); + } + + /** + * Output only. A string used to uniquely identify the ad unit for the + * purposes of serving the ad. + * + * Generated from protobuf field optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAdUnitCode($var) + { + GPBUtil::checkString($var, True); + $this->ad_unit_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitSize.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitSize.php new file mode 100644 index 000000000000..a00cbdd461ba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitSize.php @@ -0,0 +1,163 @@ +google.ads.admanager.v1.AdUnitSize + */ +class AdUnitSize extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Size of the AdUnit. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $size = null; + /** + * Required. The EnvironmentType of the AdUnit + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $environment_type = null; + /** + * The companions for this ad unit size. Companions are only valid if the + * environment is + * [VIDEO_PLAYER][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size companions = 3; + */ + private $companions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Size $size + * Required. The Size of the AdUnit. + * @type int $environment_type + * Required. The EnvironmentType of the AdUnit + * @type \Google\Ads\AdManager\V1\Size[] $companions + * The companions for this ad unit size. Companions are only valid if the + * environment is + * [VIDEO_PLAYER][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Size of the AdUnit. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Size|null + */ + public function getSize() + { + return $this->size; + } + + public function hasSize() + { + return isset($this->size); + } + + public function clearSize() + { + unset($this->size); + } + + /** + * Required. The Size of the AdUnit. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Size $var + * @return $this + */ + public function setSize($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Size::class); + $this->size = $var; + + return $this; + } + + /** + * Required. The EnvironmentType of the AdUnit + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getEnvironmentType() + { + return isset($this->environment_type) ? $this->environment_type : 0; + } + + public function hasEnvironmentType() + { + return isset($this->environment_type); + } + + public function clearEnvironmentType() + { + unset($this->environment_type); + } + + /** + * Required. The EnvironmentType of the AdUnit + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setEnvironmentType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\EnvironmentTypeEnum\EnvironmentType::class); + $this->environment_type = $var; + + return $this; + } + + /** + * The companions for this ad unit size. Companions are only valid if the + * environment is + * [VIDEO_PLAYER][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size companions = 3; + * @return RepeatedField<\Google\Ads\AdManager\V1\Size> + */ + public function getCompanions() + { + return $this->companions; + } + + /** + * The companions for this ad unit size. Companions are only valid if the + * environment is + * [VIDEO_PLAYER][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size companions = 3; + * @param \Google\Ads\AdManager\V1\Size[] $var + * @return $this + */ + public function setCompanions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Size::class); + $this->companions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum.php new file mode 100644 index 000000000000..93b2cc139b86 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.AdUnitStatusEnum + */ +class AdUnitStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum/AdUnitStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum/AdUnitStatus.php new file mode 100644 index 000000000000..b0ca8607fab2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitStatusEnum/AdUnitStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatus + */ +class AdUnitStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum AD_UNIT_STATUS_UNSPECIFIED = 0; + */ + const AD_UNIT_STATUS_UNSPECIFIED = 0; + /** + * The ad unit is active, available for targeting, and serving. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The ad unit will be visible in the UI, but ignored by serving. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + /** + * The ad unit will be hidden in the UI and ignored by serving. + * + * Generated from protobuf enum ARCHIVED = 3; + */ + const ARCHIVED = 3; + + private static $valueToName = [ + self::AD_UNIT_STATUS_UNSPECIFIED => 'AD_UNIT_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + self::ARCHIVED => 'ARCHIVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitTargeting.php new file mode 100644 index 000000000000..74e2a34312ed --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AdUnitTargeting.php @@ -0,0 +1,121 @@ +google.ads.admanager.v1.AdUnitTargeting + */ +class AdUnitTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Whether this ad unit's children should be targeted/excluded as well. + * + * Generated from protobuf field optional bool include_descendants = 1; + */ + protected $include_descendants = null; + /** + * Optional. The resource name of this ad unit. + * + * Generated from protobuf field optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $ad_unit = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $include_descendants + * Whether this ad unit's children should be targeted/excluded as well. + * @type string $ad_unit + * Optional. The resource name of this ad unit. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Whether this ad unit's children should be targeted/excluded as well. + * + * Generated from protobuf field optional bool include_descendants = 1; + * @return bool + */ + public function getIncludeDescendants() + { + return isset($this->include_descendants) ? $this->include_descendants : false; + } + + public function hasIncludeDescendants() + { + return isset($this->include_descendants); + } + + public function clearIncludeDescendants() + { + unset($this->include_descendants); + } + + /** + * Whether this ad unit's children should be targeted/excluded as well. + * + * Generated from protobuf field optional bool include_descendants = 1; + * @param bool $var + * @return $this + */ + public function setIncludeDescendants($var) + { + GPBUtil::checkBool($var); + $this->include_descendants = $var; + + return $this; + } + + /** + * Optional. The resource name of this ad unit. + * + * Generated from protobuf field optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getAdUnit() + { + return isset($this->ad_unit) ? $this->ad_unit : ''; + } + + public function hasAdUnit() + { + return isset($this->ad_unit); + } + + public function clearAdUnit() + { + unset($this->ad_unit); + } + + /** + * Optional. The resource name of this ad unit. + * + * Generated from protobuf field optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAdUnit($var) + { + GPBUtil::checkString($var, True); + $this->ad_unit = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Application.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Application.php new file mode 100644 index 000000000000..baba5b08c5ea --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Application.php @@ -0,0 +1,614 @@ +google.ads.admanager.v1.Application + */ +class Application extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Application`. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The display name of the application. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. The app store ID of the app to claim. + * + * Generated from protobuf field optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $app_store_id = null; + /** + * Optional. The app stores the application belongs to. This attribute is + * mutable to allow for third party app store linking. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $app_stores; + /** + * Output only. The archival status of the application. + * When true, an application cannot be targeted and will not serve ads, + * regardless of its `status`. + * + * Generated from protobuf field optional bool archived = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $archived = null; + /** + * Output only. The name of the application on the app store. + * + * Generated from protobuf field optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $app_store_display_name = null; + /** + * Output only. The application code used to identify the app in the SDK. + * Note that the UI refers to this as "App ID". + * + * Generated from protobuf field optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $application_code = null; + /** + * Output only. The name of the developer of the application. + * + * Generated from protobuf field optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $developer = null; + /** + * Output only. The platform the application runs on. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $platform = null; + /** + * Output only. Whether the application is free on the app store it belongs + * to. + * + * Generated from protobuf field optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $free = null; + /** + * Output only. The download URL of the application on the app store it + * belongs to. + * + * Generated from protobuf field optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $download_url = null; + /** + * Output only. The approval status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $approval_status = null; + /** + * Output only. The webview claiming status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $webview_claiming_status = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Application`. + * Format: `networks/{network_code}/applications/{application_id}` + * @type string $display_name + * Required. The display name of the application. + * @type string $app_store_id + * Optional. The app store ID of the app to claim. + * @type int[] $app_stores + * Optional. The app stores the application belongs to. This attribute is + * mutable to allow for third party app store linking. + * @type bool $archived + * Output only. The archival status of the application. + * When true, an application cannot be targeted and will not serve ads, + * regardless of its `status`. + * @type string $app_store_display_name + * Output only. The name of the application on the app store. + * @type string $application_code + * Output only. The application code used to identify the app in the SDK. + * Note that the UI refers to this as "App ID". + * @type string $developer + * Output only. The name of the developer of the application. + * @type int $platform + * Output only. The platform the application runs on. + * @type bool $free + * Output only. Whether the application is free on the app store it belongs + * to. + * @type string $download_url + * Output only. The download URL of the application on the app store it + * belongs to. + * @type int $approval_status + * Output only. The approval status for the application. + * @type int $webview_claiming_status + * Output only. The webview claiming status for the application. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Application`. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Application`. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The display name of the application. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the application. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. The app store ID of the app to claim. + * + * Generated from protobuf field optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAppStoreId() + { + return isset($this->app_store_id) ? $this->app_store_id : ''; + } + + public function hasAppStoreId() + { + return isset($this->app_store_id); + } + + public function clearAppStoreId() + { + unset($this->app_store_id); + } + + /** + * Optional. The app store ID of the app to claim. + * + * Generated from protobuf field optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAppStoreId($var) + { + GPBUtil::checkString($var, True); + $this->app_store_id = $var; + + return $this; + } + + /** + * Optional. The app stores the application belongs to. This attribute is + * mutable to allow for third party app store linking. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAppStores() + { + return $this->app_stores; + } + + /** + * Optional. The app stores the application belongs to. This attribute is + * mutable to allow for third party app store linking. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setAppStores($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\ApplicationStoreEnum\ApplicationStore::class); + $this->app_stores = $arr; + + return $this; + } + + /** + * Output only. The archival status of the application. + * When true, an application cannot be targeted and will not serve ads, + * regardless of its `status`. + * + * Generated from protobuf field optional bool archived = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getArchived() + { + return isset($this->archived) ? $this->archived : false; + } + + public function hasArchived() + { + return isset($this->archived); + } + + public function clearArchived() + { + unset($this->archived); + } + + /** + * Output only. The archival status of the application. + * When true, an application cannot be targeted and will not serve ads, + * regardless of its `status`. + * + * Generated from protobuf field optional bool archived = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setArchived($var) + { + GPBUtil::checkBool($var); + $this->archived = $var; + + return $this; + } + + /** + * Output only. The name of the application on the app store. + * + * Generated from protobuf field optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAppStoreDisplayName() + { + return isset($this->app_store_display_name) ? $this->app_store_display_name : ''; + } + + public function hasAppStoreDisplayName() + { + return isset($this->app_store_display_name); + } + + public function clearAppStoreDisplayName() + { + unset($this->app_store_display_name); + } + + /** + * Output only. The name of the application on the app store. + * + * Generated from protobuf field optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAppStoreDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->app_store_display_name = $var; + + return $this; + } + + /** + * Output only. The application code used to identify the app in the SDK. + * Note that the UI refers to this as "App ID". + * + * Generated from protobuf field optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getApplicationCode() + { + return isset($this->application_code) ? $this->application_code : ''; + } + + public function hasApplicationCode() + { + return isset($this->application_code); + } + + public function clearApplicationCode() + { + unset($this->application_code); + } + + /** + * Output only. The application code used to identify the app in the SDK. + * Note that the UI refers to this as "App ID". + * + * Generated from protobuf field optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setApplicationCode($var) + { + GPBUtil::checkString($var, True); + $this->application_code = $var; + + return $this; + } + + /** + * Output only. The name of the developer of the application. + * + * Generated from protobuf field optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDeveloper() + { + return isset($this->developer) ? $this->developer : ''; + } + + public function hasDeveloper() + { + return isset($this->developer); + } + + public function clearDeveloper() + { + unset($this->developer); + } + + /** + * Output only. The name of the developer of the application. + * + * Generated from protobuf field optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setDeveloper($var) + { + GPBUtil::checkString($var, True); + $this->developer = $var; + + return $this; + } + + /** + * Output only. The platform the application runs on. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getPlatform() + { + return isset($this->platform) ? $this->platform : 0; + } + + public function hasPlatform() + { + return isset($this->platform); + } + + public function clearPlatform() + { + unset($this->platform); + } + + /** + * Output only. The platform the application runs on. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setPlatform($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ApplicationPlatformEnum\ApplicationPlatform::class); + $this->platform = $var; + + return $this; + } + + /** + * Output only. Whether the application is free on the app store it belongs + * to. + * + * Generated from protobuf field optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getFree() + { + return isset($this->free) ? $this->free : false; + } + + public function hasFree() + { + return isset($this->free); + } + + public function clearFree() + { + unset($this->free); + } + + /** + * Output only. Whether the application is free on the app store it belongs + * to. + * + * Generated from protobuf field optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setFree($var) + { + GPBUtil::checkBool($var); + $this->free = $var; + + return $this; + } + + /** + * Output only. The download URL of the application on the app store it + * belongs to. + * + * Generated from protobuf field optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDownloadUrl() + { + return isset($this->download_url) ? $this->download_url : ''; + } + + public function hasDownloadUrl() + { + return isset($this->download_url); + } + + public function clearDownloadUrl() + { + unset($this->download_url); + } + + /** + * Output only. The download URL of the application on the app store it + * belongs to. + * + * Generated from protobuf field optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setDownloadUrl($var) + { + GPBUtil::checkString($var, True); + $this->download_url = $var; + + return $this; + } + + /** + * Output only. The approval status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getApprovalStatus() + { + return isset($this->approval_status) ? $this->approval_status : 0; + } + + public function hasApprovalStatus() + { + return isset($this->approval_status); + } + + public function clearApprovalStatus() + { + unset($this->approval_status); + } + + /** + * Output only. The approval status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setApprovalStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ApplicationApprovalStatusEnum\ApplicationApprovalStatus::class); + $this->approval_status = $var; + + return $this; + } + + /** + * Output only. The webview claiming status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getWebviewClaimingStatus() + { + return isset($this->webview_claiming_status) ? $this->webview_claiming_status : 0; + } + + public function hasWebviewClaimingStatus() + { + return isset($this->webview_claiming_status); + } + + public function clearWebviewClaimingStatus() + { + unset($this->webview_claiming_status); + } + + /** + * Output only. The webview claiming status for the application. + * + * Generated from protobuf field optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setWebviewClaimingStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\WebviewClaimingStatusEnum\WebviewClaimingStatus::class); + $this->webview_claiming_status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum.php new file mode 100644 index 000000000000..4b2f19034e9c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ApplicationApprovalStatusEnum + */ +class ApplicationApprovalStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum/ApplicationApprovalStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum/ApplicationApprovalStatus.php new file mode 100644 index 000000000000..22d68acfd21b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationApprovalStatusEnum/ApplicationApprovalStatus.php @@ -0,0 +1,83 @@ +google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus + */ +class ApplicationApprovalStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum APPLICATION_APPROVAL_STATUS_UNSPECIFIED = 0; + */ + const APPLICATION_APPROVAL_STATUS_UNSPECIFIED = 0; + /** + * The application is disapproved but has a pending review status, signaling + * an appeal. + * + * Generated from protobuf enum APPEALING = 1; + */ + const APPEALING = 1; + /** + * The application can serve ads. + * + * Generated from protobuf enum APPROVED = 2; + */ + const APPROVED = 2; + /** + * The application failed approval checks and it cannot serve any ads. + * + * Generated from protobuf enum DISAPPROVED = 3; + */ + const DISAPPROVED = 3; + /** + * The application is not yet ready for review. + * + * Generated from protobuf enum DRAFT = 4; + */ + const DRAFT = 4; + /** + * The application has not yet been reviewed. + * + * Generated from protobuf enum UNCHECKED = 5; + */ + const UNCHECKED = 5; + + private static $valueToName = [ + self::APPLICATION_APPROVAL_STATUS_UNSPECIFIED => 'APPLICATION_APPROVAL_STATUS_UNSPECIFIED', + self::APPEALING => 'APPEALING', + self::APPROVED => 'APPROVED', + self::DISAPPROVED => 'DISAPPROVED', + self::DRAFT => 'DRAFT', + self::UNCHECKED => 'UNCHECKED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum.php new file mode 100644 index 000000000000..f0441857d443 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ApplicationPlatformEnum + */ +class ApplicationPlatformEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum/ApplicationPlatform.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum/ApplicationPlatform.php new file mode 100644 index 000000000000..f68176cc2414 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationPlatformEnum/ApplicationPlatform.php @@ -0,0 +1,111 @@ +google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform + */ +class ApplicationPlatform +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum APPLICATION_PLATFORM_UNSPECIFIED = 0; + */ + const APPLICATION_PLATFORM_UNSPECIFIED = 0; + /** + * Platform for apps with platforms we don't support yet or don't have a + * representation for. + * + * Generated from protobuf enum UNSUPPORTED = 14; + */ + const UNSUPPORTED = 14; + /** + * Platform for Amazon Fire TV compatible apps. + * + * Generated from protobuf enum AMAZON_TV = 6; + */ + const AMAZON_TV = 6; + /** + * Platform for Android compatible apps. + * + * Generated from protobuf enum ANDROID = 1; + */ + const ANDROID = 1; + /** + * Platform for IOS compatible apps. + * + * Generated from protobuf enum IOS = 2; + */ + const IOS = 2; + /** + * Platform for LG TV compatible apps. + * + * Generated from protobuf enum LG_TV = 12; + */ + const LG_TV = 12; + /** + * Platform for Playstation compatible apps. + * + * Generated from protobuf enum PLAYSTATION = 7; + */ + const PLAYSTATION = 7; + /** + * Platform for Roku compatible apps. + * + * Generated from protobuf enum ROKU = 5; + */ + const ROKU = 5; + /** + * Platform for Samsung TV compatible apps. + * + * Generated from protobuf enum SAMSUNG_TV = 10; + */ + const SAMSUNG_TV = 10; + /** + * Platform for Xbox compatible apps. + * + * Generated from protobuf enum XBOX = 9; + */ + const XBOX = 9; + + private static $valueToName = [ + self::APPLICATION_PLATFORM_UNSPECIFIED => 'APPLICATION_PLATFORM_UNSPECIFIED', + self::UNSUPPORTED => 'UNSUPPORTED', + self::AMAZON_TV => 'AMAZON_TV', + self::ANDROID => 'ANDROID', + self::IOS => 'IOS', + self::LG_TV => 'LG_TV', + self::PLAYSTATION => 'PLAYSTATION', + self::ROKU => 'ROKU', + self::SAMSUNG_TV => 'SAMSUNG_TV', + self::XBOX => 'XBOX', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum.php new file mode 100644 index 000000000000..ca1474fe264f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ApplicationStoreEnum + */ +class ApplicationStoreEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum/ApplicationStore.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum/ApplicationStore.php new file mode 100644 index 000000000000..87a5d0119fe0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ApplicationStoreEnum/ApplicationStore.php @@ -0,0 +1,138 @@ +google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore + */ +class ApplicationStore +{ + /** + * Not specified value. + * + * Generated from protobuf enum APPLICATION_STORE_UNSPECIFIED = 0; + */ + const APPLICATION_STORE_UNSPECIFIED = 0; + /** + * Apple App Store (iTunes). + * + * Generated from protobuf enum APPLE_APP_STORE = 1; + */ + const APPLE_APP_STORE = 1; + /** + * Google Play (ex. Google Market). + * + * Generated from protobuf enum GOOGLE_PLAY_STORE = 2; + */ + const GOOGLE_PLAY_STORE = 2; + /** + * Amazon App Store. + * + * Generated from protobuf enum AMAZON_APP_STORE = 14; + */ + const AMAZON_APP_STORE = 14; + /** + * Oppo App Market. + * + * Generated from protobuf enum OPPO_APP_STORE = 15; + */ + const OPPO_APP_STORE = 15; + /** + * Samsung Galaxy Store. + * + * Generated from protobuf enum SAMSUNG_APP_STORE = 16; + */ + const SAMSUNG_APP_STORE = 16; + /** + * Vivo App Store. + * + * Generated from protobuf enum VIVO_APP_STORE = 17; + */ + const VIVO_APP_STORE = 17; + /** + * Mi GetApps. + * + * Generated from protobuf enum XIAOMI_APP_STORE = 18; + */ + const XIAOMI_APP_STORE = 18; + /** + * Application store for Amazon Fire TV apps. + * + * Generated from protobuf enum AMAZON_FIRETV_STORE = 7; + */ + const AMAZON_FIRETV_STORE = 7; + /** + * Application store for LG TV apps. + * + * Generated from protobuf enum LG_TV_STORE = 19; + */ + const LG_TV_STORE = 19; + /** + * Application store for Playstation apps. + * + * Generated from protobuf enum PLAYSTATION_STORE = 8; + */ + const PLAYSTATION_STORE = 8; + /** + * Application store for Roku apps. + * + * Generated from protobuf enum ROKU_STORE = 6; + */ + const ROKU_STORE = 6; + /** + * Application store for Samsung TV apps. + * + * Generated from protobuf enum SAMSUNG_TV_STORE = 11; + */ + const SAMSUNG_TV_STORE = 11; + /** + * Application store for Xbox apps. + * + * Generated from protobuf enum XBOX_STORE = 10; + */ + const XBOX_STORE = 10; + + private static $valueToName = [ + self::APPLICATION_STORE_UNSPECIFIED => 'APPLICATION_STORE_UNSPECIFIED', + self::APPLE_APP_STORE => 'APPLE_APP_STORE', + self::GOOGLE_PLAY_STORE => 'GOOGLE_PLAY_STORE', + self::AMAZON_APP_STORE => 'AMAZON_APP_STORE', + self::OPPO_APP_STORE => 'OPPO_APP_STORE', + self::SAMSUNG_APP_STORE => 'SAMSUNG_APP_STORE', + self::VIVO_APP_STORE => 'VIVO_APP_STORE', + self::XIAOMI_APP_STORE => 'XIAOMI_APP_STORE', + self::AMAZON_FIRETV_STORE => 'AMAZON_FIRETV_STORE', + self::LG_TV_STORE => 'LG_TV_STORE', + self::PLAYSTATION_STORE => 'PLAYSTATION_STORE', + self::ROKU_STORE => 'ROKU_STORE', + self::SAMSUNG_TV_STORE => 'SAMSUNG_TV_STORE', + self::XBOX_STORE => 'XBOX_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AppliedLabel.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AppliedLabel.php new file mode 100644 index 000000000000..0901faf60b81 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AppliedLabel.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.AppliedLabel + */ +class AppliedLabel extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The label to be applied. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field string label = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $label = ''; + /** + * Specifies whether or not to negate the effects of the label. + * + * Generated from protobuf field bool negated = 2; + */ + protected $negated = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $label + * Required. The label to be applied. + * Format: "networks/{network_code}/labels/{label_id}" + * @type bool $negated + * Specifies whether or not to negate the effects of the label. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AppliedLabel::initOnce(); + parent::__construct($data); + } + + /** + * Required. The label to be applied. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field string label = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getLabel() + { + return $this->label; + } + + /** + * Required. The label to be applied. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field string label = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkString($var, True); + $this->label = $var; + + return $this; + } + + /** + * Specifies whether or not to negate the effects of the label. + * + * Generated from protobuf field bool negated = 2; + * @return bool + */ + public function getNegated() + { + return $this->negated; + } + + /** + * Specifies whether or not to negate the effects of the label. + * + * Generated from protobuf field bool negated = 2; + * @param bool $var + * @return $this + */ + public function setNegated($var) + { + GPBUtil::checkBool($var); + $this->negated = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegment.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegment.php new file mode 100644 index 000000000000..18fc36ce917e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegment.php @@ -0,0 +1,131 @@ +google.ads.admanager.v1.AudienceSegment + */ +class AudienceSegment extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `AudienceSegment`. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * The `audience_segment_id` may have up to 1 of the following suffixes: + * - `~direct` for directly licensed third-party segments + * - `~global` for globally licensed third-party segments + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Display name of the `AudienceSegment`. The attribute has a + * maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `AudienceSegment`. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * The `audience_segment_id` may have up to 1 of the following suffixes: + * - `~direct` for directly licensed third-party segments + * - `~global` for globally licensed third-party segments + * @type string $display_name + * Required. Display name of the `AudienceSegment`. The attribute has a + * maximum length of 255 characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AudienceSegmentMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `AudienceSegment`. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * The `audience_segment_id` may have up to 1 of the following suffixes: + * - `~direct` for directly licensed third-party segments + * - `~global` for globally licensed third-party segments + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `AudienceSegment`. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * The `audience_segment_id` may have up to 1 of the following suffixes: + * - `~direct` for directly licensed third-party segments + * - `~global` for globally licensed third-party segments + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Display name of the `AudienceSegment`. The attribute has a + * maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. Display name of the `AudienceSegment`. The attribute has a + * maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegmentTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegmentTargeting.php new file mode 100644 index 000000000000..a130a9a01237 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AudienceSegmentTargeting.php @@ -0,0 +1,136 @@ +google.ads.admanager.v1.AudienceSegmentTargeting + */ +class AudienceSegmentTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + */ + protected $negative = null; + /** + * Optional. The targeted audience segments. + * This is either the resource name of a first-party audience segment or an + * alias to the effective third-party audience segment. Third-party audience + * segment resource names containing `~direct` or `~global` will be normalized + * by the server. For example, `networks/1234/audienceSegments/4567~direct` + * will be normalized to `networks/1234/audienceSegments/4567`. + * + * Generated from protobuf field repeated string audience_segments = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $audience_segments; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $negative + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * @type string[] $audience_segments + * Optional. The targeted audience segments. + * This is either the resource name of a first-party audience segment or an + * alias to the effective third-party audience segment. Third-party audience + * segment resource names containing `~direct` or `~global` will be normalized + * by the server. For example, `networks/1234/audienceSegments/4567~direct` + * will be normalized to `networks/1234/audienceSegments/4567`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @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); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @param bool $var + * @return $this + */ + public function setNegative($var) + { + GPBUtil::checkBool($var); + $this->negative = $var; + + return $this; + } + + /** + * Optional. The targeted audience segments. + * This is either the resource name of a first-party audience segment or an + * alias to the effective third-party audience segment. Third-party audience + * segment resource names containing `~direct` or `~global` will be normalized + * by the server. For example, `networks/1234/audienceSegments/4567~direct` + * will be normalized to `networks/1234/audienceSegments/4567`. + * + * Generated from protobuf field repeated string audience_segments = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAudienceSegments() + { + return $this->audience_segments; + } + + /** + * Optional. The targeted audience segments. + * This is either the resource name of a first-party audience segment or an + * alias to the effective third-party audience segment. Third-party audience + * segment resource names containing `~direct` or `~global` will be normalized + * by the server. For example, `networks/1234/audienceSegments/4567~direct` + * will be normalized to `networks/1234/audienceSegments/4567`. + * + * Generated from protobuf field repeated string audience_segments = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAudienceSegments($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->audience_segments = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AuxiliaryAdSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AuxiliaryAdSettings.php new file mode 100644 index 000000000000..6a2714085249 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/AuxiliaryAdSettings.php @@ -0,0 +1,85 @@ +google.ads.admanager.v1.AuxiliaryAdSettings + */ +class AuxiliaryAdSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ad tag URL used to request auxiliary ads (such as pause ads). + * This can be a Google Ad Manager ad tag or a third-party ad tag. + * Publishers are responsible for ensuring the correctness of the URL. + * + * Generated from protobuf field optional string ad_tag_url = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_tag_url = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $ad_tag_url + * Required. The ad tag URL used to request auxiliary ads (such as pause ads). + * This can be a Google Ad Manager ad tag or a third-party ad tag. + * Publishers are responsible for ensuring the correctness of the URL. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ad tag URL used to request auxiliary ads (such as pause ads). + * This can be a Google Ad Manager ad tag or a third-party ad tag. + * Publishers are responsible for ensuring the correctness of the URL. + * + * Generated from protobuf field optional string ad_tag_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAdTagUrl() + { + return isset($this->ad_tag_url) ? $this->ad_tag_url : ''; + } + + public function hasAdTagUrl() + { + return isset($this->ad_tag_url); + } + + public function clearAdTagUrl() + { + unset($this->ad_tag_url); + } + + /** + * Required. The ad tag URL used to request auxiliary ads (such as pause ads). + * This can be a Google Ad Manager ad tag or a third-party ad tag. + * Publishers are responsible for ensuring the correctness of the URL. + * + * Generated from protobuf field optional string ad_tag_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAdTagUrl($var) + { + GPBUtil::checkString($var, True); + $this->ad_tag_url = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthGroup.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthGroup.php new file mode 100644 index 000000000000..bbd739ca12e1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthGroup.php @@ -0,0 +1,126 @@ +google.ads.admanager.v1.BandwidthGroup + */ +class BandwidthGroup extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `BandwidthGroup`. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field optional string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = null; + /** + * Output only. The localized name of the bandwidth group. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `BandwidthGroup`. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * @type string $display_name + * Output only. The localized name of the bandwidth group. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BandwidthGroupMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `BandwidthGroup`. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field optional string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return isset($this->name) ? $this->name : ''; + } + + public function hasName() + { + return isset($this->name); + } + + public function clearName() + { + unset($this->name); + } + + /** + * Identifier. The resource name of the `BandwidthGroup`. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field optional string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The localized name of the bandwidth group. + * + * Generated from protobuf field optional string display_name = 2 [(.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 localized name of the bandwidth group. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthTargeting.php new file mode 100644 index 000000000000..1a538d1246c8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BandwidthTargeting.php @@ -0,0 +1,112 @@ +google.ads.admanager.v1.BandwidthTargeting + */ +class BandwidthTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of resource names of the bandwidth groups that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_bandwidth_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_bandwidth_groups; + /** + * Optional. A list of resource names of the bandwidth groups that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_bandwidth_groups = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_bandwidth_groups; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_bandwidth_groups + * Optional. A list of resource names of the bandwidth groups that should be + * targeted/included. + * @type string[] $excluded_bandwidth_groups + * Optional. A list of resource names of the bandwidth groups that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of resource names of the bandwidth groups that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_bandwidth_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedBandwidthGroups() + { + return $this->targeted_bandwidth_groups; + } + + /** + * Optional. A list of resource names of the bandwidth groups that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_bandwidth_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedBandwidthGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_bandwidth_groups = $arr; + + return $this; + } + + /** + * Optional. A list of resource names of the bandwidth groups that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_bandwidth_groups = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedBandwidthGroups() + { + return $this->excluded_bandwidth_groups; + } + + /** + * Optional. A list of resource names of the bandwidth groups that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_bandwidth_groups = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedBandwidthGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_bandwidth_groups = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesRequest.php new file mode 100644 index 000000000000..e968f47e941b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchActivateAdRulesRequest + */ +class BatchActivateAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * Please see {@see AdRuleServiceClient::adRuleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateAdRulesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesResponse.php new file mode 100644 index 000000000000..9f60f868eb71 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdRulesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateAdRulesResponse + */ +class BatchActivateAdRulesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsRequest.php new file mode 100644 index 000000000000..eda96f017310 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateAdUnitsRequest + */ +class BatchActivateAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `AdUnit`s to activate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `AdUnit`s to activate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * Please see {@see AdUnitServiceClient::adUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `AdUnit`s to activate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `AdUnit`s to activate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `AdUnit`s to activate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsResponse.php new file mode 100644 index 000000000000..1c6947660251 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateAdUnitsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateAdUnitsResponse + */ +class BatchActivateAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsRequest.php new file mode 100644 index 000000000000..54f6bbfe55c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateCdnConfigsRequest + */ +class BatchActivateCdnConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CdnConfig` objects to activate. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CdnConfig` objects to activate. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * Please see {@see CdnConfigServiceClient::cdnConfigName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCdnConfigsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CdnConfig` objects to activate. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CdnConfig` objects to activate. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CdnConfig` objects to activate. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsResponse.php new file mode 100644 index 000000000000..94da1d701759 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCdnConfigsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCdnConfigsResponse + */ +class BatchActivateCdnConfigsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysRequest.php new file mode 100644 index 000000000000..0e4a95c09bae --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchActivateCmsMetadataKeysRequest + */ +class BatchActivateCmsMetadataKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CmsMetadataKeys` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CmsMetadataKey`s to activate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `CmsMetadataKeys` will be activated. + * Format: `networks/{network_code}` + * Please see {@see CmsMetadataKeyServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CmsMetadataKey`s to activate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * Please see {@see CmsMetadataKeyServiceClient::cmsMetadataKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCmsMetadataKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CmsMetadataKeys` will be activated. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CmsMetadataKey`s to activate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CmsMetadataKeys` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CmsMetadataKeys` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CmsMetadataKey`s to activate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CmsMetadataKey`s to activate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysResponse.php new file mode 100644 index 000000000000..a59598b5d0e9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataKeysResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCmsMetadataKeysResponse + */ +class BatchActivateCmsMetadataKeysResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesRequest.php new file mode 100644 index 000000000000..3004b565ff03 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesRequest.php @@ -0,0 +1,133 @@ +google.ads.admanager.v1.BatchActivateCmsMetadataValuesRequest + */ +class BatchActivateCmsMetadataValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CmsMetadataValues` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CmsMetadataValue`s to activate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `CmsMetadataValues` will be activated. + * Format: `networks/{network_code}` + * Please see {@see CmsMetadataValueServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CmsMetadataValue`s to activate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * Please see {@see CmsMetadataValueServiceClient::cmsMetadataValueName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCmsMetadataValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CmsMetadataValues` will be activated. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CmsMetadataValue`s to activate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CmsMetadataValues` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CmsMetadataValues` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CmsMetadataValue`s to activate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CmsMetadataValue`s to activate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesResponse.php new file mode 100644 index 000000000000..6407ae8d7aa8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCmsMetadataValuesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCmsMetadataValuesResponse + */ +class BatchActivateCmsMetadataValuesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesRequest.php new file mode 100644 index 000000000000..47cc09fda590 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchActivateContentBundlesRequest + */ +class BatchActivateContentBundlesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `ContentBundles` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `ContentBundle`s to activate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `ContentBundles` will be activated. + * Format: `networks/{network_code}` + * Please see {@see ContentBundleServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `ContentBundle`s to activate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * Please see {@see ContentBundleServiceClient::contentBundleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateContentBundlesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `ContentBundles` will be activated. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `ContentBundle`s to activate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `ContentBundles` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `ContentBundles` will be activated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `ContentBundle`s to activate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `ContentBundle`s to activate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesResponse.php new file mode 100644 index 000000000000..3b12d06fa433 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateContentBundlesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateContentBundlesResponse + */ +class BatchActivateContentBundlesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsRequest.php new file mode 100644 index 000000000000..3ced7ecd49d5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateCustomFieldsRequest + */ +class BatchActivateCustomFieldsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CustomField` objects to activate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CustomField` objects to activate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * Please see {@see CustomFieldServiceClient::customFieldName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCustomFieldsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CustomField` objects to activate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CustomField` objects to activate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CustomField` objects to activate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsResponse.php new file mode 100644 index 000000000000..71d3dce9ed5b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomFieldsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCustomFieldsResponse + */ +class BatchActivateCustomFieldsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysRequest.php new file mode 100644 index 000000000000..91f703d68785 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest + */ +class BatchActivateCustomTargetingKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CustomTargetingKey`s to activate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CustomTargetingKey`s to activate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * Please see {@see CustomTargetingKeyServiceClient::customTargetingKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCustomTargetingKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CustomTargetingKey`s to activate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CustomTargetingKey`s to activate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CustomTargetingKey`s to activate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysResponse.php new file mode 100644 index 000000000000..13fec548b9cf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingKeysResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse + */ +class BatchActivateCustomTargetingKeysResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesRequest.php new file mode 100644 index 000000000000..e1eb2d425e7d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchActivateCustomTargetingValuesRequest + */ +class BatchActivateCustomTargetingValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingValue` objects to activate. + * A maximum of 100 objects can be activated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ActivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\ActivateCustomTargetingValueRequest[] $requests Required. The `CustomTargetingValue` objects to activate. + * A maximum of 100 objects can be activated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchActivateCustomTargetingValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\ActivateCustomTargetingValueRequest[] $requests + * Required. The `CustomTargetingValue` objects to activate. + * A maximum of 100 objects can be activated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingValue` objects to activate. + * A maximum of 100 objects can be activated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ActivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ActivateCustomTargetingValueRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingValue` objects to activate. + * A maximum of 100 objects can be activated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ActivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ActivateCustomTargetingValueRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ActivateCustomTargetingValueRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesResponse.php new file mode 100644 index 000000000000..18ea0fbc1ace --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateCustomTargetingValuesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateCustomTargetingValuesResponse + */ +class BatchActivateCustomTargetingValuesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsRequest.php new file mode 100644 index 000000000000..59eda5e7ebb4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateLabelsRequest + */ +class BatchActivateLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LabelServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * Please see {@see LabelServiceClient::labelName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateLabelsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsResponse.php new file mode 100644 index 000000000000..ea59f236c948 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLabelsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateLabelsResponse + */ +class BatchActivateLabelsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsRequest.php new file mode 100644 index 000000000000..c504212e3df0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateLiveStreamsRequest + */ +class BatchActivateLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `LiveStream`s to activate. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `LiveStream`s to activate. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `LiveStream`s to activate. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `LiveStream`s to activate. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `LiveStream`s to activate. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsResponse.php new file mode 100644 index 000000000000..ee4b13ea160f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateLiveStreamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateLiveStreamsResponse + */ +class BatchActivateLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsRequest.php new file mode 100644 index 000000000000..9a71cf54f85f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivatePlacementsRequest + */ +class BatchActivatePlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The names of the `Placement` objects to activate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The names of the `Placement` objects to activate. + * Format: `networks/{network_code}/placements/{placement_id}` + * Please see {@see PlacementServiceClient::placementName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivatePlacementsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The names of the `Placement` objects to activate. + * Format: `networks/{network_code}/placements/{placement_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The names of the `Placement` objects to activate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The names of the `Placement` objects to activate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsResponse.php new file mode 100644 index 000000000000..59cb5b46d91c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivatePlacementsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivatePlacementsResponse + */ +class BatchActivatePlacementsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsRequest.php new file mode 100644 index 000000000000..7243db1dae54 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchActivateTeamsRequest + */ +class BatchActivateTeamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `Team`s to activate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see TeamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `Team`s to activate. + * Format: `networks/{network_code}/teams/{team_id}` + * Please see {@see TeamServiceClient::teamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchActivateTeamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `Team`s to activate. + * Format: `networks/{network_code}/teams/{team_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `Team`s to activate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `Team`s to activate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsResponse.php new file mode 100644 index 000000000000..20158189da21 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchActivateTeamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchActivateTeamsResponse + */ +class BatchActivateTeamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAdReviewCenterAdsOperationMetadata.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAdReviewCenterAdsOperationMetadata.php new file mode 100644 index 000000000000..1beb62c3986a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAdReviewCenterAdsOperationMetadata.php @@ -0,0 +1,72 @@ +google.ads.admanager.v1.BatchAdReviewCenterAdsOperationMetadata + */ +class BatchAdReviewCenterAdsOperationMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * The status of each failed request, keyed by the index of the corresponding + * request in the batch request. + * + * Generated from protobuf field map failed_requests = 1; + */ + private $failed_requests; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array|\Google\Protobuf\Internal\MapField $failed_requests + * The status of each failed request, keyed by the index of the corresponding + * request in the batch request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + + /** + * The status of each failed request, keyed by the index of the corresponding + * request in the batch request. + * + * Generated from protobuf field map failed_requests = 1; + * @return \Google\Protobuf\Internal\MapField + */ + public function getFailedRequests() + { + return $this->failed_requests; + } + + /** + * The status of each failed request, keyed by the index of the corresponding + * request in the batch request. + * + * Generated from protobuf field map failed_requests = 1; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setFailedRequests($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::INT32, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); + $this->failed_requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsRequest.php new file mode 100644 index 000000000000..f308188edccd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsRequest.php @@ -0,0 +1,168 @@ +google.ads.admanager.v1.BatchAllowAdReviewCenterAdsRequest + */ +class BatchAllowAdReviewCenterAdsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `AdReviewCenterAd`s to allow. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * + * `networks/{network_code}/webProperties/display` + * + * `networks/{network_code}/webProperties/videoAndAudio` + * + * `networks/{network_code}/webProperties/mobileApp` + * + * `networks/{network_code}/webProperties/games` + * Please see {@see AdReviewCenterAdServiceClient::webPropertyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchAllowAdReviewCenterAdsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * @type string[] $names + * Required. The resource names of the `AdReviewCenterAd`s to allow. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `AdReviewCenterAd`s to allow. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `AdReviewCenterAd`s to allow. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsResponse.php new file mode 100644 index 000000000000..6579ab655c59 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchAllowAdReviewCenterAdsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchAllowAdReviewCenterAdsResponse + */ +class BatchAllowAdReviewCenterAdsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersRequest.php new file mode 100644 index 000000000000..5e323169f894 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersRequest.php @@ -0,0 +1,166 @@ +google.ads.admanager.v1.BatchApproveAndOverbookOrdersRequest + */ +class BatchApproveAndOverbookOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to approve and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip_inventory_check = false; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to approve and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchApproveAndOverbookOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to approve and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * @type bool $skip_inventory_check + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to approve and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to approve and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSkipInventoryCheck() + { + return $this->skip_inventory_check; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSkipInventoryCheck($var) + { + GPBUtil::checkBool($var); + $this->skip_inventory_check = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersResponse.php new file mode 100644 index 000000000000..0c16ea416903 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveAndOverbookOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchApproveAndOverbookOrdersResponse + */ +class BatchApproveAndOverbookOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersRequest.php new file mode 100644 index 000000000000..f1217ab22662 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersRequest.php @@ -0,0 +1,166 @@ +google.ads.admanager.v1.BatchApproveOrdersRequest + */ +class BatchApproveOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip_inventory_check = false; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchApproveOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * @type bool $skip_inventory_check + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSkipInventoryCheck() + { + return $this->skip_inventory_check; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSkipInventoryCheck($var) + { + GPBUtil::checkBool($var); + $this->skip_inventory_check = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersResponse.php new file mode 100644 index 000000000000..92a2fb6dbd6b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchApproveOrdersResponse + */ +class BatchApproveOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationRequest.php new file mode 100644 index 000000000000..aab7c7619ff5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchApproveOrdersWithoutReservationRequest + */ +class BatchApproveOrdersWithoutReservationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchApproveOrdersWithoutReservationRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to approve. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationResponse.php new file mode 100644 index 000000000000..0a16d569d758 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveOrdersWithoutReservationResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchApproveOrdersWithoutReservationResponse + */ +class BatchApproveOrdersWithoutReservationResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsRequest.php new file mode 100644 index 000000000000..6f0f1b375404 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchApproveSuggestedAdUnitsRequest + */ +class BatchApproveSuggestedAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the `SuggestedAdUnit` objects to approve. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see SuggestedAdUnitServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the `SuggestedAdUnit` objects to approve. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * Please see {@see SuggestedAdUnitServiceClient::suggestedAdUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchApproveSuggestedAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the `SuggestedAdUnit` objects to approve. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the `SuggestedAdUnit` objects to approve. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the `SuggestedAdUnit` objects to approve. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsResponse.php new file mode 100644 index 000000000000..3ab0af0f25dc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchApproveSuggestedAdUnitsResponse.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.BatchApproveSuggestedAdUnitsResponse + */ +class BatchApproveSuggestedAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The resource names of the AdUnits that were created as part of the + * approval. The order of the ad units in the response is not guaranteed to be + * the same as the order of the suggestions in the request. + * + * Generated from protobuf field repeated string created_ad_units = 1 [(.google.api.resource_reference) = { + */ + private $created_ad_units; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $created_ad_units + * The resource names of the AdUnits that were created as part of the + * approval. The order of the ad units in the response is not guaranteed to be + * the same as the order of the suggestions in the request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The resource names of the AdUnits that were created as part of the + * approval. The order of the ad units in the response is not guaranteed to be + * the same as the order of the suggestions in the request. + * + * Generated from protobuf field repeated string created_ad_units = 1 [(.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getCreatedAdUnits() + { + return $this->created_ad_units; + } + + /** + * The resource names of the AdUnits that were created as part of the + * approval. The order of the ad units in the response is not guaranteed to be + * the same as the order of the suggestions in the request. + * + * Generated from protobuf field repeated string created_ad_units = 1 [(.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setCreatedAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->created_ad_units = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsRequest.php new file mode 100644 index 000000000000..77cde57ce2d2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchArchiveAdUnitsRequest + */ +class BatchArchiveAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `AdUnit`s to archive. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `AdUnit`s to archive. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * Please see {@see AdUnitServiceClient::adUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `AdUnit`s to archive. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `AdUnit`s to archive. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `AdUnit`s to archive. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsResponse.php new file mode 100644 index 000000000000..de45603b30d2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveAdUnitsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveAdUnitsResponse + */ +class BatchArchiveAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsRequest.php new file mode 100644 index 000000000000..9db598cc1f55 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchArchiveApplicationsRequest + */ +class BatchArchiveApplicationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource shared by all `Applications` to archive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Application` objects to archive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource shared by all `Applications` to archive. + * Format: `networks/{network_code}` + * Please see {@see ApplicationServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The `Application` objects to archive. Please see + * {@see ApplicationServiceClient::applicationName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveApplicationsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource shared by all `Applications` to archive. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The `Application` objects to archive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource shared by all `Applications` to archive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource shared by all `Applications` to archive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Application` objects to archive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The `Application` objects to archive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsResponse.php new file mode 100644 index 000000000000..cad19a60b5e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveApplicationsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveApplicationsResponse + */ +class BatchArchiveApplicationsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsRequest.php new file mode 100644 index 000000000000..d2a3aa732dfe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchArchiveCdnConfigsRequest + */ +class BatchArchiveCdnConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CdnConfig` objects to archive. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CdnConfig` objects to archive. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * Please see {@see CdnConfigServiceClient::cdnConfigName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveCdnConfigsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CdnConfig` objects to archive. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CdnConfig` objects to archive. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CdnConfig` objects to archive. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsResponse.php new file mode 100644 index 000000000000..0b2c6db74b60 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveCdnConfigsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveCdnConfigsResponse + */ +class BatchArchiveCdnConfigsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsRequest.php new file mode 100644 index 000000000000..f6ce676afaca --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchArchiveLiveStreamsRequest + */ +class BatchArchiveLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `LiveStream`s to archive. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `LiveStream`s to archive. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `LiveStream`s to archive. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `LiveStream`s to archive. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `LiveStream`s to archive. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsResponse.php new file mode 100644 index 000000000000..82bde11d5668 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveLiveStreamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveLiveStreamsResponse + */ +class BatchArchiveLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersRequest.php new file mode 100644 index 000000000000..b0fc5399126d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchArchiveOrdersRequest + */ +class BatchArchiveOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to archive. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to archive. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to archive. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to archive. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to archive. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersResponse.php new file mode 100644 index 000000000000..787af9242600 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveOrdersResponse + */ +class BatchArchiveOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsRequest.php new file mode 100644 index 000000000000..b32866b47643 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchArchivePlacementsRequest + */ +class BatchArchivePlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The names of the `Placement` objects to archive. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The names of the `Placement` objects to archive. + * Format: `networks/{network_code}/placements/{placement_id}` + * Please see {@see PlacementServiceClient::placementName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchivePlacementsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The names of the `Placement` objects to archive. + * Format: `networks/{network_code}/placements/{placement_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The names of the `Placement` objects to archive. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The names of the `Placement` objects to archive. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsResponse.php new file mode 100644 index 000000000000..205ed18080d5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchivePlacementsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchivePlacementsResponse + */ +class BatchArchivePlacementsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesRequest.php new file mode 100644 index 000000000000..d6c6a8cfe59f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchArchiveSlatesRequest + */ +class BatchArchiveSlatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the slates to archive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * Please see {@see SlateServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the slates to archive. + * Format: "networks/{network_code}/slates/{slate_id}" + * Please see {@see SlateServiceClient::slateName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchArchiveSlatesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * @type string[] $names + * Required. The resource names of the slates to archive. + * Format: "networks/{network_code}/slates/{slate_id}" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the slates to archive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the slates to archive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesResponse.php new file mode 100644 index 000000000000..b2d6840f21f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchArchiveSlatesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchArchiveSlatesResponse + */ +class BatchArchiveSlatesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsRequest.php new file mode 100644 index 000000000000..ed129147e8fe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsRequest.php @@ -0,0 +1,168 @@ +google.ads.admanager.v1.BatchBlockAdReviewCenterAdsRequest + */ +class BatchBlockAdReviewCenterAdsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `AdReviewCenterAd`s to block. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * + * `networks/{network_code}/webProperties/display` + * + * `networks/{network_code}/webProperties/videoAndAudio` + * + * `networks/{network_code}/webProperties/mobileApp` + * + * `networks/{network_code}/webProperties/games` + * Please see {@see AdReviewCenterAdServiceClient::webPropertyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchBlockAdReviewCenterAdsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * @type string[] $names + * Required. The resource names of the `AdReviewCenterAd`s to block. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `AdReviewCenterAd`s to block. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `AdReviewCenterAd`s to block. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsResponse.php new file mode 100644 index 000000000000..ea927b83b607 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchBlockAdReviewCenterAdsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchBlockAdReviewCenterAdsResponse + */ +class BatchBlockAdReviewCenterAdsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesRequest.php new file mode 100644 index 000000000000..887dc238f2b6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateAdRulesRequest + */ +class BatchCreateAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdRules` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdRule` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdRules` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdRuleRequest must match this + * field. Please see + * {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateAdRuleRequest[] $requests Required. The `AdRule` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateAdRulesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdRules` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdRuleRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateAdRuleRequest[] $requests + * Required. The `AdRule` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdRules` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdRules` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdRule` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateAdRuleRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdRule` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateAdRuleRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateAdRuleRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesResponse.php new file mode 100644 index 000000000000..7d2e36625677 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdRulesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateAdRulesResponse + */ +class BatchCreateAdRulesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdRule` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + */ + private $ad_rules; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdRule[] $ad_rules + * The `AdRule` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdRule` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdRule> + */ + public function getAdRules() + { + return $this->ad_rules; + } + + /** + * The `AdRule` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @param \Google\Ads\AdManager\V1\AdRule[] $var + * @return $this + */ + public function setAdRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdRule::class); + $this->ad_rules = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsRequest.php new file mode 100644 index 000000000000..971d26745dd3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateAdSpotsRequest + */ +class BatchCreateAdSpotsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdSpots` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdSpot` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdSpots` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdSpotRequest must match this + * field. Please see + * {@see AdSpotServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateAdSpotRequest[] $requests Required. The `AdSpot` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateAdSpotsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdSpots` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdSpotRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateAdSpotRequest[] $requests + * Required. The `AdSpot` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdSpots` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdSpots` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdSpot` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateAdSpotRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdSpot` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateAdSpotRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateAdSpotRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsResponse.php new file mode 100644 index 000000000000..9957fde16a96 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdSpotsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateAdSpotsResponse + */ +class BatchCreateAdSpotsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdSpot` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + */ + private $ad_spots; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdSpot[] $ad_spots + * The `AdSpot` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdSpot` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdSpot> + */ + public function getAdSpots() + { + return $this->ad_spots; + } + + /** + * The `AdSpot` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @param \Google\Ads\AdManager\V1\AdSpot[] $var + * @return $this + */ + public function setAdSpots($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdSpot::class); + $this->ad_spots = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsRequest.php new file mode 100644 index 000000000000..5d1dad3ac4e8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateAdUnitsRequest + */ +class BatchCreateAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdUnits` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdUnit` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdUnits` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdUnitRequest must match this + * field. Please see + * {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateAdUnitRequest[] $requests Required. The `AdUnit` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdUnits` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdUnitRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateAdUnitRequest[] $requests + * Required. The `AdUnit` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdUnits` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdUnits` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdUnit` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateAdUnitRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdUnit` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateAdUnitRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateAdUnitRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsResponse.php new file mode 100644 index 000000000000..67dc0c71b502 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateAdUnitsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateAdUnitsResponse + */ +class BatchCreateAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdUnit` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + */ + private $ad_units; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnit[] $ad_units + * The `AdUnit` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdUnit` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnit> + */ + public function getAdUnits() + { + return $this->ad_units; + } + + /** + * The `AdUnit` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @param \Google\Ads\AdManager\V1\AdUnit[] $var + * @return $this + */ + public function setAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnit::class); + $this->ad_units = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsRequest.php new file mode 100644 index 000000000000..833b81ae2b55 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchCreateApplicationsRequest + */ +class BatchCreateApplicationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Applications` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Application` objects to create. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Applications` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateApplicationRequest must match this + * field. Please see + * {@see ApplicationServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateApplicationRequest[] $requests Required. The `Application` objects to create. + * + * @return \Google\Ads\AdManager\V1\BatchCreateApplicationsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Applications` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateApplicationRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateApplicationRequest[] $requests + * Required. The `Application` objects to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Applications` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Applications` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Application` objects to create. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateApplicationRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Application` objects to create. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateApplicationRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateApplicationRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsResponse.php new file mode 100644 index 000000000000..87c46756e608 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateApplicationsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateApplicationsResponse + */ +class BatchCreateApplicationsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Application` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + */ + private $applications; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Application[] $applications + * The `Application` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * The `Application` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Application> + */ + public function getApplications() + { + return $this->applications; + } + + /** + * The `Application` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @param \Google\Ads\AdManager\V1\Application[] $var + * @return $this + */ + public function setApplications($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Application::class); + $this->applications = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsRequest.php new file mode 100644 index 000000000000..2921735f2116 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateCdnConfigsRequest + */ +class BatchCreateCdnConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CdnConfigs` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CdnConfig` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CdnConfigs` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCdnConfigRequest must match this + * field. Please see + * {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateCdnConfigRequest[] $requests Required. The `CdnConfig` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateCdnConfigsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CdnConfigs` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCdnConfigRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateCdnConfigRequest[] $requests + * Required. The `CdnConfig` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CdnConfigs` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CdnConfigs` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CdnConfig` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateCdnConfigRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CdnConfig` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateCdnConfigRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateCdnConfigRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsResponse.php new file mode 100644 index 000000000000..0358c28d6b07 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCdnConfigsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateCdnConfigsResponse + */ +class BatchCreateCdnConfigsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CdnConfig` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + */ + private $cdn_configs; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CdnConfig[] $cdn_configs + * The `CdnConfig` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * The `CdnConfig` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CdnConfig> + */ + public function getCdnConfigs() + { + return $this->cdn_configs; + } + + /** + * The `CdnConfig` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @param \Google\Ads\AdManager\V1\CdnConfig[] $var + * @return $this + */ + public function setCdnConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CdnConfig::class); + $this->cdn_configs = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsRequest.php new file mode 100644 index 000000000000..1bdace4c709d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateContactsRequest + */ +class BatchCreateContactsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Contacts` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Contact` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Contacts` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateContactRequest must match this + * field. Please see + * {@see ContactServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateContactRequest[] $requests Required. The `Contact` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateContactsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Contacts` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateContactRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateContactRequest[] $requests + * Required. The `Contact` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Contacts` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Contacts` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Contact` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateContactRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Contact` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateContactRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateContactRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsResponse.php new file mode 100644 index 000000000000..488fcb2c38d5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateContactsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateContactsResponse + */ +class BatchCreateContactsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Contact` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + */ + private $contacts; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Contact[] $contacts + * The `Contact` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * The `Contact` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Contact> + */ + public function getContacts() + { + return $this->contacts; + } + + /** + * The `Contact` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @param \Google\Ads\AdManager\V1\Contact[] $var + * @return $this + */ + public function setContacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Contact::class); + $this->contacts = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsRequest.php new file mode 100644 index 000000000000..816debde6344 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateCustomFieldsRequest + */ +class BatchCreateCustomFieldsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CustomFields` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomField` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CustomFields` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomFieldRequest must match this + * field. Please see + * {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateCustomFieldRequest[] $requests Required. The `CustomField` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateCustomFieldsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CustomFields` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomFieldRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateCustomFieldRequest[] $requests + * Required. The `CustomField` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CustomFields` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CustomFields` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomField` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateCustomFieldRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomField` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateCustomFieldRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateCustomFieldRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsResponse.php new file mode 100644 index 000000000000..8bb44e3a487e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomFieldsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateCustomFieldsResponse + */ +class BatchCreateCustomFieldsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomField` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + */ + private $custom_fields; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomField[] $custom_fields + * The `CustomField` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomField` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomField> + */ + public function getCustomFields() + { + return $this->custom_fields; + } + + /** + * The `CustomField` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @param \Google\Ads\AdManager\V1\CustomField[] $var + * @return $this + */ + public function setCustomFields($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomField::class); + $this->custom_fields = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysRequest.php new file mode 100644 index 000000000000..1e84f7daf649 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest + */ +class BatchCreateCustomTargetingKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CustomTargetingKeys` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingKey` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CustomTargetingKeys` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomTargetingKeyRequest must match this + * field. Please see + * {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest[] $requests Required. The `CustomTargetingKey` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateCustomTargetingKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CustomTargetingKeys` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomTargetingKeyRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest[] $requests + * Required. The `CustomTargetingKey` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CustomTargetingKeys` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CustomTargetingKeys` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingKey` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingKey` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysResponse.php new file mode 100644 index 000000000000..855035c0785e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingKeysResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse + */ +class BatchCreateCustomTargetingKeysResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingKey` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + */ + private $custom_targeting_keys; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingKey[] $custom_targeting_keys + * The `CustomTargetingKey` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingKey` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingKey> + */ + public function getCustomTargetingKeys() + { + return $this->custom_targeting_keys; + } + + /** + * The `CustomTargetingKey` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingKey[] $var + * @return $this + */ + public function setCustomTargetingKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingKey::class); + $this->custom_targeting_keys = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesRequest.php new file mode 100644 index 000000000000..ac44f20cdd2c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchCreateCustomTargetingValuesRequest + */ +class BatchCreateCustomTargetingValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingValue` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest[] $requests Required. The `CustomTargetingValue` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateCustomTargetingValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest[] $requests + * Required. The `CustomTargetingValue` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingValue` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingValue` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesResponse.php new file mode 100644 index 000000000000..96bdcaafd904 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateCustomTargetingValuesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateCustomTargetingValuesResponse + */ +class BatchCreateCustomTargetingValuesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingValue` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + */ + private $custom_targeting_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingValue[] $custom_targeting_values + * The `CustomTargetingValue` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingValue` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingValue> + */ + public function getCustomTargetingValues() + { + return $this->custom_targeting_values; + } + + /** + * The `CustomTargetingValue` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingValue[] $var + * @return $this + */ + public function setCustomTargetingValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingValue::class); + $this->custom_targeting_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsRequest.php new file mode 100644 index 000000000000..ea2c635ea82f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchCreateEntitySignalsMappingsRequest + */ +class BatchCreateEntitySignalsMappingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * created. Format: `networks/{network_code}` The parent field in the + * CreateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `EntitySignalsMapping` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `EntitySignalsMappings` will be + * created. Format: `networks/{network_code}` The parent field in the + * CreateEntitySignalsMappingRequest must match this field. Please see + * {@see EntitySignalsMappingServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest[] $requests Required. The `EntitySignalsMapping` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateEntitySignalsMappingsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `EntitySignalsMappings` will be + * created. Format: `networks/{network_code}` The parent field in the + * CreateEntitySignalsMappingRequest must match this field. + * @type \Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest[] $requests + * Required. The `EntitySignalsMapping` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * created. Format: `networks/{network_code}` The parent field in the + * CreateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * created. Format: `networks/{network_code}` The parent field in the + * CreateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `EntitySignalsMapping` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `EntitySignalsMapping` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsResponse.php new file mode 100644 index 000000000000..6fef812df781 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateEntitySignalsMappingsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateEntitySignalsMappingsResponse + */ +class BatchCreateEntitySignalsMappingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `EntitySignalsMapping` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + */ + private $entity_signals_mappings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\EntitySignalsMapping[] $entity_signals_mappings + * The `EntitySignalsMapping` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * The `EntitySignalsMapping` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\EntitySignalsMapping> + */ + public function getEntitySignalsMappings() + { + return $this->entity_signals_mappings; + } + + /** + * The `EntitySignalsMapping` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping[] $var + * @return $this + */ + public function setEntitySignalsMappings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\EntitySignalsMapping::class); + $this->entity_signals_mappings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsRequest.php new file mode 100644 index 000000000000..cab3a9643d98 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateLabelsRequest + */ +class BatchCreateLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Labels` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Label` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Labels` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLabelRequest must match this + * field. Please see + * {@see LabelServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateLabelRequest[] $requests Required. The `Label` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateLabelsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Labels` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLabelRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateLabelRequest[] $requests + * Required. The `Label` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Labels` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Labels` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Label` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateLabelRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Label` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateLabelRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateLabelRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsResponse.php new file mode 100644 index 000000000000..5c329eefd379 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLabelsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateLabelsResponse + */ +class BatchCreateLabelsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Label` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + */ + private $labels; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Label[] $labels + * The `Label` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * The `Label` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Label> + */ + public function getLabels() + { + return $this->labels; + } + + /** + * The `Label` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @param \Google\Ads\AdManager\V1\Label[] $var + * @return $this + */ + public function setLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Label::class); + $this->labels = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsRequest.php new file mode 100644 index 000000000000..05fc84b5b64d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateLiveStreamsRequest + */ +class BatchCreateLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `LiveStreams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `LiveStream` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `LiveStreams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLiveStreamRequest must match this + * field. Please see + * {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateLiveStreamRequest[] $requests Required. The `LiveStream` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `LiveStreams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLiveStreamRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateLiveStreamRequest[] $requests + * Required. The `LiveStream` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `LiveStreams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `LiveStreams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `LiveStream` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateLiveStreamRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `LiveStream` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateLiveStreamRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateLiveStreamRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsResponse.php new file mode 100644 index 000000000000..7661f8a6324f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateLiveStreamsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateLiveStreamsResponse + */ +class BatchCreateLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `LiveStream` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + */ + private $live_streams; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LiveStream[] $live_streams + * The `LiveStream` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * The `LiveStream` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\LiveStream> + */ + public function getLiveStreams() + { + return $this->live_streams; + } + + /** + * The `LiveStream` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @param \Google\Ads\AdManager\V1\LiveStream[] $var + * @return $this + */ + public function setLiveStreams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LiveStream::class); + $this->live_streams = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersRequest.php new file mode 100644 index 000000000000..b7b24beaf8e3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateOrdersRequest + */ +class BatchCreateOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Orders` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Order` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Orders` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateOrderRequest must match this + * field. Please see + * {@see OrderServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateOrderRequest[] $requests Required. The `Order` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Orders` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateOrderRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateOrderRequest[] $requests + * Required. The `Order` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Orders` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Orders` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Order` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateOrderRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Order` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateOrderRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateOrderRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersResponse.php new file mode 100644 index 000000000000..420dc198f2b8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateOrdersResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateOrdersResponse + */ +class BatchCreateOrdersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Order` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + */ + private $orders; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Order[] $orders + * The `Order` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * The `Order` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Order> + */ + public function getOrders() + { + return $this->orders; + } + + /** + * The `Order` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @param \Google\Ads\AdManager\V1\Order[] $var + * @return $this + */ + public function setOrders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Order::class); + $this->orders = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsRequest.php new file mode 100644 index 000000000000..40e1b06c7b66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreatePlacementsRequest + */ +class BatchCreatePlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where the `Placement`s will be created. + * Format: `networks/{network_code}` + * The parent field in the CreatePlacementRequest messages match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Placement` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where the `Placement`s will be created. + * Format: `networks/{network_code}` + * The parent field in the CreatePlacementRequest messages match this + * field. Please see + * {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreatePlacementRequest[] $requests Required. The `Placement` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreatePlacementsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where the `Placement`s will be created. + * Format: `networks/{network_code}` + * The parent field in the CreatePlacementRequest messages match this + * field. + * @type \Google\Ads\AdManager\V1\CreatePlacementRequest[] $requests + * Required. The `Placement` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where the `Placement`s will be created. + * Format: `networks/{network_code}` + * The parent field in the CreatePlacementRequest messages match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where the `Placement`s will be created. + * Format: `networks/{network_code}` + * The parent field in the CreatePlacementRequest messages match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Placement` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreatePlacementRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Placement` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreatePlacementRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreatePlacementRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsResponse.php new file mode 100644 index 000000000000..f93682044c18 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreatePlacementsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreatePlacementsResponse + */ +class BatchCreatePlacementsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Placement` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + */ + private $placements; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Placement[] $placements + * The `Placement` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * The `Placement` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Placement> + */ + public function getPlacements() + { + return $this->placements; + } + + /** + * The `Placement` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @param \Google\Ads\AdManager\V1\Placement[] $var + * @return $this + */ + public function setPlacements($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Placement::class); + $this->placements = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesRequest.php new file mode 100644 index 000000000000..6613504c1ab7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateSitesRequest + */ +class BatchCreateSitesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Sites` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Site` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Sites` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSiteRequest must match this + * field. Please see + * {@see SiteServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateSiteRequest[] $requests Required. The `Site` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateSitesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Sites` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSiteRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateSiteRequest[] $requests + * Required. The `Site` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Sites` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Sites` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Site` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateSiteRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Site` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateSiteRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateSiteRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesResponse.php new file mode 100644 index 000000000000..168da7d743bc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSitesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateSitesResponse + */ +class BatchCreateSitesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Site` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + */ + private $sites; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Site[] $sites + * The `Site` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * The `Site` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Site> + */ + public function getSites() + { + return $this->sites; + } + + /** + * The `Site` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @param \Google\Ads\AdManager\V1\Site[] $var + * @return $this + */ + public function setSites($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Site::class); + $this->sites = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesRequest.php new file mode 100644 index 000000000000..b5535b4b45d3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateSlatesRequest + */ +class BatchCreateSlatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Slates` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Slate` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Slates` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSlateRequest must match this + * field. Please see + * {@see SlateServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateSlateRequest[] $requests Required. The `Slate` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateSlatesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Slates` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSlateRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateSlateRequest[] $requests + * Required. The `Slate` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Slates` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Slates` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Slate` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateSlateRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Slate` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateSlateRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateSlateRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesResponse.php new file mode 100644 index 000000000000..7597566b4474 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateSlatesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateSlatesResponse + */ +class BatchCreateSlatesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Slate` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + */ + private $slates; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Slate[] $slates + * The `Slate` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * The `Slate` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Slate> + */ + public function getSlates() + { + return $this->slates; + } + + /** + * The `Slate` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @param \Google\Ads\AdManager\V1\Slate[] $var + * @return $this + */ + public function setSlates($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Slate::class); + $this->slates = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsRequest.php new file mode 100644 index 000000000000..55c0791de31c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateTargetingPresetsRequest + */ +class BatchCreateTargetingPresetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `TargetingPresets` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `TargetingPreset` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `TargetingPresets` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTargetingPresetRequest must match this + * field. Please see + * {@see TargetingPresetServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateTargetingPresetRequest[] $requests Required. The `TargetingPreset` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateTargetingPresetsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `TargetingPresets` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTargetingPresetRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateTargetingPresetRequest[] $requests + * Required. The `TargetingPreset` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `TargetingPresets` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `TargetingPresets` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `TargetingPreset` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateTargetingPresetRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `TargetingPreset` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateTargetingPresetRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateTargetingPresetRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsResponse.php new file mode 100644 index 000000000000..cfd50ffb5437 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTargetingPresetsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateTargetingPresetsResponse + */ +class BatchCreateTargetingPresetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `TargetingPreset` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + */ + private $targeting_presets; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\TargetingPreset[] $targeting_presets + * The `TargetingPreset` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * The `TargetingPreset` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\TargetingPreset> + */ + public function getTargetingPresets() + { + return $this->targeting_presets; + } + + /** + * The `TargetingPreset` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @param \Google\Ads\AdManager\V1\TargetingPreset[] $var + * @return $this + */ + public function setTargetingPresets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\TargetingPreset::class); + $this->targeting_presets = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsRequest.php new file mode 100644 index 000000000000..f9dbe618e0ed --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchCreateTeamsRequest + */ +class BatchCreateTeamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Teams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Team` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Teams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTeamRequest must match this + * field. Please see + * {@see TeamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreateTeamRequest[] $requests Required. The `Team` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchCreateTeamsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Teams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTeamRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\CreateTeamRequest[] $requests + * Required. The `Team` objects to create. + * A maximum of 100 objects can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Teams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Teams` will be created. + * Format: `networks/{network_code}` + * The parent field in the CreateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Team` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreateTeamRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Team` objects to create. + * A maximum of 100 objects can be created in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreateTeamRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreateTeamRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsResponse.php new file mode 100644 index 000000000000..619aba6b0940 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchCreateTeamsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchCreateTeamsResponse + */ +class BatchCreateTeamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Team` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + */ + private $teams; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Team[] $teams + * The `Team` objects created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * The `Team` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Team> + */ + public function getTeams() + { + return $this->teams; + } + + /** + * The `Team` objects created. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @param \Google\Ads\AdManager\V1\Team[] $var + * @return $this + */ + public function setTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Team::class); + $this->teams = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesRequest.php new file mode 100644 index 000000000000..582b82732ae9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDeactivateAdRulesRequest + */ +class BatchDeactivateAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * Please see {@see AdRuleServiceClient::adRuleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateAdRulesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesResponse.php new file mode 100644 index 000000000000..4ff77705eba2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdRulesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateAdRulesResponse + */ +class BatchDeactivateAdRulesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsRequest.php new file mode 100644 index 000000000000..9f0ad29ab51d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchDeactivateAdUnitsRequest + */ +class BatchDeactivateAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `AdUnit`s to deactivate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `AdUnit`s to deactivate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * Please see {@see AdUnitServiceClient::adUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `AdUnit`s to deactivate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `AdUnit`s to deactivate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `AdUnit`s to deactivate. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsResponse.php new file mode 100644 index 000000000000..8d2f5921d8b3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateAdUnitsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateAdUnitsResponse + */ +class BatchDeactivateAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysRequest.php new file mode 100644 index 000000000000..a75833ce7865 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysRequest.php @@ -0,0 +1,133 @@ +google.ads.admanager.v1.BatchDeactivateCmsMetadataKeysRequest + */ +class BatchDeactivateCmsMetadataKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CmsMetadataKeys` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CmsMetadataKey`s to deactivate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `CmsMetadataKeys` will be + * deactivated. + * Format: `networks/{network_code}` + * Please see {@see CmsMetadataKeyServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CmsMetadataKey`s to deactivate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * Please see {@see CmsMetadataKeyServiceClient::cmsMetadataKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateCmsMetadataKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CmsMetadataKeys` will be + * deactivated. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CmsMetadataKey`s to deactivate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CmsMetadataKeys` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CmsMetadataKeys` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CmsMetadataKey`s to deactivate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CmsMetadataKey`s to deactivate. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysResponse.php new file mode 100644 index 000000000000..3dd8d3262058 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataKeysResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateCmsMetadataKeysResponse + */ +class BatchDeactivateCmsMetadataKeysResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesRequest.php new file mode 100644 index 000000000000..449207fc3036 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesRequest.php @@ -0,0 +1,133 @@ +google.ads.admanager.v1.BatchDeactivateCmsMetadataValuesRequest + */ +class BatchDeactivateCmsMetadataValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CmsMetadataValues` will be + * deactivated. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CmsMetadataValue`s to deactivate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `CmsMetadataValues` will be + * deactivated. Format: `networks/{network_code}` + * Please see {@see CmsMetadataValueServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CmsMetadataValue`s to deactivate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * Please see {@see CmsMetadataValueServiceClient::cmsMetadataValueName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateCmsMetadataValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CmsMetadataValues` will be + * deactivated. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CmsMetadataValue`s to deactivate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CmsMetadataValues` will be + * deactivated. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CmsMetadataValues` will be + * deactivated. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CmsMetadataValue`s to deactivate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CmsMetadataValue`s to deactivate. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesResponse.php new file mode 100644 index 000000000000..cd85a21e25f0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCmsMetadataValuesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateCmsMetadataValuesResponse + */ +class BatchDeactivateCmsMetadataValuesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesRequest.php new file mode 100644 index 000000000000..d8cdcababd15 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesRequest.php @@ -0,0 +1,133 @@ +google.ads.admanager.v1.BatchDeactivateContentBundlesRequest + */ +class BatchDeactivateContentBundlesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `ContentBundles` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `ContentBundle`s to deactivate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource where `ContentBundles` will be + * deactivated. + * Format: `networks/{network_code}` + * Please see {@see ContentBundleServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `ContentBundle`s to deactivate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * Please see {@see ContentBundleServiceClient::contentBundleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateContentBundlesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `ContentBundles` will be + * deactivated. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `ContentBundle`s to deactivate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `ContentBundles` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `ContentBundles` will be + * deactivated. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `ContentBundle`s to deactivate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `ContentBundle`s to deactivate. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesResponse.php new file mode 100644 index 000000000000..084341bea438 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateContentBundlesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateContentBundlesResponse + */ +class BatchDeactivateContentBundlesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsRequest.php new file mode 100644 index 000000000000..f6a725373372 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest + */ +class BatchDeactivateCustomFieldsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CustomField` objects to deactivate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CustomField` objects to deactivate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * Please see {@see CustomFieldServiceClient::customFieldName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateCustomFieldsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CustomField` objects to deactivate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CustomField` objects to deactivate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CustomField` objects to deactivate. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsResponse.php new file mode 100644 index 000000000000..7b1ca7d583ac --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomFieldsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse + */ +class BatchDeactivateCustomFieldsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysRequest.php new file mode 100644 index 000000000000..2eb1b79155bc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest + */ +class BatchDeactivateCustomTargetingKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `CustomTargetingKey`s to deactivate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `CustomTargetingKey`s to deactivate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * Please see {@see CustomTargetingKeyServiceClient::customTargetingKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateCustomTargetingKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `CustomTargetingKey`s to deactivate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `CustomTargetingKey`s to deactivate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `CustomTargetingKey`s to deactivate. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysResponse.php new file mode 100644 index 000000000000..f68a8aed147a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingKeysResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse + */ +class BatchDeactivateCustomTargetingKeysResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesRequest.php new file mode 100644 index 000000000000..95738a9e7918 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesRequest.php @@ -0,0 +1,127 @@ +google.ads.admanager.v1.BatchDeactivateCustomTargetingValuesRequest + */ +class BatchDeactivateCustomTargetingValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}/` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingValue` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}/` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\DeactivateCustomTargetingValueRequest[] $requests Required. The `CustomTargetingValue` objects to deactivate. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateCustomTargetingValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}/` + * @type \Google\Ads\AdManager\V1\DeactivateCustomTargetingValueRequest[] $requests + * Required. The `CustomTargetingValue` objects to deactivate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}/` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}/` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingValue` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\DeactivateCustomTargetingValueRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingValue` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\DeactivateCustomTargetingValueRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DeactivateCustomTargetingValueRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesResponse.php new file mode 100644 index 000000000000..20d6bd3100e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateCustomTargetingValuesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateCustomTargetingValuesResponse + */ +class BatchDeactivateCustomTargetingValuesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsRequest.php new file mode 100644 index 000000000000..98bfacd12db9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchDeactivateLabelsRequest + */ +class BatchDeactivateLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LabelServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * Please see {@see LabelServiceClient::labelName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateLabelsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsResponse.php new file mode 100644 index 000000000000..175b4673480c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateLabelsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateLabelsResponse + */ +class BatchDeactivateLabelsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsRequest.php new file mode 100644 index 000000000000..8f361b87a453 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchDeactivatePlacementsRequest + */ +class BatchDeactivatePlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The names of the `Placement` objects to deactivate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The names of the `Placement` objects to deactivate. + * Format: `networks/{network_code}/placements/{placement_id}` + * Please see {@see PlacementServiceClient::placementName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivatePlacementsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The names of the `Placement` objects to deactivate. + * Format: `networks/{network_code}/placements/{placement_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The names of the `Placement` objects to deactivate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The names of the `Placement` objects to deactivate. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsResponse.php new file mode 100644 index 000000000000..7ed334c97579 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivatePlacementsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivatePlacementsResponse + */ +class BatchDeactivatePlacementsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesRequest.php new file mode 100644 index 000000000000..8a871eeac67d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesRequest.php @@ -0,0 +1,117 @@ +google.ads.admanager.v1.BatchDeactivateSitesRequest + */ +class BatchDeactivateSitesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `Site` objects to deactivate. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see SiteServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `Site` objects to deactivate. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateSitesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `Site` objects to deactivate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `Site` objects to deactivate. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `Site` objects to deactivate. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesResponse.php new file mode 100644 index 000000000000..829dd7708ceb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateSitesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateSitesResponse + */ +class BatchDeactivateSitesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsRequest.php new file mode 100644 index 000000000000..3d4fbeb76b75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsRequest.php @@ -0,0 +1,117 @@ +google.ads.admanager.v1.BatchDeactivateTargetingPresetsRequest + */ +class BatchDeactivateTargetingPresetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `TargetingPreset` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see TargetingPresetServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\DeactivateTargetingPresetRequest[] $requests Required. The `TargetingPreset` objects to deactivate. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateTargetingPresetsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\DeactivateTargetingPresetRequest[] $requests + * Required. The `TargetingPreset` objects to deactivate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `TargetingPreset` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\DeactivateTargetingPresetRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `TargetingPreset` objects to deactivate. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeactivateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\DeactivateTargetingPresetRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DeactivateTargetingPresetRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsResponse.php new file mode 100644 index 000000000000..1d65b78b60ec --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTargetingPresetsResponse.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.BatchDeactivateTargetingPresetsResponse + */ +class BatchDeactivateTargetingPresetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The number of objects that were deactivated as a result of performing the + * action. + * + * Generated from protobuf field int64 change_count = 1; + */ + protected $change_count = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $change_count + * The number of objects that were deactivated as a result of performing the + * action. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * The number of objects that were deactivated as a result of performing the + * action. + * + * Generated from protobuf field int64 change_count = 1; + * @return int|string + */ + public function getChangeCount() + { + return $this->change_count; + } + + /** + * The number of objects that were deactivated as a result of performing the + * action. + * + * Generated from protobuf field int64 change_count = 1; + * @param int|string $var + * @return $this + */ + public function setChangeCount($var) + { + GPBUtil::checkInt64($var); + $this->change_count = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsRequest.php new file mode 100644 index 000000000000..6dfce565f654 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchDeactivateTeamsRequest + */ +class BatchDeactivateTeamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `Team`s to deactivate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see TeamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `Team`s to deactivate. + * Format: `networks/{network_code}/teams/{team_id}` + * Please see {@see TeamServiceClient::teamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeactivateTeamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `Team`s to deactivate. + * Format: `networks/{network_code}/teams/{team_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `Team`s to deactivate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `Team`s to deactivate. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsResponse.php new file mode 100644 index 000000000000..899b027dfdbb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeactivateTeamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeactivateTeamsResponse + */ +class BatchDeactivateTeamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteAdRulesRequest.php new file mode 100644 index 000000000000..c93d107430fb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteAdRulesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDeleteAdRulesRequest + */ +class BatchDeleteAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * Please see {@see AdRuleServiceClient::adRuleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeleteAdRulesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. Resource names for the AdRule. + * Format: + * `networks/{network_code}/adRules/{ad_rule}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersRequest.php new file mode 100644 index 000000000000..1b218b4367ff --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDeleteOrdersRequest + */ +class BatchDeleteOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to delete. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to delete. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDeleteOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to delete. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to delete. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to delete. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersResponse.php new file mode 100644 index 000000000000..dcaa30150bbb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDeleteOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDeleteOrdersResponse + */ +class BatchDeleteOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersRequest.php new file mode 100644 index 000000000000..3c4bb45489c3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDisapproveOrdersRequest + */ +class BatchDisapproveOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to disapprove. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to disapprove. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDisapproveOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to disapprove. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to disapprove. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to disapprove. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersResponse.php new file mode 100644 index 000000000000..19b2df415e37 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDisapproveOrdersResponse + */ +class BatchDisapproveOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesRequest.php new file mode 100644 index 000000000000..8ca72aade1e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchDisapproveOrdersWithoutReservationChangesRequest + */ +class BatchDisapproveOrdersWithoutReservationChangesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to disapprove without + * reservation changes. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to disapprove without + * reservation changes. Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchDisapproveOrdersWithoutReservationChangesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to disapprove without + * reservation changes. Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to disapprove without + * reservation changes. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to disapprove without + * reservation changes. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesResponse.php new file mode 100644 index 000000000000..1dd20240488e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchDisapproveOrdersWithoutReservationChangesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchDisapproveOrdersWithoutReservationChangesResponse + */ +class BatchDisapproveOrdersWithoutReservationChangesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsRequest.php new file mode 100644 index 000000000000..ba2093f89aa0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchPauseAdsLiveStreamsRequest + */ +class BatchPauseAdsLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `LiveStream`s to pause ads on. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `LiveStream`s to pause ads on. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchPauseAdsLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `LiveStream`s to pause ads on. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `LiveStream`s to pause ads on. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `LiveStream`s to pause ads on. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsResponse.php new file mode 100644 index 000000000000..336f6c80b170 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseAdsLiveStreamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchPauseAdsLiveStreamsResponse + */ +class BatchPauseAdsLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsRequest.php new file mode 100644 index 000000000000..e77007efb0cb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchPauseLiveStreamsRequest + */ +class BatchPauseLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `LiveStream`s to pause. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `LiveStream`s to pause. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchPauseLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `LiveStream`s to pause. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `LiveStream`s to pause. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `LiveStream`s to pause. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsResponse.php new file mode 100644 index 000000000000..0d80be9b4c07 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseLiveStreamsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchPauseLiveStreamsResponse + */ +class BatchPauseLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersRequest.php new file mode 100644 index 000000000000..26fbaae3b889 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchPauseOrdersRequest + */ +class BatchPauseOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to pause. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to pause. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchPauseOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to pause. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to pause. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to pause. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersResponse.php new file mode 100644 index 000000000000..a220fb2e1f99 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchPauseOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchPauseOrdersResponse + */ +class BatchPauseOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsRequest.php new file mode 100644 index 000000000000..4ef7686587ab --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchRefreshMasterPlaylistsRequest + */ +class BatchRefreshMasterPlaylistsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `LiveStream`s to refresh master + * playlists on. Format: + * `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `LiveStream`s to refresh master + * playlists on. Format: + * `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchRefreshMasterPlaylistsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `LiveStream`s to refresh master + * playlists on. Format: + * `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `LiveStream`s to refresh master + * playlists on. Format: + * `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `LiveStream`s to refresh master + * playlists on. Format: + * `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsResponse.php new file mode 100644 index 000000000000..b60f93526c87 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRefreshMasterPlaylistsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchRefreshMasterPlaylistsResponse + */ +class BatchRefreshMasterPlaylistsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersRequest.php new file mode 100644 index 000000000000..94d1702aba2c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchResumeAndOverbookOrdersRequest + */ +class BatchResumeAndOverbookOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to resume and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to resume and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchResumeAndOverbookOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to resume and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to resume and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to resume and overbook. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersResponse.php new file mode 100644 index 000000000000..def43c19866a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeAndOverbookOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchResumeAndOverbookOrdersResponse + */ +class BatchResumeAndOverbookOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersRequest.php new file mode 100644 index 000000000000..6514c2b9dffa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersRequest.php @@ -0,0 +1,166 @@ +google.ads.admanager.v1.BatchResumeOrdersRequest + */ +class BatchResumeOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to resume. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip_inventory_check = false; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to resume. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchResumeOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to resume. + * Format: `networks/{network_code}/orders/{order_id}` + * @type bool $skip_inventory_check + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to resume. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to resume. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSkipInventoryCheck() + { + return $this->skip_inventory_check; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSkipInventoryCheck($var) + { + GPBUtil::checkBool($var); + $this->skip_inventory_check = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersResponse.php new file mode 100644 index 000000000000..466004c1f71c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchResumeOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchResumeOrdersResponse + */ +class BatchResumeOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersRequest.php new file mode 100644 index 000000000000..525339552896 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchRetractOrdersRequest + */ +class BatchRetractOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchRetractOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersResponse.php new file mode 100644 index 000000000000..0216d30a3764 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchRetractOrdersResponse + */ +class BatchRetractOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesRequest.php new file mode 100644 index 000000000000..315eb4466cfc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchRetractOrdersWithoutReservationChangesRequest + */ +class BatchRetractOrdersWithoutReservationChangesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchRetractOrdersWithoutReservationChangesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to retract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesResponse.php new file mode 100644 index 000000000000..865b19cd71c4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchRetractOrdersWithoutReservationChangesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchRetractOrdersWithoutReservationChangesResponse + */ +class BatchRetractOrdersWithoutReservationChangesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookRequest.php new file mode 100644 index 000000000000..6979ad79a5fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalAndOverbookRequest + */ +class BatchSubmitOrdersForApprovalAndOverbookRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to submit for approval and + * overbook. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to submit for approval and + * overbook. Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchSubmitOrdersForApprovalAndOverbookRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to submit for approval and + * overbook. Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to submit for approval and + * overbook. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to submit for approval and + * overbook. Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookResponse.php new file mode 100644 index 000000000000..8b499a9f6097 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalAndOverbookResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalAndOverbookResponse + */ +class BatchSubmitOrdersForApprovalAndOverbookResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalRequest.php new file mode 100644 index 000000000000..49b458eef853 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalRequest.php @@ -0,0 +1,166 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalRequest + */ +class BatchSubmitOrdersForApprovalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip_inventory_check = false; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchSubmitOrdersForApprovalRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * @type bool $skip_inventory_check + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSkipInventoryCheck() + { + return $this->skip_inventory_check; + } + + /** + * Optional. Indicates whether the inventory check should be skipped when + * performing this action. + * + * Generated from protobuf field bool skip_inventory_check = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSkipInventoryCheck($var) + { + GPBUtil::checkBool($var); + $this->skip_inventory_check = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalResponse.php new file mode 100644 index 000000000000..6e3457f6d014 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalResponse + */ +class BatchSubmitOrdersForApprovalResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesRequest.php new file mode 100644 index 000000000000..d21488c52557 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesRequest.php @@ -0,0 +1,129 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalWithoutReservationChangesRequest + */ +class BatchSubmitOrdersForApprovalWithoutReservationChangesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchSubmitOrdersForApprovalWithoutReservationChangesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to submit for approval. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesResponse.php new file mode 100644 index 000000000000..87f12ca91150 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitOrdersForApprovalWithoutReservationChangesResponse.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.BatchSubmitOrdersForApprovalWithoutReservationChangesResponse + */ +class BatchSubmitOrdersForApprovalWithoutReservationChangesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalRequest.php new file mode 100644 index 000000000000..2f0f3b1b63e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalRequest.php @@ -0,0 +1,117 @@ +google.ads.admanager.v1.BatchSubmitSitesForApprovalRequest + */ +class BatchSubmitSitesForApprovalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the `Site` objects to submit for approval. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $names; + + /** + * @param string $parent Required. Format: `networks/{network_code}` + * Please see {@see SiteServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the `Site` objects to submit for approval. + * + * @return \Google\Ads\AdManager\V1\BatchSubmitSitesForApprovalRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the `Site` objects to submit for approval. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the `Site` objects to submit for approval. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the `Site` objects to submit for approval. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalResponse.php new file mode 100644 index 000000000000..68bcaf455c81 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchSubmitSitesForApprovalResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchSubmitSitesForApprovalResponse + */ +class BatchSubmitSitesForApprovalResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsRequest.php new file mode 100644 index 000000000000..518eaa74a9fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsRequest.php @@ -0,0 +1,123 @@ +google.ads.admanager.v1.BatchUnarchiveApplicationsRequest + */ +class BatchUnarchiveApplicationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource shared by all `Applications` to Unarchive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Application` objects to unarchive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource shared by all `Applications` to Unarchive. + * Format: `networks/{network_code}` + * Please see {@see ApplicationServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The `Application` objects to unarchive. Please see + * {@see ApplicationServiceClient::applicationName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchUnarchiveApplicationsRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource shared by all `Applications` to Unarchive. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The `Application` objects to unarchive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource shared by all `Applications` to Unarchive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource shared by all `Applications` to Unarchive. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Application` objects to unarchive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The `Application` objects to unarchive. + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsResponse.php new file mode 100644 index 000000000000..fc324847fcc8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveApplicationsResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchUnarchiveApplicationsResponse + */ +class BatchUnarchiveApplicationsResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersRequest.php new file mode 100644 index 000000000000..a76914512709 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchUnarchiveOrdersRequest + */ +class BatchUnarchiveOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the orders to extract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the orders to extract. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchUnarchiveOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type string[] $names + * Required. The resource names of the orders to extract. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the orders to extract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the orders to extract. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersResponse.php new file mode 100644 index 000000000000..b6f93be51a8d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveOrdersResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchUnarchiveOrdersResponse + */ +class BatchUnarchiveOrdersResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesRequest.php new file mode 100644 index 000000000000..7dcbb19d0d0a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesRequest.php @@ -0,0 +1,128 @@ +google.ads.admanager.v1.BatchUnarchiveSlatesRequest + */ +class BatchUnarchiveSlatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The resource names of the slates to unarchive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * @param string $parent Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * Please see {@see SlateServiceClient::networkName()} for help formatting this field. + * @param string[] $names Required. The resource names of the slates to unarchive. + * Format: "networks/{network_code}/slates/{slate_id}" + * Please see {@see SlateServiceClient::slateName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\BatchUnarchiveSlatesRequest + * + * @experimental + */ + public static function build(string $parent, array $names): self + { + return (new self()) + ->setParent($parent) + ->setNames($names); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * @type string[] $names + * Required. The resource names of the slates to unarchive. + * Format: "networks/{network_code}/slates/{slate_id}" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource containing the slates. + * Format: "networks/{network_code}" + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The resource names of the slates to unarchive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The resource names of the slates to unarchive. + * Format: "networks/{network_code}/slates/{slate_id}" + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesResponse.php new file mode 100644 index 000000000000..743022aad083 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUnarchiveSlatesResponse.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.BatchUnarchiveSlatesResponse + */ +class BatchUnarchiveSlatesResponse extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesRequest.php new file mode 100644 index 000000000000..1d6bf4662e84 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateAdRulesRequest + */ +class BatchUpdateAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdRules` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdRule` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdRules` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdRuleRequest must match this + * field. Please see + * {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateAdRuleRequest[] $requests Required. The `AdRule` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateAdRulesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdRules` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdRuleRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateAdRuleRequest[] $requests + * Required. The `AdRule` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdRules` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdRules` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdRuleRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdRule` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateAdRuleRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdRule` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdRuleRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateAdRuleRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateAdRuleRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesResponse.php new file mode 100644 index 000000000000..df2830f78787 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdRulesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateAdRulesResponse + */ +class BatchUpdateAdRulesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdRule` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + */ + private $ad_rules; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdRule[] $ad_rules + * The `AdRule` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdRule` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdRule> + */ + public function getAdRules() + { + return $this->ad_rules; + } + + /** + * The `AdRule` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @param \Google\Ads\AdManager\V1\AdRule[] $var + * @return $this + */ + public function setAdRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdRule::class); + $this->ad_rules = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsRequest.php new file mode 100644 index 000000000000..73691e1e0583 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateAdSpotsRequest + */ +class BatchUpdateAdSpotsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdSpots` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdSpot` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdSpots` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdSpotRequest must match this + * field. Please see + * {@see AdSpotServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateAdSpotRequest[] $requests Required. The `AdSpot` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateAdSpotsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdSpots` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdSpotRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateAdSpotRequest[] $requests + * Required. The `AdSpot` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdSpots` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdSpots` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdSpotRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdSpot` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateAdSpotRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdSpot` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdSpotRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateAdSpotRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateAdSpotRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsResponse.php new file mode 100644 index 000000000000..0e09d9b69605 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdSpotsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateAdSpotsResponse + */ +class BatchUpdateAdSpotsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdSpot` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + */ + private $ad_spots; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdSpot[] $ad_spots + * The `AdSpot` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdSpot` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdSpot> + */ + public function getAdSpots() + { + return $this->ad_spots; + } + + /** + * The `AdSpot` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @param \Google\Ads\AdManager\V1\AdSpot[] $var + * @return $this + */ + public function setAdSpots($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdSpot::class); + $this->ad_spots = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsRequest.php new file mode 100644 index 000000000000..5936950b2839 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateAdUnitsRequest + */ +class BatchUpdateAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `AdUnits` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdUnit` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `AdUnits` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdUnitRequest must match this + * field. Please see + * {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateAdUnitRequest[] $requests Required. The `AdUnit` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `AdUnits` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdUnitRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateAdUnitRequest[] $requests + * Required. The `AdUnit` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `AdUnits` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `AdUnits` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateAdUnitRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdUnit` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateAdUnitRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `AdUnit` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateAdUnitRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateAdUnitRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateAdUnitRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsResponse.php new file mode 100644 index 000000000000..0a407d574256 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateAdUnitsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateAdUnitsResponse + */ +class BatchUpdateAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdUnit` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + */ + private $ad_units; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnit[] $ad_units + * The `AdUnit` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdUnit` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnit> + */ + public function getAdUnits() + { + return $this->ad_units; + } + + /** + * The `AdUnit` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @param \Google\Ads\AdManager\V1\AdUnit[] $var + * @return $this + */ + public function setAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnit::class); + $this->ad_units = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsRequest.php new file mode 100644 index 000000000000..bd9ebb23d855 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchUpdateApplicationsRequest + */ +class BatchUpdateApplicationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Applications` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Application` objects to update. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Applications` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateApplicationRequest must match this + * field. Please see + * {@see ApplicationServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateApplicationRequest[] $requests Required. The `Application` objects to update. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateApplicationsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Applications` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateApplicationRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateApplicationRequest[] $requests + * Required. The `Application` objects to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Applications` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Applications` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateApplicationRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Application` objects to update. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateApplicationRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Application` objects to update. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateApplicationRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateApplicationRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateApplicationRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsResponse.php new file mode 100644 index 000000000000..479e14b95475 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateApplicationsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateApplicationsResponse + */ +class BatchUpdateApplicationsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Application` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + */ + private $applications; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Application[] $applications + * The `Application` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * The `Application` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Application> + */ + public function getApplications() + { + return $this->applications; + } + + /** + * The `Application` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @param \Google\Ads\AdManager\V1\Application[] $var + * @return $this + */ + public function setApplications($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Application::class); + $this->applications = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsRequest.php new file mode 100644 index 000000000000..f7c0d89c2221 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateCdnConfigsRequest + */ +class BatchUpdateCdnConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CdnConfigs` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CdnConfig` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CdnConfigs` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCdnConfigRequest must match this + * field. Please see + * {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateCdnConfigRequest[] $requests Required. The `CdnConfig` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateCdnConfigsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CdnConfigs` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCdnConfigRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateCdnConfigRequest[] $requests + * Required. The `CdnConfig` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CdnConfigs` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CdnConfigs` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCdnConfigRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CdnConfig` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateCdnConfigRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CdnConfig` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCdnConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateCdnConfigRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateCdnConfigRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsResponse.php new file mode 100644 index 000000000000..1011626c5369 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCdnConfigsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateCdnConfigsResponse + */ +class BatchUpdateCdnConfigsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CdnConfig` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + */ + private $cdn_configs; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CdnConfig[] $cdn_configs + * The `CdnConfig` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * The `CdnConfig` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CdnConfig> + */ + public function getCdnConfigs() + { + return $this->cdn_configs; + } + + /** + * The `CdnConfig` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @param \Google\Ads\AdManager\V1\CdnConfig[] $var + * @return $this + */ + public function setCdnConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CdnConfig::class); + $this->cdn_configs = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsRequest.php new file mode 100644 index 000000000000..85e1e3febf32 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateContactsRequest + */ +class BatchUpdateContactsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Contacts` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Contact` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Contacts` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateContactRequest must match this + * field. Please see + * {@see ContactServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateContactRequest[] $requests Required. The `Contact` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateContactsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Contacts` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateContactRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateContactRequest[] $requests + * Required. The `Contact` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Contacts` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Contacts` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateContactRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Contact` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateContactRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Contact` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateContactRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateContactRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateContactRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsResponse.php new file mode 100644 index 000000000000..be721196e2dd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateContactsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateContactsResponse + */ +class BatchUpdateContactsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Contact` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + */ + private $contacts; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Contact[] $contacts + * The `Contact` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * The `Contact` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Contact> + */ + public function getContacts() + { + return $this->contacts; + } + + /** + * The `Contact` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @param \Google\Ads\AdManager\V1\Contact[] $var + * @return $this + */ + public function setContacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Contact::class); + $this->contacts = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsRequest.php new file mode 100644 index 000000000000..f0673c4a410b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateCustomFieldsRequest + */ +class BatchUpdateCustomFieldsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CustomFields` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomField` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CustomFields` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomFieldRequest must match this + * field. Please see + * {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateCustomFieldRequest[] $requests Required. The `CustomField` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateCustomFieldsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CustomFields` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomFieldRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateCustomFieldRequest[] $requests + * Required. The `CustomField` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CustomFields` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CustomFields` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomFieldRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomField` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateCustomFieldRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomField` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomFieldRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateCustomFieldRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateCustomFieldRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsResponse.php new file mode 100644 index 000000000000..9e70efde6b4b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomFieldsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateCustomFieldsResponse + */ +class BatchUpdateCustomFieldsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomField` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + */ + private $custom_fields; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomField[] $custom_fields + * The `CustomField` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomField` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomField> + */ + public function getCustomFields() + { + return $this->custom_fields; + } + + /** + * The `CustomField` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @param \Google\Ads\AdManager\V1\CustomField[] $var + * @return $this + */ + public function setCustomFields($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomField::class); + $this->custom_fields = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysRequest.php new file mode 100644 index 000000000000..c6cca2ad3e66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest + */ +class BatchUpdateCustomTargetingKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `CustomTargetingKeys` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingKey` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `CustomTargetingKeys` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomTargetingKeyRequest must match this + * field. Please see + * {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest[] $requests Required. The `CustomTargetingKey` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateCustomTargetingKeysRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `CustomTargetingKeys` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomTargetingKeyRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest[] $requests + * Required. The `CustomTargetingKey` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `CustomTargetingKeys` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `CustomTargetingKeys` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateCustomTargetingKeyRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingKey` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingKey` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingKeyRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysResponse.php new file mode 100644 index 000000000000..3f77763614f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingKeysResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse + */ +class BatchUpdateCustomTargetingKeysResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingKey` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + */ + private $custom_targeting_keys; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingKey[] $custom_targeting_keys + * The `CustomTargetingKey` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingKey` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingKey> + */ + public function getCustomTargetingKeys() + { + return $this->custom_targeting_keys; + } + + /** + * The `CustomTargetingKey` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingKey[] $var + * @return $this + */ + public function setCustomTargetingKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingKey::class); + $this->custom_targeting_keys = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesRequest.php new file mode 100644 index 000000000000..94ee9cd7991a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchUpdateCustomTargetingValuesRequest + */ +class BatchUpdateCustomTargetingValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingValue` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest[] $requests Required. The `CustomTargetingValue` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateCustomTargetingValuesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest[] $requests + * Required. The `CustomTargetingValue` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingValue` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `CustomTargetingValue` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateCustomTargetingValueRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesResponse.php new file mode 100644 index 000000000000..46d3cd6038c0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateCustomTargetingValuesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateCustomTargetingValuesResponse + */ +class BatchUpdateCustomTargetingValuesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingValue` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + */ + private $custom_targeting_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingValue[] $custom_targeting_values + * The `CustomTargetingValue` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingValue` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingValue> + */ + public function getCustomTargetingValues() + { + return $this->custom_targeting_values; + } + + /** + * The `CustomTargetingValue` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingValue[] $var + * @return $this + */ + public function setCustomTargetingValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingValue::class); + $this->custom_targeting_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsRequest.php new file mode 100644 index 000000000000..8c78a9d12d84 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsRequest + */ +class BatchUpdateEntitySignalsMappingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * updated. Format: `networks/{network_code}` The parent field in the + * UpdateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `EntitySignalsMapping` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `EntitySignalsMappings` will be + * updated. Format: `networks/{network_code}` The parent field in the + * UpdateEntitySignalsMappingRequest must match this field. Please see + * {@see EntitySignalsMappingServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest[] $requests Required. The `EntitySignalsMapping` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateEntitySignalsMappingsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `EntitySignalsMappings` will be + * updated. Format: `networks/{network_code}` The parent field in the + * UpdateEntitySignalsMappingRequest must match this field. + * @type \Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest[] $requests + * Required. The `EntitySignalsMapping` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * updated. Format: `networks/{network_code}` The parent field in the + * UpdateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `EntitySignalsMappings` will be + * updated. Format: `networks/{network_code}` The parent field in the + * UpdateEntitySignalsMappingRequest must match this field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `EntitySignalsMapping` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `EntitySignalsMapping` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateEntitySignalsMappingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsResponse.php new file mode 100644 index 000000000000..cfa18804f3a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateEntitySignalsMappingsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsResponse + */ +class BatchUpdateEntitySignalsMappingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `EntitySignalsMapping` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + */ + private $entity_signals_mappings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\EntitySignalsMapping[] $entity_signals_mappings + * The `EntitySignalsMapping` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * The `EntitySignalsMapping` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\EntitySignalsMapping> + */ + public function getEntitySignalsMappings() + { + return $this->entity_signals_mappings; + } + + /** + * The `EntitySignalsMapping` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping[] $var + * @return $this + */ + public function setEntitySignalsMappings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\EntitySignalsMapping::class); + $this->entity_signals_mappings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsRequest.php new file mode 100644 index 000000000000..effd92a463d6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateLabelsRequest + */ +class BatchUpdateLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Labels` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Label` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Labels` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLabelRequest must match this + * field. Please see + * {@see LabelServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateLabelRequest[] $requests Required. The `Label` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateLabelsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Labels` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLabelRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateLabelRequest[] $requests + * Required. The `Label` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Labels` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Labels` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLabelRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Label` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateLabelRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Label` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLabelRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateLabelRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateLabelRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsResponse.php new file mode 100644 index 000000000000..d7aed0280209 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLabelsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateLabelsResponse + */ +class BatchUpdateLabelsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Label` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + */ + private $labels; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Label[] $labels + * The `Label` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * The `Label` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Label> + */ + public function getLabels() + { + return $this->labels; + } + + /** + * The `Label` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @param \Google\Ads\AdManager\V1\Label[] $var + * @return $this + */ + public function setLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Label::class); + $this->labels = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsRequest.php new file mode 100644 index 000000000000..98d55f206e67 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateLiveStreamsRequest + */ +class BatchUpdateLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `LiveStreams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `LiveStream` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `LiveStreams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLiveStreamRequest must match this + * field. Please see + * {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateLiveStreamRequest[] $requests Required. The `LiveStream` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `LiveStreams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLiveStreamRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateLiveStreamRequest[] $requests + * Required. The `LiveStream` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `LiveStreams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `LiveStreams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateLiveStreamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `LiveStream` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateLiveStreamRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `LiveStream` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateLiveStreamRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateLiveStreamRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsResponse.php new file mode 100644 index 000000000000..ac8a9ae81ed8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateLiveStreamsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateLiveStreamsResponse + */ +class BatchUpdateLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `LiveStream` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + */ + private $live_streams; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LiveStream[] $live_streams + * The `LiveStream` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * The `LiveStream` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\LiveStream> + */ + public function getLiveStreams() + { + return $this->live_streams; + } + + /** + * The `LiveStream` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @param \Google\Ads\AdManager\V1\LiveStream[] $var + * @return $this + */ + public function setLiveStreams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LiveStream::class); + $this->live_streams = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersRequest.php new file mode 100644 index 000000000000..6644333bb049 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateOrdersRequest + */ +class BatchUpdateOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Orders` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Order` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Orders` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateOrderRequest must match this + * field. Please see + * {@see OrderServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateOrderRequest[] $requests Required. The `Order` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateOrdersRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Orders` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateOrderRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateOrderRequest[] $requests + * Required. The `Order` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Orders` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Orders` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateOrderRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Order` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateOrderRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Order` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateOrderRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateOrderRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersResponse.php new file mode 100644 index 000000000000..6b3200febe53 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateOrdersResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateOrdersResponse + */ +class BatchUpdateOrdersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Order` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + */ + private $orders; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Order[] $orders + * The `Order` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * The `Order` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Order> + */ + public function getOrders() + { + return $this->orders; + } + + /** + * The `Order` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @param \Google\Ads\AdManager\V1\Order[] $var + * @return $this + */ + public function setOrders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Order::class); + $this->orders = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsRequest.php new file mode 100644 index 000000000000..5b769ff10477 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdatePlacementsRequest + */ +class BatchUpdatePlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Placements` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdatePlacementsRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Placement` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Placements` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdatePlacementsRequest must match this + * field. Please see + * {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdatePlacementRequest[] $requests Required. The `Placement` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdatePlacementsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Placements` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdatePlacementsRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdatePlacementRequest[] $requests + * Required. The `Placement` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Placements` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdatePlacementsRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Placements` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdatePlacementsRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Placement` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdatePlacementRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Placement` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdatePlacementRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdatePlacementRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdatePlacementRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsResponse.php new file mode 100644 index 000000000000..ec8c8fcc8525 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdatePlacementsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdatePlacementsResponse + */ +class BatchUpdatePlacementsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Placement` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + */ + private $placements; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Placement[] $placements + * The `Placement` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * The `Placement` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Placement> + */ + public function getPlacements() + { + return $this->placements; + } + + /** + * The `Placement` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @param \Google\Ads\AdManager\V1\Placement[] $var + * @return $this + */ + public function setPlacements($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Placement::class); + $this->placements = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesRequest.php new file mode 100644 index 000000000000..a2b7b9fe2a0d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateSitesRequest + */ +class BatchUpdateSitesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Sites` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Site` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Sites` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSiteRequest must match this + * field. Please see + * {@see SiteServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateSiteRequest[] $requests Required. The `Site` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateSitesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Sites` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSiteRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateSiteRequest[] $requests + * Required. The `Site` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Sites` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Sites` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSiteRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Site` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateSiteRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Site` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateSiteRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateSiteRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesResponse.php new file mode 100644 index 000000000000..255300d4f4e7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSitesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateSitesResponse + */ +class BatchUpdateSitesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Site` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + */ + private $sites; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Site[] $sites + * The `Site` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * The `Site` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Site> + */ + public function getSites() + { + return $this->sites; + } + + /** + * The `Site` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @param \Google\Ads\AdManager\V1\Site[] $var + * @return $this + */ + public function setSites($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Site::class); + $this->sites = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesRequest.php new file mode 100644 index 000000000000..99a267d23ea4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateSlatesRequest + */ +class BatchUpdateSlatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Slates` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Slate` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Slates` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSlateRequest must match this + * field. Please see + * {@see SlateServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateSlateRequest[] $requests Required. The `Slate` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateSlatesRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Slates` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSlateRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateSlateRequest[] $requests + * Required. The `Slate` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Slates` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Slates` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateSlateRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Slate` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateSlateRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Slate` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateSlateRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateSlateRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateSlateRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesResponse.php new file mode 100644 index 000000000000..8fb06b8586bf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateSlatesResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateSlatesResponse + */ +class BatchUpdateSlatesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Slate` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + */ + private $slates; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Slate[] $slates + * The `Slate` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * The `Slate` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Slate> + */ + public function getSlates() + { + return $this->slates; + } + + /** + * The `Slate` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @param \Google\Ads\AdManager\V1\Slate[] $var + * @return $this + */ + public function setSlates($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Slate::class); + $this->slates = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsRequest.php new file mode 100644 index 000000000000..953b18047c2c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateTargetingPresetsRequest + */ +class BatchUpdateTargetingPresetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `TargetingPresets` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `TargetingPreset` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `TargetingPresets` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTargetingPresetRequest must match this + * field. Please see + * {@see TargetingPresetServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateTargetingPresetRequest[] $requests Required. The `TargetingPreset` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateTargetingPresetsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `TargetingPresets` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTargetingPresetRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateTargetingPresetRequest[] $requests + * Required. The `TargetingPreset` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `TargetingPresets` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `TargetingPresets` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTargetingPresetRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `TargetingPreset` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateTargetingPresetRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `TargetingPreset` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTargetingPresetRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateTargetingPresetRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateTargetingPresetRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsResponse.php new file mode 100644 index 000000000000..4eb35320a48f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTargetingPresetsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateTargetingPresetsResponse + */ +class BatchUpdateTargetingPresetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `TargetingPreset` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + */ + private $targeting_presets; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\TargetingPreset[] $targeting_presets + * The `TargetingPreset` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * The `TargetingPreset` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\TargetingPreset> + */ + public function getTargetingPresets() + { + return $this->targeting_presets; + } + + /** + * The `TargetingPreset` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @param \Google\Ads\AdManager\V1\TargetingPreset[] $var + * @return $this + */ + public function setTargetingPresets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\TargetingPreset::class); + $this->targeting_presets = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsRequest.php new file mode 100644 index 000000000000..15237715d204 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.BatchUpdateTeamsRequest + */ +class BatchUpdateTeamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where `Teams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Team` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * @param string $parent Required. The parent resource where `Teams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTeamRequest must match this + * field. Please see + * {@see TeamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\UpdateTeamRequest[] $requests Required. The `Team` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * @return \Google\Ads\AdManager\V1\BatchUpdateTeamsRequest + * + * @experimental + */ + public static function build(string $parent, array $requests): self + { + return (new self()) + ->setParent($parent) + ->setRequests($requests); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where `Teams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTeamRequest must match this + * field. + * @type \Google\Ads\AdManager\V1\UpdateTeamRequest[] $requests + * Required. The `Team` objects to update. + * A maximum of 100 objects can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where `Teams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where `Teams` will be updated. + * Format: `networks/{network_code}` + * The parent field in the UpdateTeamRequest must match this + * field. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Team` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\UpdateTeamRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The `Team` objects to update. + * A maximum of 100 objects can be updated in a batch. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.UpdateTeamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\UpdateTeamRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\UpdateTeamRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsResponse.php new file mode 100644 index 000000000000..9867060fc59e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BatchUpdateTeamsResponse.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.BatchUpdateTeamsResponse + */ +class BatchUpdateTeamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Team` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + */ + private $teams; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Team[] $teams + * The `Team` objects updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * The `Team` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Team> + */ + public function getTeams() + { + return $this->teams; + } + + /** + * The `Team` objects updated. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @param \Google\Ads\AdManager\V1\Team[] $var + * @return $this + */ + public function setTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Team::class); + $this->teams = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum.php new file mode 100644 index 000000000000..a931d53f7ba9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.BrandLiftPartnerEnum + */ +class BrandLiftPartnerEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrandLiftPartnerEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum/BrandLiftPartner.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum/BrandLiftPartner.php new file mode 100644 index 000000000000..8659c0dca2a4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrandLiftPartnerEnum/BrandLiftPartner.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.BrandLiftPartnerEnum.BrandLiftPartner + */ +class BrandLiftPartner +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum BRAND_LIFT_PARTNER_UNSPECIFIED = 0; + */ + const BRAND_LIFT_PARTNER_UNSPECIFIED = 0; + /** + * Indicates brand lift partner Dynata. + * + * Generated from protobuf enum DYNATA = 1; + */ + const DYNATA = 1; + /** + * Indicates brand lift partner Intage. + * + * Generated from protobuf enum INTAGE = 3; + */ + const INTAGE = 3; + /** + * Indicates brand lift partner Kantar. + * + * Generated from protobuf enum KANTAR_MILLWARD_BROWN = 4; + */ + const KANTAR_MILLWARD_BROWN = 4; + /** + * Indicates brand lift partner Macromill. + * + * Generated from protobuf enum MACROMILL = 5; + */ + const MACROMILL = 5; + /** + * Indicates there's no brand lift partner. + * + * Generated from protobuf enum NONE = 7; + */ + const NONE = 7; + + private static $valueToName = [ + self::BRAND_LIFT_PARTNER_UNSPECIFIED => 'BRAND_LIFT_PARTNER_UNSPECIFIED', + self::DYNATA => 'DYNATA', + self::INTAGE => 'INTAGE', + self::KANTAR_MILLWARD_BROWN => 'KANTAR_MILLWARD_BROWN', + self::MACROMILL => 'MACROMILL', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Browser.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Browser.php new file mode 100644 index 000000000000..b63f461a15bb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Browser.php @@ -0,0 +1,203 @@ +google.ads.admanager.v1.Browser + */ +class Browser extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Browser`. + * Format: `networks/{network_code}/browsers/{browser}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The display name of the browser, including version info. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The major version of the browser. + * + * Generated from protobuf field optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $major_version = null; + /** + * Output only. The minor version of the browser. + * + * Generated from protobuf field optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $minor_version = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Browser`. + * Format: `networks/{network_code}/browsers/{browser}` + * @type string $display_name + * Output only. The display name of the browser, including version info. + * @type string $major_version + * Output only. The major version of the browser. + * @type string $minor_version + * Output only. The minor version of the browser. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Browser`. + * Format: `networks/{network_code}/browsers/{browser}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Browser`. + * Format: `networks/{network_code}/browsers/{browser}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The display name of the browser, including version info. + * + * Generated from protobuf field optional string display_name = 2 [(.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 browser, including version info. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The major version of the browser. + * + * Generated from protobuf field optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getMajorVersion() + { + return isset($this->major_version) ? $this->major_version : ''; + } + + public function hasMajorVersion() + { + return isset($this->major_version); + } + + public function clearMajorVersion() + { + unset($this->major_version); + } + + /** + * Output only. The major version of the browser. + * + * Generated from protobuf field optional string major_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setMajorVersion($var) + { + GPBUtil::checkString($var, True); + $this->major_version = $var; + + return $this; + } + + /** + * Output only. The minor version of the browser. + * + * Generated from protobuf field optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getMinorVersion() + { + return isset($this->minor_version) ? $this->minor_version : ''; + } + + public function hasMinorVersion() + { + return isset($this->minor_version); + } + + public function clearMinorVersion() + { + unset($this->minor_version); + } + + /** + * Output only. The minor version of the browser. + * + * Generated from protobuf field optional string minor_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setMinorVersion($var) + { + GPBUtil::checkString($var, True); + $this->minor_version = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguage.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguage.php new file mode 100644 index 000000000000..d56f7fe515a9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguage.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.BrowserLanguage + */ +class BrowserLanguage extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `BrowserLanguage`. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The name of the browser language, localized. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `BrowserLanguage`. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * @type string $display_name + * Output only. The name of the browser language, localized. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserLanguageMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `BrowserLanguage`. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `BrowserLanguage`. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The name of the browser language, localized. + * + * Generated from protobuf field optional string display_name = 2 [(.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 name of the browser language, localized. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguageTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguageTargeting.php new file mode 100644 index 000000000000..4cec2555bf3d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserLanguageTargeting.php @@ -0,0 +1,113 @@ +google.ads.admanager.v1.BrowserLanguageTargeting + */ +class BrowserLanguageTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of browser language resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browser_languages = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_browser_languages; + /** + * Optional. A list of browser language resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_browser_languages = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_browser_languages; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_browser_languages + * Optional. A list of browser language resource names that should be + * targeted/included. + * @type string[] $excluded_browser_languages + * Optional. A list of browser language resource names that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of browser language resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browser_languages = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedBrowserLanguages() + { + return $this->targeted_browser_languages; + } + + /** + * Optional. A list of browser language resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browser_languages = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedBrowserLanguages($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_browser_languages = $arr; + + return $this; + } + + /** + * Optional. A list of browser language resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_browser_languages = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedBrowserLanguages() + { + return $this->excluded_browser_languages; + } + + /** + * Optional. A list of browser language resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_browser_languages = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedBrowserLanguages($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_browser_languages = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserTargeting.php new file mode 100644 index 000000000000..891c2f9d4903 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/BrowserTargeting.php @@ -0,0 +1,109 @@ + + * Browser). + * + * Generated from protobuf message google.ads.admanager.v1.BrowserTargeting + */ +class BrowserTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of browser resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browsers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_browsers; + /** + * Optional. A list of browser resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_browsers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_browsers; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_browsers + * Optional. A list of browser resource names that should be + * targeted/included. + * @type string[] $excluded_browsers + * Optional. A list of browser resource names that should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of browser resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browsers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedBrowsers() + { + return $this->targeted_browsers; + } + + /** + * Optional. A list of browser resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_browsers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedBrowsers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_browsers = $arr; + + return $this; + } + + /** + * Optional. A list of browser resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_browsers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedBrowsers() + { + return $this->excluded_browsers; + } + + /** + * Optional. A list of browser resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_browsers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedBrowsers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_browsers = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfig.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfig.php new file mode 100644 index 000000000000..253175b43aa1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfig.php @@ -0,0 +1,304 @@ +google.ads.admanager.v1.CdnConfig + */ +class CdnConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CdnConfig`. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the CdnConfig. This value is required to create a CDN + * config and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. The type of CDN config represented by this CdnConfig. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $cdn_config_type = null; + /** + * Optional. Parameters about this CDN config as a source of content. This + * facilitates fetching the original content for conditioning and delivering + * the original content as part of a modified stream. + * + * Generated from protobuf field .google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $source_content_config = null; + /** + * Optional. Config of CDN to deliver ad media. + * + * Generated from protobuf field .google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $ad_media_delivery_config = null; + /** + * Output only. The status of the CDN config. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $cdn_config_status = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CdnConfig`. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * @type string $display_name + * Required. The name of the CdnConfig. This value is required to create a CDN + * config and has a maximum length of 255 characters. + * @type int $cdn_config_type + * Required. The type of CDN config represented by this CdnConfig. + * @type \Google\Ads\AdManager\V1\SourceContentConfig $source_content_config + * Optional. Parameters about this CDN config as a source of content. This + * facilitates fetching the original content for conditioning and delivering + * the original content as part of a modified stream. + * @type \Google\Ads\AdManager\V1\AdMediaDeliveryConfig $ad_media_delivery_config + * Optional. Config of CDN to deliver ad media. + * @type int $cdn_config_status + * Output only. The status of the CDN config. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CdnConfig`. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CdnConfig`. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the CdnConfig. This value is required to create a CDN + * config and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the CdnConfig. This value is required to create a CDN + * config and has a maximum length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. The type of CDN config represented by this CdnConfig. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCdnConfigType() + { + return isset($this->cdn_config_type) ? $this->cdn_config_type : 0; + } + + public function hasCdnConfigType() + { + return isset($this->cdn_config_type); + } + + public function clearCdnConfigType() + { + unset($this->cdn_config_type); + } + + /** + * Required. The type of CDN config represented by this CdnConfig. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType cdn_config_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCdnConfigType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CdnConfigTypeEnum\CdnConfigType::class); + $this->cdn_config_type = $var; + + return $this; + } + + /** + * Optional. Parameters about this CDN config as a source of content. This + * facilitates fetching the original content for conditioning and delivering + * the original content as part of a modified stream. + * + * Generated from protobuf field .google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\SourceContentConfig|null + */ + public function getSourceContentConfig() + { + return $this->source_content_config; + } + + public function hasSourceContentConfig() + { + return isset($this->source_content_config); + } + + public function clearSourceContentConfig() + { + unset($this->source_content_config); + } + + /** + * Optional. Parameters about this CDN config as a source of content. This + * facilitates fetching the original content for conditioning and delivering + * the original content as part of a modified stream. + * + * Generated from protobuf field .google.ads.admanager.v1.SourceContentConfig source_content_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\SourceContentConfig $var + * @return $this + */ + public function setSourceContentConfig($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\SourceContentConfig::class); + $this->source_content_config = $var; + + return $this; + } + + /** + * Optional. Config of CDN to deliver ad media. + * + * Generated from protobuf field .google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\AdMediaDeliveryConfig|null + */ + public function getAdMediaDeliveryConfig() + { + return $this->ad_media_delivery_config; + } + + public function hasAdMediaDeliveryConfig() + { + return isset($this->ad_media_delivery_config); + } + + public function clearAdMediaDeliveryConfig() + { + unset($this->ad_media_delivery_config); + } + + /** + * Optional. Config of CDN to deliver ad media. + * + * Generated from protobuf field .google.ads.admanager.v1.AdMediaDeliveryConfig ad_media_delivery_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AdMediaDeliveryConfig $var + * @return $this + */ + public function setAdMediaDeliveryConfig($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdMediaDeliveryConfig::class); + $this->ad_media_delivery_config = $var; + + return $this; + } + + /** + * Output only. The status of the CDN config. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getCdnConfigStatus() + { + return isset($this->cdn_config_status) ? $this->cdn_config_status : 0; + } + + public function hasCdnConfigStatus() + { + return isset($this->cdn_config_status); + } + + public function clearCdnConfigStatus() + { + unset($this->cdn_config_status); + } + + /** + * Output only. The status of the CDN config. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus cdn_config_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setCdnConfigStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CdnConfigStatusEnum\CdnConfigStatus::class); + $this->cdn_config_status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum.php new file mode 100644 index 000000000000..953607f95d56 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CdnConfigStatusEnum + */ +class CdnConfigStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigStatusEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum/CdnConfigStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum/CdnConfigStatus.php new file mode 100644 index 000000000000..966a7905ef75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigStatusEnum/CdnConfigStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CdnConfigStatusEnum.CdnConfigStatus + */ +class CdnConfigStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CDN_CONFIG_STATUS_UNSPECIFIED = 0; + */ + const CDN_CONFIG_STATUS_UNSPECIFIED = 0; + /** + * The CDN configuration is in use. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The CDN configuration is no longer used. + * + * Generated from protobuf enum ARCHIVED = 2; + */ + const ARCHIVED = 2; + + private static $valueToName = [ + self::CDN_CONFIG_STATUS_UNSPECIFIED => 'CDN_CONFIG_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ARCHIVED => 'ARCHIVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum.php new file mode 100644 index 000000000000..24aa68ab79ce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CdnConfigTypeEnum + */ +class CdnConfigTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum/CdnConfigType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum/CdnConfigType.php new file mode 100644 index 000000000000..d2f34d5cc325 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnConfigTypeEnum/CdnConfigType.php @@ -0,0 +1,79 @@ +google.ads.admanager.v1.CdnConfigTypeEnum.CdnConfigType + */ +class CdnConfigType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CDN_CONFIG_TYPE_UNSPECIFIED = 0; + */ + const CDN_CONFIG_TYPE_UNSPECIFIED = 0; + /** + * A configuration that specifies a publisher-provided CDN for delivering ad + * media. + * + * Generated from protobuf enum AD_MEDIA_DELIVERY = 1; + */ + const AD_MEDIA_DELIVERY = 1; + /** + * A configuration that specifies where and how `LiveStreamEvent` + * content should be ingested and delivered. + * + * Generated from protobuf enum LIVE_STREAM_SOURCE_CONTENT = 2; + */ + const LIVE_STREAM_SOURCE_CONTENT = 2; + /** + * A configuration that specifies where and how split content should be + * uploaded and delivered. + * + * Generated from protobuf enum MIDROLL = 3; + */ + const MIDROLL = 3; + /** + * A configuration that specifies where and how video on demand content + * should be ingested and delivered. + * + * Generated from protobuf enum VOD_SOURCE_CONTENT = 4; + */ + const VOD_SOURCE_CONTENT = 4; + + private static $valueToName = [ + self::CDN_CONFIG_TYPE_UNSPECIFIED => 'CDN_CONFIG_TYPE_UNSPECIFIED', + self::AD_MEDIA_DELIVERY => 'AD_MEDIA_DELIVERY', + self::LIVE_STREAM_SOURCE_CONTENT => 'LIVE_STREAM_SOURCE_CONTENT', + self::MIDROLL => 'MIDROLL', + self::VOD_SOURCE_CONTENT => 'VOD_SOURCE_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicy.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicy.php new file mode 100644 index 000000000000..567020ecc8db --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicy.php @@ -0,0 +1,563 @@ +google.ads.admanager.v1.CdnSecurityPolicy + */ +class CdnSecurityPolicy extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Type of security policy. This determines which other fields + * should be populated. This value is required for a valid security policy. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyTypeEnum.CdnSecurityPolicyType security_policy_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $security_policy_type = null; + /** + * Optional. Shared security key used to generate the Akamai HMAC token for + * authenticating requests. Only applicable when the value of + * `CdnSecurityPolicyType` is equal to `CdnSecurityPolicyType.AKAMAI` and will + * be set to null otherwise. Required when the `CdnConfig.cdnConfigType` is + * equal to `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT` and this + * `CdnSecurityPolicy` is being configured for + * `SourceContentConfig.ingestSettings`. + * + * Generated from protobuf field optional string token_authentication_key = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $token_authentication_key = null; + /** + * Optional. Whether the segment URLs should be signed using the + * #tokenAuthenticationKey on the server. This is only applicable for delivery + * media locations that have token authentication enabled. + * + * Generated from protobuf field optional bool server_side_url_signing_disabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $server_side_url_signing_disabled = null; + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for the parent playlist. Not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `securityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. If set + * elsewhere it will be reset to null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding origin_forwarding_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $origin_forwarding_type = null; + /** + * Optional. The origin path prefix provided by the publisher for the parent + * playlist. Only applicable for delivery media locations with the value of + * `originForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string origin_path_prefix = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $origin_path_prefix = null; + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for media playlists. This setting can only be used + * with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`, is not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `CdnSecurityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. Valid + * options are `CdnSecurityPolicyOriginForwarding.NONE` or + * `CdnSecurityPolicyOriginForwarding.ORIGIN_PATH`. This setting can only be + * used with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding media_playlist_origin_forwarding_type = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $media_playlist_origin_forwarding_type = null; + /** + * Optional. The origin path prefix provided by the publisher for the media + * playlists. Only applicable for delivery media locations with the value of + * `mediaPlaylistOriginForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string media_playlist_origin_path_prefix = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $media_playlist_origin_path_prefix = null; + /** + * Optional. The name of the EdgeCacheKeyset on the Media CDN config that will + * be used to validate signed requests from DAI to ingest content. + * + * Generated from protobuf field optional string keyset = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $keyset = null; + /** + * Optional. The duration for which a request signed with a short token + * will be valid. Only required if `signedRequestMaximumExpirationTtl` has + * been set in the Media CDN config. + * + * Generated from protobuf field optional .google.protobuf.Duration signed_request_expiration_ttl = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $signed_request_expiration_ttl = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $security_policy_type + * Required. Type of security policy. This determines which other fields + * should be populated. This value is required for a valid security policy. + * @type string $token_authentication_key + * Optional. Shared security key used to generate the Akamai HMAC token for + * authenticating requests. Only applicable when the value of + * `CdnSecurityPolicyType` is equal to `CdnSecurityPolicyType.AKAMAI` and will + * be set to null otherwise. Required when the `CdnConfig.cdnConfigType` is + * equal to `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT` and this + * `CdnSecurityPolicy` is being configured for + * `SourceContentConfig.ingestSettings`. + * @type bool $server_side_url_signing_disabled + * Optional. Whether the segment URLs should be signed using the + * #tokenAuthenticationKey on the server. This is only applicable for delivery + * media locations that have token authentication enabled. + * @type int $origin_forwarding_type + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for the parent playlist. Not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `securityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. If set + * elsewhere it will be reset to null. + * @type string $origin_path_prefix + * Optional. The origin path prefix provided by the publisher for the parent + * playlist. Only applicable for delivery media locations with the value of + * `originForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * @type int $media_playlist_origin_forwarding_type + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for media playlists. This setting can only be used + * with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`, is not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `CdnSecurityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. Valid + * options are `CdnSecurityPolicyOriginForwarding.NONE` or + * `CdnSecurityPolicyOriginForwarding.ORIGIN_PATH`. This setting can only be + * used with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`. + * @type string $media_playlist_origin_path_prefix + * Optional. The origin path prefix provided by the publisher for the media + * playlists. Only applicable for delivery media locations with the value of + * `mediaPlaylistOriginForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * @type string $keyset + * Optional. The name of the EdgeCacheKeyset on the Media CDN config that will + * be used to validate signed requests from DAI to ingest content. + * @type \Google\Protobuf\Duration $signed_request_expiration_ttl + * Optional. The duration for which a request signed with a short token + * will be valid. Only required if `signedRequestMaximumExpirationTtl` has + * been set in the Media CDN config. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. Type of security policy. This determines which other fields + * should be populated. This value is required for a valid security policy. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyTypeEnum.CdnSecurityPolicyType security_policy_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getSecurityPolicyType() + { + return isset($this->security_policy_type) ? $this->security_policy_type : 0; + } + + public function hasSecurityPolicyType() + { + return isset($this->security_policy_type); + } + + public function clearSecurityPolicyType() + { + unset($this->security_policy_type); + } + + /** + * Required. Type of security policy. This determines which other fields + * should be populated. This value is required for a valid security policy. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyTypeEnum.CdnSecurityPolicyType security_policy_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setSecurityPolicyType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CdnSecurityPolicyTypeEnum\CdnSecurityPolicyType::class); + $this->security_policy_type = $var; + + return $this; + } + + /** + * Optional. Shared security key used to generate the Akamai HMAC token for + * authenticating requests. Only applicable when the value of + * `CdnSecurityPolicyType` is equal to `CdnSecurityPolicyType.AKAMAI` and will + * be set to null otherwise. Required when the `CdnConfig.cdnConfigType` is + * equal to `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT` and this + * `CdnSecurityPolicy` is being configured for + * `SourceContentConfig.ingestSettings`. + * + * Generated from protobuf field optional string token_authentication_key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTokenAuthenticationKey() + { + return isset($this->token_authentication_key) ? $this->token_authentication_key : ''; + } + + public function hasTokenAuthenticationKey() + { + return isset($this->token_authentication_key); + } + + public function clearTokenAuthenticationKey() + { + unset($this->token_authentication_key); + } + + /** + * Optional. Shared security key used to generate the Akamai HMAC token for + * authenticating requests. Only applicable when the value of + * `CdnSecurityPolicyType` is equal to `CdnSecurityPolicyType.AKAMAI` and will + * be set to null otherwise. Required when the `CdnConfig.cdnConfigType` is + * equal to `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT` and this + * `CdnSecurityPolicy` is being configured for + * `SourceContentConfig.ingestSettings`. + * + * Generated from protobuf field optional string token_authentication_key = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTokenAuthenticationKey($var) + { + GPBUtil::checkString($var, True); + $this->token_authentication_key = $var; + + return $this; + } + + /** + * Optional. Whether the segment URLs should be signed using the + * #tokenAuthenticationKey on the server. This is only applicable for delivery + * media locations that have token authentication enabled. + * + * Generated from protobuf field optional bool server_side_url_signing_disabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getServerSideUrlSigningDisabled() + { + return isset($this->server_side_url_signing_disabled) ? $this->server_side_url_signing_disabled : false; + } + + public function hasServerSideUrlSigningDisabled() + { + return isset($this->server_side_url_signing_disabled); + } + + public function clearServerSideUrlSigningDisabled() + { + unset($this->server_side_url_signing_disabled); + } + + /** + * Optional. Whether the segment URLs should be signed using the + * #tokenAuthenticationKey on the server. This is only applicable for delivery + * media locations that have token authentication enabled. + * + * Generated from protobuf field optional bool server_side_url_signing_disabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setServerSideUrlSigningDisabled($var) + { + GPBUtil::checkBool($var); + $this->server_side_url_signing_disabled = $var; + + return $this; + } + + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for the parent playlist. Not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `securityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. If set + * elsewhere it will be reset to null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding origin_forwarding_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getOriginForwardingType() + { + return isset($this->origin_forwarding_type) ? $this->origin_forwarding_type : 0; + } + + public function hasOriginForwardingType() + { + return isset($this->origin_forwarding_type); + } + + public function clearOriginForwardingType() + { + unset($this->origin_forwarding_type); + } + + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for the parent playlist. Not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `securityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. If set + * elsewhere it will be reset to null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding origin_forwarding_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setOriginForwardingType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CdnSecurityPolicyOriginForwardingEnum\CdnSecurityPolicyOriginForwarding::class); + $this->origin_forwarding_type = $var; + + return $this; + } + + /** + * Optional. The origin path prefix provided by the publisher for the parent + * playlist. Only applicable for delivery media locations with the value of + * `originForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string origin_path_prefix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOriginPathPrefix() + { + return isset($this->origin_path_prefix) ? $this->origin_path_prefix : ''; + } + + public function hasOriginPathPrefix() + { + return isset($this->origin_path_prefix); + } + + public function clearOriginPathPrefix() + { + unset($this->origin_path_prefix); + } + + /** + * Optional. The origin path prefix provided by the publisher for the parent + * playlist. Only applicable for delivery media locations with the value of + * `originForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string origin_path_prefix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOriginPathPrefix($var) + { + GPBUtil::checkString($var, True); + $this->origin_path_prefix = $var; + + return $this; + } + + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for media playlists. This setting can only be used + * with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`, is not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `CdnSecurityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. Valid + * options are `CdnSecurityPolicyOriginForwarding.NONE` or + * `CdnSecurityPolicyOriginForwarding.ORIGIN_PATH`. This setting can only be + * used with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding media_playlist_origin_forwarding_type = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMediaPlaylistOriginForwardingType() + { + return isset($this->media_playlist_origin_forwarding_type) ? $this->media_playlist_origin_forwarding_type : 0; + } + + public function hasMediaPlaylistOriginForwardingType() + { + return isset($this->media_playlist_origin_forwarding_type); + } + + public function clearMediaPlaylistOriginForwardingType() + { + unset($this->media_playlist_origin_forwarding_type); + } + + /** + * Optional. The type of origin forwarding used to support Akamai + * authentication policies for media playlists. This setting can only be used + * with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`, is not applicable to ingest + * locations, and is only applicable to delivery media locations with the + * `CdnSecurityPolicyType` set to `CdnSecurityPolicyType.AKAMAI`. Valid + * options are `CdnSecurityPolicyOriginForwarding.NONE` or + * `CdnSecurityPolicyOriginForwarding.ORIGIN_PATH`. This setting can only be + * used with CDN configs with a `cdnConfigType` of + * `CdnConfigType.LIVE_STREAM_SOURCE_CONTENT`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding media_playlist_origin_forwarding_type = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMediaPlaylistOriginForwardingType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CdnSecurityPolicyOriginForwardingEnum\CdnSecurityPolicyOriginForwarding::class); + $this->media_playlist_origin_forwarding_type = $var; + + return $this; + } + + /** + * Optional. The origin path prefix provided by the publisher for the media + * playlists. Only applicable for delivery media locations with the value of + * `mediaPlaylistOriginForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string media_playlist_origin_path_prefix = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMediaPlaylistOriginPathPrefix() + { + return isset($this->media_playlist_origin_path_prefix) ? $this->media_playlist_origin_path_prefix : ''; + } + + public function hasMediaPlaylistOriginPathPrefix() + { + return isset($this->media_playlist_origin_path_prefix); + } + + public function clearMediaPlaylistOriginPathPrefix() + { + unset($this->media_playlist_origin_path_prefix); + } + + /** + * Optional. The origin path prefix provided by the publisher for the media + * playlists. Only applicable for delivery media locations with the value of + * `mediaPlaylistOriginForwardingType` set to + * `CdnSecurityPolicyOriginForwarding.CONVENTIONAL`, and will be set to null + * otherwise. + * + * Generated from protobuf field optional string media_playlist_origin_path_prefix = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMediaPlaylistOriginPathPrefix($var) + { + GPBUtil::checkString($var, True); + $this->media_playlist_origin_path_prefix = $var; + + return $this; + } + + /** + * Optional. The name of the EdgeCacheKeyset on the Media CDN config that will + * be used to validate signed requests from DAI to ingest content. + * + * Generated from protobuf field optional string keyset = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getKeyset() + { + return isset($this->keyset) ? $this->keyset : ''; + } + + public function hasKeyset() + { + return isset($this->keyset); + } + + public function clearKeyset() + { + unset($this->keyset); + } + + /** + * Optional. The name of the EdgeCacheKeyset on the Media CDN config that will + * be used to validate signed requests from DAI to ingest content. + * + * Generated from protobuf field optional string keyset = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setKeyset($var) + { + GPBUtil::checkString($var, True); + $this->keyset = $var; + + return $this; + } + + /** + * Optional. The duration for which a request signed with a short token + * will be valid. Only required if `signedRequestMaximumExpirationTtl` has + * been set in the Media CDN config. + * + * Generated from protobuf field optional .google.protobuf.Duration signed_request_expiration_ttl = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getSignedRequestExpirationTtl() + { + return $this->signed_request_expiration_ttl; + } + + public function hasSignedRequestExpirationTtl() + { + return isset($this->signed_request_expiration_ttl); + } + + public function clearSignedRequestExpirationTtl() + { + unset($this->signed_request_expiration_ttl); + } + + /** + * Optional. The duration for which a request signed with a short token + * will be valid. Only required if `signedRequestMaximumExpirationTtl` has + * been set in the Media CDN config. + * + * Generated from protobuf field optional .google.protobuf.Duration signed_request_expiration_ttl = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setSignedRequestExpirationTtl($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->signed_request_expiration_ttl = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum.php new file mode 100644 index 000000000000..b0c20c7cfd21 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum + */ +class CdnSecurityPolicyOriginForwardingEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnSecurityPolicyOriginForwardingEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum/CdnSecurityPolicyOriginForwarding.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum/CdnSecurityPolicyOriginForwarding.php new file mode 100644 index 000000000000..db9413745320 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyOriginForwardingEnum/CdnSecurityPolicyOriginForwarding.php @@ -0,0 +1,70 @@ +google.ads.admanager.v1.CdnSecurityPolicyOriginForwardingEnum.CdnSecurityPolicyOriginForwarding + */ +class CdnSecurityPolicyOriginForwarding +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CDN_SECURITY_POLICY_ORIGIN_FORWARDING_UNSPECIFIED = 0; + */ + const CDN_SECURITY_POLICY_ORIGIN_FORWARDING_UNSPECIFIED = 0; + /** + * Indicates that conventional origin forwarding is used. + * + * Generated from protobuf enum CONVENTIONAL = 1; + */ + const CONVENTIONAL = 1; + /** + * Indicates that origin forwarding is not being used. + * + * Generated from protobuf enum NONE = 2; + */ + const NONE = 2; + /** + * Indicates that origin forwarding is set up by passing an origin path + * query string parameter (necessary for Akamai dynamic packaging to work). + * + * Generated from protobuf enum ORIGIN_PATH = 3; + */ + const ORIGIN_PATH = 3; + + private static $valueToName = [ + self::CDN_SECURITY_POLICY_ORIGIN_FORWARDING_UNSPECIFIED => 'CDN_SECURITY_POLICY_ORIGIN_FORWARDING_UNSPECIFIED', + self::CONVENTIONAL => 'CONVENTIONAL', + self::NONE => 'NONE', + self::ORIGIN_PATH => 'ORIGIN_PATH', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum.php new file mode 100644 index 000000000000..8146400021c4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CdnSecurityPolicyTypeEnum + */ +class CdnSecurityPolicyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnSecurityPolicyEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum/CdnSecurityPolicyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum/CdnSecurityPolicyType.php new file mode 100644 index 000000000000..7dc37dd1d861 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CdnSecurityPolicyTypeEnum/CdnSecurityPolicyType.php @@ -0,0 +1,70 @@ +google.ads.admanager.v1.CdnSecurityPolicyTypeEnum.CdnSecurityPolicyType + */ +class CdnSecurityPolicyType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CDN_SECURITY_POLICY_TYPE_UNSPECIFIED = 0; + */ + const CDN_SECURITY_POLICY_TYPE_UNSPECIFIED = 0; + /** + * Security policy for accessing content on the Akamai CDN. + * + * Generated from protobuf enum AKAMAI = 1; + */ + const AKAMAI = 1; + /** + * Security policy for access content on Google Cloud Media CDN. + * + * Generated from protobuf enum CLOUD_MEDIA = 2; + */ + const CLOUD_MEDIA = 2; + /** + * Indicates that no authentication is necessary. + * + * Generated from protobuf enum NONE = 3; + */ + const NONE = 3; + + private static $valueToName = [ + self::CDN_SECURITY_POLICY_TYPE_UNSPECIFIED => 'CDN_SECURITY_POLICY_TYPE_UNSPECIFIED', + self::AKAMAI => 'AKAMAI', + self::CLOUD_MEDIA => 'CLOUD_MEDIA', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum.php new file mode 100644 index 000000000000..57aa8cd8556b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ChildContentEligibilityEnum + */ +class ChildContentEligibilityEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ChildContentEligibilityEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum/ChildContentEligibility.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum/ChildContentEligibility.php new file mode 100644 index 000000000000..7c6f49a5117c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildContentEligibilityEnum/ChildContentEligibility.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.ChildContentEligibilityEnum.ChildContentEligibility + */ +class ChildContentEligibility +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CHILD_CONTENT_ELIGIBILITY_UNSPECIFIED = 0; + */ + const CHILD_CONTENT_ELIGIBILITY_UNSPECIFIED = 0; + /** + * This line item is eligible to serve on requests that are child-directed. + * + * Generated from protobuf enum ALLOWED = 1; + */ + const ALLOWED = 1; + /** + * This line item is not eligible to serve on any requests that are + * child-directed. + * + * Generated from protobuf enum DISALLOWED = 2; + */ + const DISALLOWED = 2; + + private static $valueToName = [ + self::CHILD_CONTENT_ELIGIBILITY_UNSPECIFIED => 'CHILD_CONTENT_ELIGIBILITY_UNSPECIFIED', + self::ALLOWED => 'ALLOWED', + self::DISALLOWED => 'DISALLOWED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildPublisher.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildPublisher.php new file mode 100644 index 000000000000..8d303fa0c7ce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ChildPublisher.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.ChildPublisher + */ +class ChildPublisher extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the + * [ChildPublisher][google.ads.admanager.v1.ChildPublisher]. Format: + * `networks/{network_code}/childPublishers/{child_publisher_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the + * [ChildPublisher][google.ads.admanager.v1.ChildPublisher]. Format: + * `networks/{network_code}/childPublishers/{child_publisher_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ChildPublisherMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the + * [ChildPublisher][google.ads.admanager.v1.ChildPublisher]. Format: + * `networks/{network_code}/childPublishers/{child_publisher_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the + * [ChildPublisher][google.ads.admanager.v1.ChildPublisher]. Format: + * `networks/{network_code}/childPublishers/{child_publisher_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsContent.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsContent.php new file mode 100644 index 000000000000..8bcae13c4451 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsContent.php @@ -0,0 +1,185 @@ +google.ads.admanager.v1.CmsContent + */ +class CmsContent extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The resource name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $content_source = null; + /** + * Output only. The display name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $content_source_display_name = null; + /** + * The ID of the `Content` in the CMS. This ID will be a 3rd party ID, + * usually the ID of the content in a CMS (Content Management System). + * + * Generated from protobuf field optional string cms_content_id = 3; + */ + protected $cms_content_id = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $content_source + * Output only. The resource name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * @type string $content_source_display_name + * Output only. The display name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * @type string $cms_content_id + * The ID of the `Content` in the CMS. This ID will be a 3rd party ID, + * usually the ID of the content in a CMS (Content Management System). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentMessages::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The resource name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getContentSource() + { + return isset($this->content_source) ? $this->content_source : ''; + } + + public function hasContentSource() + { + return isset($this->content_source); + } + + public function clearContentSource() + { + unset($this->content_source); + } + + /** + * Output only. The resource name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setContentSource($var) + { + GPBUtil::checkString($var, True); + $this->content_source = $var; + + return $this; + } + + /** + * Output only. The display name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getContentSourceDisplayName() + { + return isset($this->content_source_display_name) ? $this->content_source_display_name : ''; + } + + public function hasContentSourceDisplayName() + { + return isset($this->content_source_display_name); + } + + public function clearContentSourceDisplayName() + { + unset($this->content_source_display_name); + } + + /** + * Output only. The display name of the + * [ContentSource][google.ads.admanager.v1.ContentSource] this + * content was ingested from. + * + * Generated from protobuf field optional string content_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setContentSourceDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->content_source_display_name = $var; + + return $this; + } + + /** + * The ID of the `Content` in the CMS. This ID will be a 3rd party ID, + * usually the ID of the content in a CMS (Content Management System). + * + * Generated from protobuf field optional string cms_content_id = 3; + * @return string + */ + public function getCmsContentId() + { + return isset($this->cms_content_id) ? $this->cms_content_id : ''; + } + + public function hasCmsContentId() + { + return isset($this->cms_content_id); + } + + public function clearCmsContentId() + { + unset($this->cms_content_id); + } + + /** + * The ID of the `Content` in the CMS. This ID will be a 3rd party ID, + * usually the ID of the content in a CMS (Content Management System). + * + * Generated from protobuf field optional string cms_content_id = 3; + * @param string $var + * @return $this + */ + public function setCmsContentId($var) + { + GPBUtil::checkString($var, True); + $this->cms_content_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKey.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKey.php new file mode 100644 index 000000000000..d54f3ab008de --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKey.php @@ -0,0 +1,139 @@ +google.ads.admanager.v1.CmsMetadataKey + */ +class CmsMetadataKey extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CmsMetadataKey`. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The key of a key-value pair. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Output only. The status of this CMS metadata key. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CmsMetadataKey`. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * @type string $display_name + * Required. The key of a key-value pair. + * @type int $status + * Output only. The status of this CMS metadata key. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CmsMetadataKey`. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CmsMetadataKey`. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The key of a key-value pair. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. The key of a key-value pair. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The status of this CMS metadata key. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getStatus() + { + return $this->status; + } + + /** + * Output only. The status of this CMS metadata key. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CmsMetadataKeyStatusEnum\CmsMetadataKeyStatus::class); + $this->status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum.php new file mode 100644 index 000000000000..8794ce520d4c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CmsMetadataKeyStatusEnum + */ +class CmsMetadataKeyStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum/CmsMetadataKeyStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum/CmsMetadataKeyStatus.php new file mode 100644 index 000000000000..2d6e8d03cee3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataKeyStatusEnum/CmsMetadataKeyStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus + */ +class CmsMetadataKeyStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CMS_METADATA_KEY_STATUS_UNSPECIFIED = 0; + */ + const CMS_METADATA_KEY_STATUS_UNSPECIFIED = 0; + /** + * The key is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The key is not active. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::CMS_METADATA_KEY_STATUS_UNSPECIFIED => 'CMS_METADATA_KEY_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataTargeting.php new file mode 100644 index 000000000000..b531625a82d1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataTargeting.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.CmsMetadataTargeting + */ +class CmsMetadataTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + */ + protected $negative = null; + /** + * Optional. The resource names of the targeted CMS metadata values. + * + * Generated from protobuf field repeated string cms_metadata_values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $cms_metadata_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $negative + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * @type string[] $cms_metadata_values + * Optional. The resource names of the targeted CMS metadata values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @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); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @param bool $var + * @return $this + */ + public function setNegative($var) + { + GPBUtil::checkBool($var); + $this->negative = $var; + + return $this; + } + + /** + * Optional. The resource names of the targeted CMS metadata values. + * + * Generated from protobuf field repeated string cms_metadata_values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getCmsMetadataValues() + { + return $this->cms_metadata_values; + } + + /** + * Optional. The resource names of the targeted CMS metadata values. + * + * Generated from protobuf field repeated string cms_metadata_values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setCmsMetadataValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->cms_metadata_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValue.php new file mode 100644 index 000000000000..2dbef64a4e31 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValue.php @@ -0,0 +1,181 @@ +google.ads.admanager.v1.CmsMetadataValue + */ +class CmsMetadataValue extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CmsMetadataValue`. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * The value of this key-value pair. + * + * Generated from protobuf field string display_name = 3; + */ + protected $display_name = ''; + /** + * Required. Immutable. The resource name of the CmsMetadataKey. + * Format: "networks/{network_code}/cmsMetadataKey/{cms_metadata_key_id}" + * + * Generated from protobuf field string key = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $key = ''; + /** + * Output only. The status of this CMS metadata value. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CmsMetadataValue`. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * @type string $display_name + * The value of this key-value pair. + * @type string $key + * Required. Immutable. The resource name of the CmsMetadataKey. + * Format: "networks/{network_code}/cmsMetadataKey/{cms_metadata_key_id}" + * @type int $status + * Output only. The status of this CMS metadata value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CmsMetadataValue`. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CmsMetadataValue`. + * Format: + * `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The value of this key-value pair. + * + * Generated from protobuf field string display_name = 3; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * The value of this key-value pair. + * + * 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; + } + + /** + * Required. Immutable. The resource name of the CmsMetadataKey. + * Format: "networks/{network_code}/cmsMetadataKey/{cms_metadata_key_id}" + * + * Generated from protobuf field string key = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getKey() + { + return $this->key; + } + + /** + * Required. Immutable. The resource name of the CmsMetadataKey. + * Format: "networks/{network_code}/cmsMetadataKey/{cms_metadata_key_id}" + * + * Generated from protobuf field string key = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setKey($var) + { + GPBUtil::checkString($var, True); + $this->key = $var; + + return $this; + } + + /** + * Output only. The status of this CMS metadata value. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getStatus() + { + return $this->status; + } + + /** + * Output only. The status of this CMS metadata value. + * + * Generated from protobuf field .google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CmsMetadataValueStatusEnum\CmsMetadataValueStatus::class); + $this->status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum.php new file mode 100644 index 000000000000..38d1380c21a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CmsMetadataValueStatusEnum + */ +class CmsMetadataValueStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum/CmsMetadataValueStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum/CmsMetadataValueStatus.php new file mode 100644 index 000000000000..cc2a7b9ec547 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CmsMetadataValueStatusEnum/CmsMetadataValueStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus + */ +class CmsMetadataValueStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CMS_METADATA_VALUE_STATUS_UNSPECIFIED = 0; + */ + const CMS_METADATA_VALUE_STATUS_UNSPECIFIED = 0; + /** + * The value is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The value is archived. + * + * Generated from protobuf enum ARCHIVED = 2; + */ + const ARCHIVED = 2; + /** + * The value is not active. + * + * Generated from protobuf enum INACTIVE = 3; + */ + const INACTIVE = 3; + + private static $valueToName = [ + self::CMS_METADATA_VALUE_STATUS_UNSPECIFIED => 'CMS_METADATA_VALUE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ARCHIVED => 'ARCHIVED', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum.php new file mode 100644 index 000000000000..4a60de268fe2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CompanionDeliveryOptionEnum + */ +class CompanionDeliveryOptionEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeliveryEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum/CompanionDeliveryOption.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum/CompanionDeliveryOption.php new file mode 100644 index 000000000000..27be4862b462 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanionDeliveryOptionEnum/CompanionDeliveryOption.php @@ -0,0 +1,73 @@ +google.ads.admanager.v1.CompanionDeliveryOptionEnum.CompanionDeliveryOption + */ +class CompanionDeliveryOption +{ + /** + * No value specified. + * + * Generated from protobuf enum COMPANION_DELIVERY_OPTION_UNSPECIFIED = 0; + */ + const COMPANION_DELIVERY_OPTION_UNSPECIFIED = 0; + /** + * Companions are not required to serve a + * [CreativeSet][google.ads.admanager.v1.CreativeSet]. The creative set can + * serve to inventory that has zero or more matching companions. + * + * Generated from protobuf enum OPTIONAL = 1; + */ + const OPTIONAL = 1; + /** + * At least one companion must be served in order for the creative set to be + * used. + * + * Generated from protobuf enum AT_LEAST_ONE = 2; + */ + const AT_LEAST_ONE = 2; + /** + * All companions in the set must be served in order for the creative set to + * be used. This can still serve to inventory that has more companions than + * can be filled. + * + * Generated from protobuf enum ALL = 3; + */ + const ALL = 3; + + private static $valueToName = [ + self::COMPANION_DELIVERY_OPTION_UNSPECIFIED => 'COMPANION_DELIVERY_OPTION_UNSPECIFIED', + self::OPTIONAL => 'OPTIONAL', + self::AT_LEAST_ONE => 'AT_LEAST_ONE', + self::ALL => 'ALL', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Company.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Company.php new file mode 100644 index 000000000000..e4f88cc6ac82 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Company.php @@ -0,0 +1,818 @@ +google.ads.admanager.v1.Company + */ +class Company extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the + * [Company][google.ads.admanager.v1.Company]. Format: + * `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: [Company][google.ads.admanager.v1.Company] ID. + * + * Generated from protobuf field optional int64 company_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $company_id = null; + /** + * Required. The display name of the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. The type of the [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $type = null; + /** + * Optional. The address for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string address = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $address = null; + /** + * Optional. The email for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $email = null; + /** + * Optional. The fax number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $fax = null; + /** + * Optional. The phone number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $phone = null; + /** + * Optional. The external ID for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $external_id = null; + /** + * Optional. Comments about the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $comment = null; + /** + * Optional. The credit status of the + * [Company][google.ads.admanager.v1.Company]. + * This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic + * settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance + * settings are enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $credit_status = null; + /** + * Optional. The labels that are directly applied to the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_labels; + /** + * Optional. The resource names of primary + * [Contact][google.ads.admanager.v1.Contact] of the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $primary_contact = null; + /** + * Optional. The resource names of Teams that are directly associated with the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $applied_teams; + /** + * Optional. The ID of the Google-recognized canonicalized form of the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $third_party_company_id = null; + /** + * Output only. The time the [Company][google.ads.admanager.v1.Company] was + * last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the + * [Company][google.ads.admanager.v1.Company]. Format: + * `networks/{network_code}/companies/{company_id}` + * @type int|string $company_id + * Output only. Deprecated: [Company][google.ads.admanager.v1.Company] ID. + * @type string $display_name + * Required. The display name of the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 127 characters. + * @type int $type + * Required. The type of the [Company][google.ads.admanager.v1.Company]. + * @type string $address + * Optional. The address for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * @type string $email + * Optional. The email for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 128 characters. + * @type string $fax + * Optional. The fax number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * @type string $phone + * Optional. The phone number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * @type string $external_id + * Optional. The external ID for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 255 characters. + * @type string $comment + * Optional. Comments about the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * @type int $credit_status + * Optional. The credit status of the + * [Company][google.ads.admanager.v1.Company]. + * This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic + * settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance + * settings are enabled. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $applied_labels + * Optional. The labels that are directly applied to the + * [Company][google.ads.admanager.v1.Company]. + * @type string $primary_contact + * Optional. The resource names of primary + * [Contact][google.ads.admanager.v1.Contact] of the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/contacts/{contact_id}" + * @type string[] $applied_teams + * Optional. The resource names of Teams that are directly associated with the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/teams/{team_id}" + * @type int|string $third_party_company_id + * Optional. The ID of the Google-recognized canonicalized form of the + * [Company][google.ads.admanager.v1.Company]. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The time the [Company][google.ads.admanager.v1.Company] was + * last modified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the + * [Company][google.ads.admanager.v1.Company]. Format: + * `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the + * [Company][google.ads.admanager.v1.Company]. Format: + * `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: [Company][google.ads.admanager.v1.Company] ID. + * + * Generated from protobuf field optional int64 company_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getCompanyId() + { + if (isset($this->company_id)) { + @trigger_error('company_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->company_id) ? $this->company_id : 0; + } + + public function hasCompanyId() + { + if (isset($this->company_id)) { + @trigger_error('company_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->company_id); + } + + public function clearCompanyId() + { + @trigger_error('company_id is deprecated.', E_USER_DEPRECATED); + unset($this->company_id); + } + + /** + * Output only. Deprecated: [Company][google.ads.admanager.v1.Company] ID. + * + * Generated from protobuf field optional int64 company_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setCompanyId($var) + { + @trigger_error('company_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->company_id = $var; + + return $this; + } + + /** + * Required. The display name of the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. The type of the [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getType() + { + return isset($this->type) ? $this->type : 0; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Required. The type of the [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CompanyTypeEnum\CompanyType::class); + $this->type = $var; + + return $this; + } + + /** + * Optional. The address for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string address = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAddress() + { + return isset($this->address) ? $this->address : ''; + } + + public function hasAddress() + { + return isset($this->address); + } + + public function clearAddress() + { + unset($this->address); + } + + /** + * Optional. The address for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string address = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, True); + $this->address = $var; + + return $this; + } + + /** + * Optional. The email for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getEmail() + { + return isset($this->email) ? $this->email : ''; + } + + public function hasEmail() + { + return isset($this->email); + } + + public function clearEmail() + { + unset($this->email); + } + + /** + * Optional. The email for the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setEmail($var) + { + GPBUtil::checkString($var, True); + $this->email = $var; + + return $this; + } + + /** + * Optional. The fax number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFax() + { + return isset($this->fax) ? $this->fax : ''; + } + + public function hasFax() + { + return isset($this->fax); + } + + public function clearFax() + { + unset($this->fax); + } + + /** + * Optional. The fax number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFax($var) + { + GPBUtil::checkString($var, True); + $this->fax = $var; + + return $this; + } + + /** + * Optional. The phone number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPhone() + { + return isset($this->phone) ? $this->phone : ''; + } + + public function hasPhone() + { + return isset($this->phone); + } + + public function clearPhone() + { + unset($this->phone); + } + + /** + * Optional. The phone number for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 63 characters. + * + * Generated from protobuf field optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPhone($var) + { + GPBUtil::checkString($var, True); + $this->phone = $var; + + return $this; + } + + /** + * Optional. The external ID for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getExternalId() + { + return isset($this->external_id) ? $this->external_id : ''; + } + + public function hasExternalId() + { + return isset($this->external_id); + } + + public function clearExternalId() + { + unset($this->external_id); + } + + /** + * Optional. The external ID for the + * [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setExternalId($var) + { + GPBUtil::checkString($var, True); + $this->external_id = $var; + + return $this; + } + + /** + * Optional. Comments about the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getComment() + { + return isset($this->comment) ? $this->comment : ''; + } + + public function hasComment() + { + return isset($this->comment); + } + + public function clearComment() + { + unset($this->comment); + } + + /** + * Optional. Comments about the [Company][google.ads.admanager.v1.Company]. + * This value has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setComment($var) + { + GPBUtil::checkString($var, True); + $this->comment = $var; + + return $this; + } + + /** + * Optional. The credit status of the + * [Company][google.ads.admanager.v1.Company]. + * This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic + * settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance + * settings are enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCreditStatus() + { + return isset($this->credit_status) ? $this->credit_status : 0; + } + + public function hasCreditStatus() + { + return isset($this->credit_status); + } + + public function clearCreditStatus() + { + unset($this->credit_status); + } + + /** + * Optional. The credit status of the + * [Company][google.ads.admanager.v1.Company]. + * This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic + * settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance + * settings are enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCreditStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CompanyCreditStatusEnum\CompanyCreditStatus::class); + $this->credit_status = $var; + + return $this; + } + + /** + * Optional. The labels that are directly applied to the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getAppliedLabels() + { + return $this->applied_labels; + } + + /** + * Optional. The labels that are directly applied to the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->applied_labels = $arr; + + return $this; + } + + /** + * Optional. The resource names of primary + * [Contact][google.ads.admanager.v1.Contact] of the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getPrimaryContact() + { + return isset($this->primary_contact) ? $this->primary_contact : ''; + } + + public function hasPrimaryContact() + { + return isset($this->primary_contact); + } + + public function clearPrimaryContact() + { + unset($this->primary_contact); + } + + /** + * Optional. The resource names of primary + * [Contact][google.ads.admanager.v1.Contact] of the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setPrimaryContact($var) + { + GPBUtil::checkString($var, True); + $this->primary_contact = $var; + + return $this; + } + + /** + * Optional. The resource names of Teams that are directly associated with the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAppliedTeams() + { + return $this->applied_teams; + } + + /** + * Optional. The resource names of Teams that are directly associated with the + * [Company][google.ads.admanager.v1.Company]. Format: + * "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAppliedTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->applied_teams = $arr; + + return $this; + } + + /** + * Optional. The ID of the Google-recognized canonicalized form of the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getThirdPartyCompanyId() + { + return isset($this->third_party_company_id) ? $this->third_party_company_id : 0; + } + + public function hasThirdPartyCompanyId() + { + return isset($this->third_party_company_id); + } + + public function clearThirdPartyCompanyId() + { + unset($this->third_party_company_id); + } + + /** + * Optional. The ID of the Google-recognized canonicalized form of the + * [Company][google.ads.admanager.v1.Company]. + * + * Generated from protobuf field optional int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setThirdPartyCompanyId($var) + { + GPBUtil::checkInt64($var); + $this->third_party_company_id = $var; + + return $this; + } + + /** + * Output only. The time the [Company][google.ads.admanager.v1.Company] was + * last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The time the [Company][google.ads.admanager.v1.Company] was + * last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum.php new file mode 100644 index 000000000000..2b7b81b0c506 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CompanyCreditStatusEnum + */ +class CompanyCreditStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum/CompanyCreditStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum/CompanyCreditStatus.php new file mode 100644 index 000000000000..24036bb6ab57 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyCreditStatusEnum/CompanyCreditStatus.php @@ -0,0 +1,116 @@ +google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus + */ +class CompanyCreditStatus +{ + /** + * No value specified + * + * Generated from protobuf enum COMPANY_CREDIT_STATUS_UNSPECIFIED = 0; + */ + const COMPANY_CREDIT_STATUS_UNSPECIFIED = 0; + /** + * The company's credit status is active. + * Line items belonging to the company can serve. + * This credit status is the default for basic settings and is available in + * both basic and advance settings. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The company's credit status is inactive. + * Line items belonging to the company cannot be activated. However, line + * items that were activated before the credit status changed will remain + * active. New orders or line items belonging to the company cannot be + * created. + * Companies with this credit status will be hidden by default in company + * search results. + * This credit status is available in both basic and advance settings. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + /** + * The company's credit status is on hold. + * Line items belonging to the company cannot be activated. However, line + * items that were activated before the credit status changed will remain + * active. New orders or line items belonging to the company can be + * created. + * This credit status is the default in advance settings and is only + * available in advance settings. + * + * Generated from protobuf enum ON_HOLD = 3; + */ + const ON_HOLD = 3; + /** + * The company's credit status is stopped. + * Line items belonging to the company cannot be activated. However, line + * items that were activated before the credit status changed will remain + * active. New orders or line items belonging to the company cannot be + * created. + * This credit status is only available in advance settings. + * + * Generated from protobuf enum STOP = 4; + */ + const STOP = 4; + /** + * The company's credit status is blocked. + * All active line items belonging to the company will stop serving with + * immediate effect. Line items belonging to the company cannot be + * activated, and new orders or line items belonging to the company cannot + * be created. + * This credit status is only available in advance settings. + * + * Generated from protobuf enum BLOCKED = 5; + */ + const BLOCKED = 5; + + private static $valueToName = [ + self::COMPANY_CREDIT_STATUS_UNSPECIFIED => 'COMPANY_CREDIT_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + self::ON_HOLD => 'ON_HOLD', + self::STOP => 'STOP', + self::BLOCKED => 'BLOCKED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum.php new file mode 100644 index 000000000000..0bcdcaabf36e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CompanyTypeEnum + */ +class CompanyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum/CompanyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum/CompanyType.php new file mode 100644 index 000000000000..719badc90e47 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CompanyTypeEnum/CompanyType.php @@ -0,0 +1,83 @@ +google.ads.admanager.v1.CompanyTypeEnum.CompanyType + */ +class CompanyType +{ + /** + * No value specified + * + * Generated from protobuf enum COMPANY_TYPE_UNSPECIFIED = 0; + */ + const COMPANY_TYPE_UNSPECIFIED = 0; + /** + * A business entity that purchases ad inventory. + * + * Generated from protobuf enum ADVERTISER = 1; + */ + const ADVERTISER = 1; + /** + * A company representing the publisher's own advertiser for house ads. + * + * Generated from protobuf enum HOUSE_ADVERTISER = 2; + */ + const HOUSE_ADVERTISER = 2; + /** + * An organization that manages ad accounts and offers services, such as ad + * creation, placement, and management to advertisers. + * + * Generated from protobuf enum AGENCY = 3; + */ + const AGENCY = 3; + /** + * A company representing the publisher's own agency. + * + * Generated from protobuf enum HOUSE_AGENCY = 4; + */ + const HOUSE_AGENCY = 4; + /** + * A company representing multiple advertisers and agencies. + * + * Generated from protobuf enum AD_NETWORK = 5; + */ + const AD_NETWORK = 5; + + private static $valueToName = [ + self::COMPANY_TYPE_UNSPECIFIED => 'COMPANY_TYPE_UNSPECIFIED', + self::ADVERTISER => 'ADVERTISER', + self::HOUSE_ADVERTISER => 'HOUSE_ADVERTISER', + self::AGENCY => 'AGENCY', + self::HOUSE_AGENCY => 'HOUSE_AGENCY', + self::AD_NETWORK => 'AD_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Contact.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Contact.php new file mode 100644 index 000000000000..0851b9444bcf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Contact.php @@ -0,0 +1,550 @@ +google.ads.admanager.v1.Contact + */ +class Contact extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Contact`. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the contact. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. Immutable. The resource name of the Company. + * Format: "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string company = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $company = null; + /** + * Output only. The status of the contact. This attribute is assigned by + * Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The address of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string address = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $address = null; + /** + * Optional. The cell phone number where the contact can be reached. + * + * Generated from protobuf field optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $cell_phone = null; + /** + * Optional. A free-form text comment for the contact. This attribute has a + * maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $comment = null; + /** + * Optional. The e-mail address where the contact can be reached. This + * attribute has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $email = null; + /** + * Optional. The fax number where the contact can be reached. This attribute + * has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $fax = null; + /** + * Optional. The job title of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string title = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $title = null; + /** + * Optional. The work phone number where the contact can be reached. This + * attribute has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $work_phone = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Contact`. + * Format: `networks/{network_code}/contacts/{contact_id}` + * @type string $display_name + * Required. The name of the contact. This attribute has a maximum length of + * 127 characters. + * @type string $company + * Required. Immutable. The resource name of the Company. + * Format: "networks/{network_code}/companies/{company_id}" + * @type int $status + * Output only. The status of the contact. This attribute is assigned by + * Google. + * @type string $address + * Optional. The address of the contact. This attribute has a maximum length + * of 1024 characters. + * @type string $cell_phone + * Optional. The cell phone number where the contact can be reached. + * @type string $comment + * Optional. A free-form text comment for the contact. This attribute has a + * maximum length of 1024 characters. + * @type string $email + * Optional. The e-mail address where the contact can be reached. This + * attribute has a maximum length of 128 characters. + * @type string $fax + * Optional. The fax number where the contact can be reached. This attribute + * has a maximum length of 1024 characters. + * @type string $title + * Optional. The job title of the contact. This attribute has a maximum length + * of 1024 characters. + * @type string $work_phone + * Optional. The work phone number where the contact can be reached. This + * attribute has a maximum length of 1024 characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Contact`. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Contact`. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the contact. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the contact. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. Immutable. The resource name of the Company. + * Format: "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string company = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getCompany() + { + return isset($this->company) ? $this->company : ''; + } + + public function hasCompany() + { + return isset($this->company); + } + + public function clearCompany() + { + unset($this->company); + } + + /** + * Required. Immutable. The resource name of the Company. + * Format: "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string company = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCompany($var) + { + GPBUtil::checkString($var, True); + $this->company = $var; + + return $this; + } + + /** + * Output only. The status of the contact. This attribute is assigned by + * Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the contact. This attribute is assigned by + * Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ContactStatusEnum\ContactStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The address of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAddress() + { + return isset($this->address) ? $this->address : ''; + } + + public function hasAddress() + { + return isset($this->address); + } + + public function clearAddress() + { + unset($this->address); + } + + /** + * Optional. The address of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string address = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, True); + $this->address = $var; + + return $this; + } + + /** + * Optional. The cell phone number where the contact can be reached. + * + * Generated from protobuf field optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCellPhone() + { + return isset($this->cell_phone) ? $this->cell_phone : ''; + } + + public function hasCellPhone() + { + return isset($this->cell_phone); + } + + public function clearCellPhone() + { + unset($this->cell_phone); + } + + /** + * Optional. The cell phone number where the contact can be reached. + * + * Generated from protobuf field optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCellPhone($var) + { + GPBUtil::checkString($var, True); + $this->cell_phone = $var; + + return $this; + } + + /** + * Optional. A free-form text comment for the contact. This attribute has a + * maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getComment() + { + return isset($this->comment) ? $this->comment : ''; + } + + public function hasComment() + { + return isset($this->comment); + } + + public function clearComment() + { + unset($this->comment); + } + + /** + * Optional. A free-form text comment for the contact. This attribute has a + * maximum length of 1024 characters. + * + * Generated from protobuf field optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setComment($var) + { + GPBUtil::checkString($var, True); + $this->comment = $var; + + return $this; + } + + /** + * Optional. The e-mail address where the contact can be reached. This + * attribute has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getEmail() + { + return isset($this->email) ? $this->email : ''; + } + + public function hasEmail() + { + return isset($this->email); + } + + public function clearEmail() + { + unset($this->email); + } + + /** + * Optional. The e-mail address where the contact can be reached. This + * attribute has a maximum length of 128 characters. + * + * Generated from protobuf field optional string email = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setEmail($var) + { + GPBUtil::checkString($var, True); + $this->email = $var; + + return $this; + } + + /** + * Optional. The fax number where the contact can be reached. This attribute + * has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFax() + { + return isset($this->fax) ? $this->fax : ''; + } + + public function hasFax() + { + return isset($this->fax); + } + + public function clearFax() + { + unset($this->fax); + } + + /** + * Optional. The fax number where the contact can be reached. This attribute + * has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFax($var) + { + GPBUtil::checkString($var, True); + $this->fax = $var; + + return $this; + } + + /** + * Optional. The job title of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string title = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTitle() + { + return isset($this->title) ? $this->title : ''; + } + + public function hasTitle() + { + return isset($this->title); + } + + public function clearTitle() + { + unset($this->title); + } + + /** + * Optional. The job title of the contact. This attribute has a maximum length + * of 1024 characters. + * + * Generated from protobuf field optional string title = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + + /** + * Optional. The work phone number where the contact can be reached. This + * attribute has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getWorkPhone() + { + return isset($this->work_phone) ? $this->work_phone : ''; + } + + public function hasWorkPhone() + { + return isset($this->work_phone); + } + + public function clearWorkPhone() + { + unset($this->work_phone); + } + + /** + * Optional. The work phone number where the contact can be reached. This + * attribute has a maximum length of 1024 characters. + * + * Generated from protobuf field optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setWorkPhone($var) + { + GPBUtil::checkString($var, True); + $this->work_phone = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum.php new file mode 100644 index 000000000000..d9eac75c1333 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ContactStatusEnum + */ +class ContactStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum/ContactStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum/ContactStatus.php new file mode 100644 index 000000000000..c8b21c4fddc9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContactStatusEnum/ContactStatus.php @@ -0,0 +1,93 @@ +google.ads.admanager.v1.ContactStatusEnum.ContactStatus + */ +class ContactStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CONTACT_STATUS_UNSPECIFIED = 0; + */ + const CONTACT_STATUS_UNSPECIFIED = 0; + /** + * The contact was invited to see their orders, but the invitation was + * cancelled. + * + * Generated from protobuf enum INVITE_CANCELED = 1; + */ + const INVITE_CANCELED = 1; + /** + * The contact has been invited to see their orders, but the invitation has + * already expired. + * + * Generated from protobuf enum INVITE_EXPIRED = 2; + */ + const INVITE_EXPIRED = 2; + /** + * The contact has been invited to see their orders, but has not yet + * accepted the invitation. + * + * Generated from protobuf enum INVITE_PENDING = 3; + */ + const INVITE_PENDING = 3; + /** + * The contact has not been invited to see their orders. + * + * Generated from protobuf enum UNINVITED = 4; + */ + const UNINVITED = 4; + /** + * The contact has access to login and view their orders. + * + * Generated from protobuf enum USER_ACTIVE = 5; + */ + const USER_ACTIVE = 5; + /** + * The contact accepted an invitation to see their orders, but their access + * was later revoked. + * + * Generated from protobuf enum USER_DISABLED = 6; + */ + const USER_DISABLED = 6; + + private static $valueToName = [ + self::CONTACT_STATUS_UNSPECIFIED => 'CONTACT_STATUS_UNSPECIFIED', + self::INVITE_CANCELED => 'INVITE_CANCELED', + self::INVITE_EXPIRED => 'INVITE_EXPIRED', + self::INVITE_PENDING => 'INVITE_PENDING', + self::UNINVITED => 'UNINVITED', + self::USER_ACTIVE => 'USER_ACTIVE', + self::USER_DISABLED => 'USER_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Content.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Content.php new file mode 100644 index 000000000000..cc71bb4cc484 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Content.php @@ -0,0 +1,797 @@ +google.ads.admanager.v1.Content + */ +class Content extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Content`. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The name of the `Content`. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The status of this `Content`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Output only. Whether the content status was defined by the user, or by the + * source CMS from which the `Content` was ingested. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $content_status_source = null; + /** + * Output only. The current DAI ingest status of the HLS media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have HLS media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $hls_ingest_status = null; + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the HLS media. This attribute will be empty if the + * hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * HLS media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $hls_ingest_errors; + /** + * Output only. The timestamp at which this `Content`'s HLS media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have HLS + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $last_hls_ingest_time = null; + /** + * Output only. The current DAI ingest status of the DASH media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have DASH media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $dash_ingest_status = null; + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the DASH media. This attribute will be empty if + * the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * DASH media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $dash_ingest_errors; + /** + * Output only. The timestamp at which this `Content`'s DASH media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have DASH + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $last_dash_ingest_time = null; + /** + * Output only. The timestamp at which this `Content` was published. + * + * Generated from protobuf field optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $import_time = null; + /** + * Output only. The timestamp at which this `Content` was last modified. + * The last modified date time will always be updated when a + * [ContentBundle][google.ads.admanager.v1.ContentBundle] + * association is changed, but will not always be updated when a + * [CmsMetadataValue][google.ads.admanager.v1.CmsMetadataValue] + * value is changed. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. Information about the `Content` from the CMS it was ingested + * from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $cms_sources; + /** + * Output only. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] of + * which this `Content` is a member. + * + * Generated from protobuf field repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + private $content_bundles; + /** + * Output only. The resource names of the [CmsMetadataValues] + * [google.ads.admanager.v1.CmsMetadataValue] that + * are associated with this `Content`. + * + * Generated from protobuf field repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + private $cms_metadata_values; + /** + * Output only. The duration of the `Content`. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $duration = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Content`. + * Format: `networks/{network_code}/content/{content_id}` + * @type string $display_name + * Output only. The name of the `Content`. + * @type int $status + * Output only. The status of this `Content`. + * @type int $content_status_source + * Output only. Whether the content status was defined by the user, or by the + * source CMS from which the `Content` was ingested. + * @type int $hls_ingest_status + * Output only. The current DAI ingest status of the HLS media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have HLS media. + * @type \Google\Ads\AdManager\V1\DaiIngestError[] $hls_ingest_errors + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the HLS media. This attribute will be empty if the + * hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * HLS media. + * @type \Google\Protobuf\Timestamp $last_hls_ingest_time + * Output only. The timestamp at which this `Content`'s HLS media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have HLS + * media. + * @type int $dash_ingest_status + * Output only. The current DAI ingest status of the DASH media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have DASH media. + * @type \Google\Ads\AdManager\V1\DaiIngestError[] $dash_ingest_errors + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the DASH media. This attribute will be empty if + * the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * DASH media. + * @type \Google\Protobuf\Timestamp $last_dash_ingest_time + * Output only. The timestamp at which this `Content`'s DASH media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have DASH + * media. + * @type \Google\Protobuf\Timestamp $import_time + * Output only. The timestamp at which this `Content` was published. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The timestamp at which this `Content` was last modified. + * The last modified date time will always be updated when a + * [ContentBundle][google.ads.admanager.v1.ContentBundle] + * association is changed, but will not always be updated when a + * [CmsMetadataValue][google.ads.admanager.v1.CmsMetadataValue] + * value is changed. + * @type \Google\Ads\AdManager\V1\CmsContent[] $cms_sources + * Output only. Information about the `Content` from the CMS it was ingested + * from. + * @type string[] $content_bundles + * Output only. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] of + * which this `Content` is a member. + * @type string[] $cms_metadata_values + * Output only. The resource names of the [CmsMetadataValues] + * [google.ads.admanager.v1.CmsMetadataValue] that + * are associated with this `Content`. + * @type \Google\Protobuf\Duration $duration + * Output only. The duration of the `Content`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Content`. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Content`. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The name of the `Content`. + * + * Generated from protobuf field optional string display_name = 2 [(.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 name of the `Content`. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The status of this `Content`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of this `Content`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ContentStatusEnum\ContentStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. Whether the content status was defined by the user, or by the + * source CMS from which the `Content` was ingested. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getContentStatusSource() + { + return isset($this->content_status_source) ? $this->content_status_source : 0; + } + + public function hasContentStatusSource() + { + return isset($this->content_status_source); + } + + public function clearContentStatusSource() + { + unset($this->content_status_source); + } + + /** + * Output only. Whether the content status was defined by the user, or by the + * source CMS from which the `Content` was ingested. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setContentStatusSource($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ContentStatusSourceEnum\ContentStatusSource::class); + $this->content_status_source = $var; + + return $this; + } + + /** + * Output only. The current DAI ingest status of the HLS media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have HLS media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getHlsIngestStatus() + { + return isset($this->hls_ingest_status) ? $this->hls_ingest_status : 0; + } + + public function hasHlsIngestStatus() + { + return isset($this->hls_ingest_status); + } + + public function clearHlsIngestStatus() + { + unset($this->hls_ingest_status); + } + + /** + * Output only. The current DAI ingest status of the HLS media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have HLS media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setHlsIngestStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DaiIngestStatusEnum\DaiIngestStatus::class); + $this->hls_ingest_status = $var; + + return $this; + } + + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the HLS media. This attribute will be empty if the + * hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * HLS media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\DaiIngestError> + */ + public function getHlsIngestErrors() + { + return $this->hls_ingest_errors; + } + + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the HLS media. This attribute will be empty if the + * hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * HLS media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\DaiIngestError[] $var + * @return $this + */ + public function setHlsIngestErrors($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DaiIngestError::class); + $this->hls_ingest_errors = $arr; + + return $this; + } + + /** + * Output only. The timestamp at which this `Content`'s HLS media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have HLS + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getLastHlsIngestTime() + { + return $this->last_hls_ingest_time; + } + + public function hasLastHlsIngestTime() + { + return isset($this->last_hls_ingest_time); + } + + public function clearLastHlsIngestTime() + { + unset($this->last_hls_ingest_time); + } + + /** + * Output only. The timestamp at which this `Content`'s HLS media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have HLS + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setLastHlsIngestTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->last_hls_ingest_time = $var; + + return $this; + } + + /** + * Output only. The current DAI ingest status of the DASH media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have DASH media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getDashIngestStatus() + { + return isset($this->dash_ingest_status) ? $this->dash_ingest_status : 0; + } + + public function hasDashIngestStatus() + { + return isset($this->dash_ingest_status); + } + + public function clearDashIngestStatus() + { + unset($this->dash_ingest_status); + } + + /** + * Output only. The current DAI ingest status of the DASH media for the + * `Content`. This attribute is unset if the `Content` is not eligible for + * dynamic ad insertion or if the `Content` does not have DASH media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setDashIngestStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DaiIngestStatusEnum\DaiIngestStatus::class); + $this->dash_ingest_status = $var; + + return $this; + } + + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the DASH media. This attribute will be empty if + * the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * DASH media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\DaiIngestError> + */ + public function getDashIngestErrors() + { + return $this->dash_ingest_errors; + } + + /** + * Output only. The list of any errors that occurred during the most recent + * DAI ingestion process of the DASH media. This attribute will be empty if + * the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the `Content` is + * not eligible for dynamic ad insertion or if the `Content` does not have + * DASH media. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\DaiIngestError[] $var + * @return $this + */ + public function setDashIngestErrors($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DaiIngestError::class); + $this->dash_ingest_errors = $arr; + + return $this; + } + + /** + * Output only. The timestamp at which this `Content`'s DASH media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have DASH + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getLastDashIngestTime() + { + return $this->last_dash_ingest_time; + } + + public function hasLastDashIngestTime() + { + return isset($this->last_dash_ingest_time); + } + + public function clearLastDashIngestTime() + { + unset($this->last_dash_ingest_time); + } + + /** + * Output only. The timestamp at which this `Content`'s DASH media was last + * ingested for DAI. This attribute will be unset if the `Content` is not + * eligible for dynamic ad insertion or if the `Content` does not have DASH + * media. + * + * Generated from protobuf field optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setLastDashIngestTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->last_dash_ingest_time = $var; + + return $this; + } + + /** + * Output only. The timestamp at which this `Content` was published. + * + * Generated from protobuf field optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getImportTime() + { + return $this->import_time; + } + + public function hasImportTime() + { + return isset($this->import_time); + } + + public function clearImportTime() + { + unset($this->import_time); + } + + /** + * Output only. The timestamp at which this `Content` was published. + * + * Generated from protobuf field optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setImportTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->import_time = $var; + + return $this; + } + + /** + * Output only. The timestamp at which this `Content` was last modified. + * The last modified date time will always be updated when a + * [ContentBundle][google.ads.admanager.v1.ContentBundle] + * association is changed, but will not always be updated when a + * [CmsMetadataValue][google.ads.admanager.v1.CmsMetadataValue] + * value is changed. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The timestamp at which this `Content` was last modified. + * The last modified date time will always be updated when a + * [ContentBundle][google.ads.admanager.v1.ContentBundle] + * association is changed, but will not always be updated when a + * [CmsMetadataValue][google.ads.admanager.v1.CmsMetadataValue] + * value is changed. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Output only. Information about the `Content` from the CMS it was ingested + * from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CmsContent> + */ + public function getCmsSources() + { + return $this->cms_sources; + } + + /** + * Output only. Information about the `Content` from the CMS it was ingested + * from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\CmsContent[] $var + * @return $this + */ + public function setCmsSources($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CmsContent::class); + $this->cms_sources = $arr; + + return $this; + } + + /** + * Output only. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] of + * which this `Content` is a member. + * + * Generated from protobuf field repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getContentBundles() + { + return $this->content_bundles; + } + + /** + * Output only. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] of + * which this `Content` is a member. + * + * Generated from protobuf field repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setContentBundles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->content_bundles = $arr; + + return $this; + } + + /** + * Output only. The resource names of the [CmsMetadataValues] + * [google.ads.admanager.v1.CmsMetadataValue] that + * are associated with this `Content`. + * + * Generated from protobuf field repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getCmsMetadataValues() + { + return $this->cms_metadata_values; + } + + /** + * Output only. The resource names of the [CmsMetadataValues] + * [google.ads.admanager.v1.CmsMetadataValue] that + * are associated with this `Content`. + * + * Generated from protobuf field repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setCmsMetadataValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->cms_metadata_values = $arr; + + return $this; + } + + /** + * Output only. The duration of the `Content`. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Duration|null + */ + public function getDuration() + { + return $this->duration; + } + + public function hasDuration() + { + return isset($this->duration); + } + + public function clearDuration() + { + unset($this->duration); + } + + /** + * Output only. The duration of the `Content`. + * + * Generated from protobuf field optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->duration = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundle.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundle.php new file mode 100644 index 000000000000..116e21f18466 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundle.php @@ -0,0 +1,208 @@ +google.ads.admanager.v1.ContentBundle + */ +class ContentBundle extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. Format: + * `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * required and has a maximum length of 255 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Output only. The ContentBundleStatus of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * read-only and defaults to [ContentBundleStatus.INACTIVE][]. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentBundleStatusEnum.ContentBundleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = 0; + /** + * Output only. The time the `ContentBundle` was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. Format: + * `networks/{network_code}/contentBundles/{content_bundle_id}` + * @type string $display_name + * Required. The name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * required and has a maximum length of 255 characters. + * @type int $status + * Output only. The ContentBundleStatus of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * read-only and defaults to [ContentBundleStatus.INACTIVE][]. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The time the `ContentBundle` was last modified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. Format: + * `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. Format: + * `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * required and has a maximum length of 255 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. The name of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * required and has a maximum length of 255 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The ContentBundleStatus of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * read-only and defaults to [ContentBundleStatus.INACTIVE][]. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentBundleStatusEnum.ContentBundleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getStatus() + { + return $this->status; + } + + /** + * Output only. The ContentBundleStatus of the + * [ContentBundle][google.ads.admanager.v1.ContentBundle]. This attribute is + * read-only and defaults to [ContentBundleStatus.INACTIVE][]. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentBundleStatusEnum.ContentBundleStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ContentBundleStatusEnum\ContentBundleStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. The time the `ContentBundle` was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The time the `ContentBundle` was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum.php new file mode 100644 index 000000000000..61be87634ac6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ContentBundleStatusEnum + */ +class ContentBundleStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum/ContentBundleStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum/ContentBundleStatus.php new file mode 100644 index 000000000000..259234d83b16 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentBundleStatusEnum/ContentBundleStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.ContentBundleStatusEnum.ContentBundleStatus + */ +class ContentBundleStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CONTENT_BUNDLE_STATUS_UNSPECIFIED = 0; + */ + const CONTENT_BUNDLE_STATUS_UNSPECIFIED = 0; + /** + * The object is active and stats are collected. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The object has been archived. + * + * Generated from protobuf enum ARCHIVED = 2; + */ + const ARCHIVED = 2; + /** + * The object is no longer active and no stats collected. + * + * Generated from protobuf enum INACTIVE = 3; + */ + const INACTIVE = 3; + + private static $valueToName = [ + self::CONTENT_BUNDLE_STATUS_UNSPECIFIED => 'CONTENT_BUNDLE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ARCHIVED => 'ARCHIVED', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentLabel.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentLabel.php new file mode 100644 index 000000000000..ccb0b03ac18f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentLabel.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.ContentLabel + */ +class ContentLabel extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `ContentLabel`. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. The display name of the `ContentLabel`. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `ContentLabel`. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * @type string $display_name + * Optional. The display name of the `ContentLabel`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentLabelMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `ContentLabel`. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `ContentLabel`. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. The display name of the `ContentLabel`. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. The display name of the `ContentLabel`. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum.php new file mode 100644 index 000000000000..0079ba036910 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ContentStatusEnum + */ +class ContentStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum/ContentStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum/ContentStatus.php new file mode 100644 index 000000000000..d3d2aea782c1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusEnum/ContentStatus.php @@ -0,0 +1,85 @@ +google.ads.admanager.v1.ContentStatusEnum.ContentStatus + */ +class ContentStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CONTENT_STATUS_UNSPECIFIED = 0; + */ + const CONTENT_STATUS_UNSPECIFIED = 0; + /** + * Indicates the `Content` has been created and is eligible to have ads + * served against it. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Indicates the `Content` has been deactivated and cannot have ads served + * against it. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + /** + * Indicates the `Content` has been archived; user-visible. + * + * Generated from protobuf enum ARCHIVED = 3; + */ + const ARCHIVED = 3; + /** + * Indicates the `Content` has been removed from an external CMS. + * + * Generated from protobuf enum DELETED = 4; + */ + const DELETED = 4; + /** + * Indicates the `Content` is a duplicate of another piece of content. + * + * Generated from protobuf enum DUPLICATED = 5; + */ + const DUPLICATED = 5; + + private static $valueToName = [ + self::CONTENT_STATUS_UNSPECIFIED => 'CONTENT_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + self::ARCHIVED => 'ARCHIVED', + self::DELETED => 'DELETED', + self::DUPLICATED => 'DUPLICATED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum.php new file mode 100644 index 000000000000..0ecb4151992e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ContentStatusSourceEnum + */ +class ContentStatusSourceEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum/ContentStatusSource.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum/ContentStatusSource.php new file mode 100644 index 000000000000..f30d5f4c650f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentStatusSourceEnum/ContentStatusSource.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource + */ +class ContentStatusSource +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CONTENT_STATUS_SOURCE_UNSPECIFIED = 0; + */ + const CONTENT_STATUS_SOURCE_UNSPECIFIED = 0; + /** + * Indicates that the status of the `Content` is defined by the CMS. + * + * Generated from protobuf enum CMS = 1; + */ + const CMS = 1; + /** + * Indicates that the status of the `Content` is defined by the user. + * + * Generated from protobuf enum USER = 2; + */ + const USER = 2; + + private static $valueToName = [ + self::CONTENT_STATUS_SOURCE_UNSPECIFIED => 'CONTENT_STATUS_SOURCE_UNSPECIFIED', + self::CMS => 'CMS', + self::USER => '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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentTargeting.php new file mode 100644 index 000000000000..bcc4eb862b3a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ContentTargeting.php @@ -0,0 +1,202 @@ +google.ads.admanager.v1.ContentTargeting + */ +class ContentTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_content = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_content; + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_content = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_content; + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be targeted/included. + * + * Generated from protobuf field repeated string targeted_content_bundles = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_content_bundles; + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be excluded. + * + * Generated from protobuf field repeated string excluded_content_bundles = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_content_bundles; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_content + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * targeted/included. + * @type string[] $excluded_content + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * excluded. + * @type string[] $targeted_content_bundles + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be targeted/included. + * @type string[] $excluded_content_bundles + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_content = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedContent() + { + return $this->targeted_content; + } + + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_content = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedContent($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_content = $arr; + + return $this; + } + + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_content = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedContent() + { + return $this->excluded_content; + } + + /** + * Optional. The resource names of the + * [Content][google.ads.admanager.v1.Content] that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_content = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedContent($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_content = $arr; + + return $this; + } + + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be targeted/included. + * + * Generated from protobuf field repeated string targeted_content_bundles = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedContentBundles() + { + return $this->targeted_content_bundles; + } + + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be targeted/included. + * + * Generated from protobuf field repeated string targeted_content_bundles = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedContentBundles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_content_bundles = $arr; + + return $this; + } + + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be excluded. + * + * Generated from protobuf field repeated string excluded_content_bundles = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedContentBundles() + { + return $this->excluded_content_bundles; + } + + /** + * Optional. The resource names of the + * [ContentBundles][google.ads.admanager.v1.ContentBundle] that + * should be excluded. + * + * Generated from protobuf field repeated string excluded_content_bundles = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedContentBundles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_content_bundles = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdBreakRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdBreakRequest.php new file mode 100644 index 000000000000..ff27e00cbff6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdBreakRequest.php @@ -0,0 +1,148 @@ +google.ads.admanager.v1.CreateAdBreakRequest + */ +class CreateAdBreakRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `AdBreak` will be created + * identified by an asset key or custom asset key. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdBreak` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_break = null; + + /** + * @param string $parent Required. The parent resource where this `AdBreak` will be created + * identified by an asset key or custom asset key. + * + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * Please see {@see AdBreakServiceClient::liveStreamEventName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\AdBreak $adBreak Required. The `AdBreak` to create. + * + * @return \Google\Ads\AdManager\V1\CreateAdBreakRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\AdBreak $adBreak): self + { + return (new self()) + ->setParent($parent) + ->setAdBreak($adBreak); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `AdBreak` will be created + * identified by an asset key or custom asset key. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * @type \Google\Ads\AdManager\V1\AdBreak $ad_break + * Required. The `AdBreak` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `AdBreak` will be created + * identified by an asset key or custom asset key. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `AdBreak` will be created + * identified by an asset key or custom asset key. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdBreak` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdBreak|null + */ + public function getAdBreak() + { + return $this->ad_break; + } + + public function hasAdBreak() + { + return isset($this->ad_break); + } + + public function clearAdBreak() + { + unset($this->ad_break); + } + + /** + * Required. The `AdBreak` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdBreak $var + * @return $this + */ + public function setAdBreak($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdBreak::class); + $this->ad_break = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdRuleRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdRuleRequest.php new file mode 100644 index 000000000000..1c8ce2fa0576 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdRuleRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateAdRuleRequest + */ +class CreateAdRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `AdRule` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdRule` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_rule = null; + + /** + * @param string $parent Required. The parent resource where this `AdRule` will be created. + * Format: `networks/{network_code}` + * Please see {@see AdRuleServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\AdRule $adRule Required. The `AdRule` to create. + * + * @return \Google\Ads\AdManager\V1\CreateAdRuleRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\AdRule $adRule): self + { + return (new self()) + ->setParent($parent) + ->setAdRule($adRule); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `AdRule` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\AdRule $ad_rule + * Required. The `AdRule` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `AdRule` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `AdRule` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdRule` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdRule|null + */ + public function getAdRule() + { + return $this->ad_rule; + } + + public function hasAdRule() + { + return isset($this->ad_rule); + } + + public function clearAdRule() + { + unset($this->ad_rule); + } + + /** + * Required. The `AdRule` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdRule $var + * @return $this + */ + public function setAdRule($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdRule::class); + $this->ad_rule = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdSpotRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdSpotRequest.php new file mode 100644 index 000000000000..f0357e4aff3e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdSpotRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateAdSpotRequest + */ +class CreateAdSpotRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `AdSpot` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdSpot` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_spot = null; + + /** + * @param string $parent Required. The parent resource where this `AdSpot` will be created. + * Format: `networks/{network_code}` + * Please see {@see AdSpotServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\AdSpot $adSpot Required. The `AdSpot` to create. + * + * @return \Google\Ads\AdManager\V1\CreateAdSpotRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\AdSpot $adSpot): self + { + return (new self()) + ->setParent($parent) + ->setAdSpot($adSpot); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `AdSpot` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\AdSpot $ad_spot + * Required. The `AdSpot` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `AdSpot` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `AdSpot` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdSpot` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdSpot|null + */ + public function getAdSpot() + { + return $this->ad_spot; + } + + public function hasAdSpot() + { + return isset($this->ad_spot); + } + + public function clearAdSpot() + { + unset($this->ad_spot); + } + + /** + * Required. The `AdSpot` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdSpot $var + * @return $this + */ + public function setAdSpot($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdSpot::class); + $this->ad_spot = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdUnitRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdUnitRequest.php new file mode 100644 index 000000000000..e951a4b89a25 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateAdUnitRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateAdUnitRequest + */ +class CreateAdUnitRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `AdUnit` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `AdUnit` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_unit = null; + + /** + * @param string $parent Required. The parent resource where this `AdUnit` will be created. + * Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\AdUnit $adUnit Required. The `AdUnit` to create. + * + * @return \Google\Ads\AdManager\V1\CreateAdUnitRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\AdUnit $adUnit): self + { + return (new self()) + ->setParent($parent) + ->setAdUnit($adUnit); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `AdUnit` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\AdUnit $ad_unit + * Required. The `AdUnit` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `AdUnit` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `AdUnit` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `AdUnit` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdUnit|null + */ + public function getAdUnit() + { + return $this->ad_unit; + } + + public function hasAdUnit() + { + return isset($this->ad_unit); + } + + public function clearAdUnit() + { + unset($this->ad_unit); + } + + /** + * Required. The `AdUnit` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdUnit $var + * @return $this + */ + public function setAdUnit($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdUnit::class); + $this->ad_unit = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateApplicationRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateApplicationRequest.php new file mode 100644 index 000000000000..2b90e8abfb89 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateApplicationRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateApplicationRequest + */ +class CreateApplicationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Application` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Application` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $application = null; + + /** + * @param string $parent Required. The parent resource where this `Application` will be created. + * Format: `networks/{network_code}` + * Please see {@see ApplicationServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Application $application Required. The `Application` to create. + * + * @return \Google\Ads\AdManager\V1\CreateApplicationRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Application $application): self + { + return (new self()) + ->setParent($parent) + ->setApplication($application); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Application` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Application $application + * Required. The `Application` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Application` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Application` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Application` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Application|null + */ + public function getApplication() + { + return $this->application; + } + + public function hasApplication() + { + return isset($this->application); + } + + public function clearApplication() + { + unset($this->application); + } + + /** + * Required. The `Application` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Application $var + * @return $this + */ + public function setApplication($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Application::class); + $this->application = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCdnConfigRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCdnConfigRequest.php new file mode 100644 index 000000000000..555c739168d6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCdnConfigRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateCdnConfigRequest + */ +class CreateCdnConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `CdnConfig` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CdnConfig` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $cdn_config = null; + + /** + * @param string $parent Required. The parent resource where this `CdnConfig` will be created. + * Format: `networks/{network_code}` + * Please see {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CdnConfig $cdnConfig Required. The `CdnConfig` to create. + * + * @return \Google\Ads\AdManager\V1\CreateCdnConfigRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\CdnConfig $cdnConfig): self + { + return (new self()) + ->setParent($parent) + ->setCdnConfig($cdnConfig); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `CdnConfig` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CdnConfig $cdn_config + * Required. The `CdnConfig` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `CdnConfig` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `CdnConfig` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CdnConfig` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CdnConfig|null + */ + public function getCdnConfig() + { + return $this->cdn_config; + } + + public function hasCdnConfig() + { + return isset($this->cdn_config); + } + + public function clearCdnConfig() + { + unset($this->cdn_config); + } + + /** + * Required. The `CdnConfig` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CdnConfig $var + * @return $this + */ + public function setCdnConfig($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CdnConfig::class); + $this->cdn_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateContactRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateContactRequest.php new file mode 100644 index 000000000000..29919d505754 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateContactRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateContactRequest + */ +class CreateContactRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Contact` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Contact` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $contact = null; + + /** + * @param string $parent Required. The parent resource where this `Contact` will be created. + * Format: `networks/{network_code}` + * Please see {@see ContactServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Contact $contact Required. The `Contact` to create. + * + * @return \Google\Ads\AdManager\V1\CreateContactRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Contact $contact): self + { + return (new self()) + ->setParent($parent) + ->setContact($contact); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Contact` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Contact $contact + * Required. The `Contact` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Contact` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Contact` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Contact` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Contact|null + */ + public function getContact() + { + return $this->contact; + } + + public function hasContact() + { + return isset($this->contact); + } + + public function clearContact() + { + unset($this->contact); + } + + /** + * Required. The `Contact` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Contact $var + * @return $this + */ + public function setContact($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Contact::class); + $this->contact = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCreativeSetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCreativeSetRequest.php new file mode 100644 index 000000000000..3a488d518875 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCreativeSetRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateCreativeSetRequest + */ +class CreateCreativeSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `CreativeSet` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CreativeSet` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $creative_set = null; + + /** + * @param string $parent Required. The parent resource where this `CreativeSet` will be created. + * Format: `networks/{network_code}` + * Please see {@see CreativeSetServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CreativeSet $creativeSet Required. The `CreativeSet` to create. + * + * @return \Google\Ads\AdManager\V1\CreateCreativeSetRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\CreativeSet $creativeSet): self + { + return (new self()) + ->setParent($parent) + ->setCreativeSet($creativeSet); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `CreativeSet` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CreativeSet $creative_set + * Required. The `CreativeSet` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `CreativeSet` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `CreativeSet` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CreativeSet` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CreativeSet|null + */ + public function getCreativeSet() + { + return $this->creative_set; + } + + public function hasCreativeSet() + { + return isset($this->creative_set); + } + + public function clearCreativeSet() + { + unset($this->creative_set); + } + + /** + * Required. The `CreativeSet` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreativeSet $var + * @return $this + */ + public function setCreativeSet($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeSet::class); + $this->creative_set = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomFieldRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomFieldRequest.php new file mode 100644 index 000000000000..f0a16276b60b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomFieldRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateCustomFieldRequest + */ +class CreateCustomFieldRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `CustomField` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomField` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_field = null; + + /** + * @param string $parent Required. The parent resource where this `CustomField` will be created. + * Format: `networks/{network_code}` + * Please see {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CustomField $customField Required. The `CustomField` to create. + * + * @return \Google\Ads\AdManager\V1\CreateCustomFieldRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\CustomField $customField): self + { + return (new self()) + ->setParent($parent) + ->setCustomField($customField); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `CustomField` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CustomField $custom_field + * Required. The `CustomField` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `CustomField` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `CustomField` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomField` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomField|null + */ + public function getCustomField() + { + return $this->custom_field; + } + + public function hasCustomField() + { + return isset($this->custom_field); + } + + public function clearCustomField() + { + unset($this->custom_field); + } + + /** + * Required. The `CustomField` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomField $var + * @return $this + */ + public function setCustomField($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomField::class); + $this->custom_field = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingKeyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingKeyRequest.php new file mode 100644 index 000000000000..508ebb33632d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingKeyRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateCustomTargetingKeyRequest + */ +class CreateCustomTargetingKeyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `CustomTargetingKey` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingKey` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_targeting_key = null; + + /** + * @param string $parent Required. The parent resource where this `CustomTargetingKey` will be + * created. Format: `networks/{network_code}` + * Please see {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CustomTargetingKey $customTargetingKey Required. The `CustomTargetingKey` to create. + * + * @return \Google\Ads\AdManager\V1\CreateCustomTargetingKeyRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\CustomTargetingKey $customTargetingKey): self + { + return (new self()) + ->setParent($parent) + ->setCustomTargetingKey($customTargetingKey); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `CustomTargetingKey` will be + * created. Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CustomTargetingKey $custom_targeting_key + * Required. The `CustomTargetingKey` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `CustomTargetingKey` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `CustomTargetingKey` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingKey` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomTargetingKey|null + */ + public function getCustomTargetingKey() + { + return $this->custom_targeting_key; + } + + public function hasCustomTargetingKey() + { + return isset($this->custom_targeting_key); + } + + public function clearCustomTargetingKey() + { + unset($this->custom_targeting_key); + } + + /** + * Required. The `CustomTargetingKey` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomTargetingKey $var + * @return $this + */ + public function setCustomTargetingKey($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomTargetingKey::class); + $this->custom_targeting_key = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingValueRequest.php new file mode 100644 index 000000000000..6706cd1cae14 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateCustomTargetingValueRequest.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.CreateCustomTargetingValueRequest + */ +class CreateCustomTargetingValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `CustomTargetingValue` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_targeting_value = null; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\CustomTargetingValue $customTargetingValue Required. The `CustomTargetingValue` to create. + * + * @return \Google\Ads\AdManager\V1\CreateCustomTargetingValueRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\CustomTargetingValue $customTargetingValue): self + { + return (new self()) + ->setParent($parent) + ->setCustomTargetingValue($customTargetingValue); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\CustomTargetingValue $custom_targeting_value + * Required. The `CustomTargetingValue` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `CustomTargetingValue` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomTargetingValue|null + */ + public function getCustomTargetingValue() + { + return $this->custom_targeting_value; + } + + public function hasCustomTargetingValue() + { + return isset($this->custom_targeting_value); + } + + public function clearCustomTargetingValue() + { + unset($this->custom_targeting_value); + } + + /** + * Required. The `CustomTargetingValue` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomTargetingValue $var + * @return $this + */ + public function setCustomTargetingValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomTargetingValue::class); + $this->custom_targeting_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateEntitySignalsMappingRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateEntitySignalsMappingRequest.php new file mode 100644 index 000000000000..fa0b9a79ae48 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateEntitySignalsMappingRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateEntitySignalsMappingRequest + */ +class CreateEntitySignalsMappingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this EntitySignalsMapping will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The EntitySignalsMapping object to create. + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $entity_signals_mapping = null; + + /** + * @param string $parent Required. The parent resource where this EntitySignalsMapping will be + * created. Format: `networks/{network_code}` + * Please see {@see EntitySignalsMappingServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping $entitySignalsMapping Required. The EntitySignalsMapping object to create. + * + * @return \Google\Ads\AdManager\V1\CreateEntitySignalsMappingRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\EntitySignalsMapping $entitySignalsMapping): self + { + return (new self()) + ->setParent($parent) + ->setEntitySignalsMapping($entitySignalsMapping); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this EntitySignalsMapping will be + * created. Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\EntitySignalsMapping $entity_signals_mapping + * Required. The EntitySignalsMapping object to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this EntitySignalsMapping will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this EntitySignalsMapping will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The EntitySignalsMapping object to create. + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\EntitySignalsMapping|null + */ + public function getEntitySignalsMapping() + { + return $this->entity_signals_mapping; + } + + public function hasEntitySignalsMapping() + { + return isset($this->entity_signals_mapping); + } + + public function clearEntitySignalsMapping() + { + unset($this->entity_signals_mapping); + } + + /** + * Required. The EntitySignalsMapping object to create. + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping $var + * @return $this + */ + public function setEntitySignalsMapping($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\EntitySignalsMapping::class); + $this->entity_signals_mapping = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLabelRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLabelRequest.php new file mode 100644 index 000000000000..301e54ef7eff --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLabelRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateLabelRequest + */ +class CreateLabelRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Label` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Label` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $label = null; + + /** + * @param string $parent Required. The parent resource where this `Label` will be created. + * Format: `networks/{network_code}` + * Please see {@see LabelServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Label $label Required. The `Label` to create. + * + * @return \Google\Ads\AdManager\V1\CreateLabelRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Label $label): self + { + return (new self()) + ->setParent($parent) + ->setLabel($label); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Label` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Label $label + * Required. The `Label` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Label` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Label` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Label` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Label|null + */ + public function getLabel() + { + return $this->label; + } + + public function hasLabel() + { + return isset($this->label); + } + + public function clearLabel() + { + unset($this->label); + } + + /** + * Required. The `Label` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Label $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Label::class); + $this->label = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLiveStreamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLiveStreamRequest.php new file mode 100644 index 000000000000..11b2f923203d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateLiveStreamRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateLiveStreamRequest + */ +class CreateLiveStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `LiveStream` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `LiveStream` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $live_stream = null; + + /** + * @param string $parent Required. The parent resource where this `LiveStream` will be created. + * Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\LiveStream $liveStream Required. The `LiveStream` to create. + * + * @return \Google\Ads\AdManager\V1\CreateLiveStreamRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\LiveStream $liveStream): self + { + return (new self()) + ->setParent($parent) + ->setLiveStream($liveStream); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `LiveStream` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\LiveStream $live_stream + * Required. The `LiveStream` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `LiveStream` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `LiveStream` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `LiveStream` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\LiveStream|null + */ + public function getLiveStream() + { + return $this->live_stream; + } + + public function hasLiveStream() + { + return isset($this->live_stream); + } + + public function clearLiveStream() + { + unset($this->live_stream); + } + + /** + * Required. The `LiveStream` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\LiveStream $var + * @return $this + */ + public function setLiveStream($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LiveStream::class); + $this->live_stream = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateOrderRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateOrderRequest.php new file mode 100644 index 000000000000..6b54be16dbe7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateOrderRequest.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.CreateOrderRequest + */ +class CreateOrderRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this Order will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Order` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $order = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this Order will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Order $order + * Required. The `Order` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this Order will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this Order will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Order` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Order|null + */ + public function getOrder() + { + return $this->order; + } + + public function hasOrder() + { + return isset($this->order); + } + + public function clearOrder() + { + unset($this->order); + } + + /** + * Required. The `Order` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Order $var + * @return $this + */ + public function setOrder($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Order::class); + $this->order = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePlacementRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePlacementRequest.php new file mode 100644 index 000000000000..2d26b8f189f8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePlacementRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreatePlacementRequest + */ +class CreatePlacementRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Placement` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Placement` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $placement = null; + + /** + * @param string $parent Required. The parent resource where this `Placement` will be created. + * Format: `networks/{network_code}` + * Please see {@see PlacementServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Placement $placement Required. The `Placement` to create. + * + * @return \Google\Ads\AdManager\V1\CreatePlacementRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Placement $placement): self + { + return (new self()) + ->setParent($parent) + ->setPlacement($placement); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Placement` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Placement $placement + * Required. The `Placement` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Placement` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Placement` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Placement` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Placement|null + */ + public function getPlacement() + { + return $this->placement; + } + + public function hasPlacement() + { + return isset($this->placement); + } + + public function clearPlacement() + { + unset($this->placement); + } + + /** + * Required. The `Placement` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Placement $var + * @return $this + */ + public function setPlacement($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Placement::class); + $this->placement = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionDealRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionDealRequest.php new file mode 100644 index 000000000000..c81c98667908 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionDealRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreatePrivateAuctionDealRequest + */ +class CreatePrivateAuctionDealRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `PrivateAuctionDeal` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `PrivateAuctionDeal` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $private_auction_deal = null; + + /** + * @param string $parent Required. The parent resource where this `PrivateAuctionDeal` will be + * created. Format: `networks/{network_code}` + * Please see {@see PrivateAuctionDealServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal $privateAuctionDeal Required. The `PrivateAuctionDeal` to create. + * + * @return \Google\Ads\AdManager\V1\CreatePrivateAuctionDealRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\PrivateAuctionDeal $privateAuctionDeal): self + { + return (new self()) + ->setParent($parent) + ->setPrivateAuctionDeal($privateAuctionDeal); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `PrivateAuctionDeal` will be + * created. Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\PrivateAuctionDeal $private_auction_deal + * Required. The `PrivateAuctionDeal` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `PrivateAuctionDeal` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `PrivateAuctionDeal` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `PrivateAuctionDeal` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\PrivateAuctionDeal|null + */ + public function getPrivateAuctionDeal() + { + return $this->private_auction_deal; + } + + public function hasPrivateAuctionDeal() + { + return isset($this->private_auction_deal); + } + + public function clearPrivateAuctionDeal() + { + unset($this->private_auction_deal); + } + + /** + * Required. The `PrivateAuctionDeal` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal $var + * @return $this + */ + public function setPrivateAuctionDeal($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrivateAuctionDeal::class); + $this->private_auction_deal = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionRequest.php new file mode 100644 index 000000000000..a056bac16652 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreatePrivateAuctionRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreatePrivateAuctionRequest + */ +class CreatePrivateAuctionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `PrivateAuction` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `PrivateAuction` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $private_auction = null; + + /** + * @param string $parent Required. The parent resource where this `PrivateAuction` will be + * created. Format: `networks/{network_code}` + * Please see {@see PrivateAuctionServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\PrivateAuction $privateAuction Required. The `PrivateAuction` to create. + * + * @return \Google\Ads\AdManager\V1\CreatePrivateAuctionRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\PrivateAuction $privateAuction): self + { + return (new self()) + ->setParent($parent) + ->setPrivateAuction($privateAuction); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `PrivateAuction` will be + * created. Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\PrivateAuction $private_auction + * Required. The `PrivateAuction` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `PrivateAuction` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `PrivateAuction` will be + * created. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `PrivateAuction` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\PrivateAuction|null + */ + public function getPrivateAuction() + { + return $this->private_auction; + } + + public function hasPrivateAuction() + { + return isset($this->private_auction); + } + + public function clearPrivateAuction() + { + unset($this->private_auction); + } + + /** + * Required. The `PrivateAuction` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\PrivateAuction $var + * @return $this + */ + public function setPrivateAuction($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrivateAuction::class); + $this->private_auction = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateReportRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateReportRequest.php new file mode 100644 index 000000000000..bbf58c0e2fba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateReportRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateReportRequest + */ +class CreateReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Report` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Report` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report = null; + + /** + * @param string $parent Required. The parent resource where this `Report` will be created. + * Format: `networks/{network_code}` + * Please see {@see ReportServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Report $report Required. The `Report` to create. + * + * @return \Google\Ads\AdManager\V1\CreateReportRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Report $report): self + { + return (new self()) + ->setParent($parent) + ->setReport($report); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Report` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Report $report + * Required. The `Report` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Report` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Report` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Report` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Report|null + */ + public function getReport() + { + return $this->report; + } + + public function hasReport() + { + return isset($this->report); + } + + public function clearReport() + { + unset($this->report); + } + + /** + * Required. The `Report` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Report $var + * @return $this + */ + public function setReport($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Report::class); + $this->report = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSiteRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSiteRequest.php new file mode 100644 index 000000000000..21992a51a9a3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSiteRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateSiteRequest + */ +class CreateSiteRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Site` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Site` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $site = null; + + /** + * @param string $parent Required. The parent resource where this `Site` will be created. + * Format: `networks/{network_code}` + * Please see {@see SiteServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Site $site Required. The `Site` to create. + * + * @return \Google\Ads\AdManager\V1\CreateSiteRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Site $site): self + { + return (new self()) + ->setParent($parent) + ->setSite($site); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Site` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Site $site + * Required. The `Site` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Site` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Site` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Site` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Site|null + */ + public function getSite() + { + return $this->site; + } + + public function hasSite() + { + return isset($this->site); + } + + public function clearSite() + { + unset($this->site); + } + + /** + * Required. The `Site` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Site $var + * @return $this + */ + public function setSite($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Site::class); + $this->site = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSlateRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSlateRequest.php new file mode 100644 index 000000000000..153ba7a34b9f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateSlateRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateSlateRequest + */ +class CreateSlateRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Slate` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Slate` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $slate = null; + + /** + * @param string $parent Required. The parent resource where this `Slate` will be created. + * Format: `networks/{network_code}` + * Please see {@see SlateServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Slate $slate Required. The `Slate` to create. + * + * @return \Google\Ads\AdManager\V1\CreateSlateRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Slate $slate): self + { + return (new self()) + ->setParent($parent) + ->setSlate($slate); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Slate` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Slate $slate + * Required. The `Slate` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Slate` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Slate` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Slate` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Slate|null + */ + public function getSlate() + { + return $this->slate; + } + + public function hasSlate() + { + return isset($this->slate); + } + + public function clearSlate() + { + unset($this->slate); + } + + /** + * Required. The `Slate` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Slate $var + * @return $this + */ + public function setSlate($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Slate::class); + $this->slate = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTargetingPresetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTargetingPresetRequest.php new file mode 100644 index 000000000000..6accf44d5669 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTargetingPresetRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateTargetingPresetRequest + */ +class CreateTargetingPresetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `TargetingPreset` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `TargetingPreset` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting_preset = null; + + /** + * @param string $parent Required. The parent resource where this `TargetingPreset` will be created. + * Format: `networks/{network_code}` + * Please see {@see TargetingPresetServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\TargetingPreset $targetingPreset Required. The `TargetingPreset` to create. + * + * @return \Google\Ads\AdManager\V1\CreateTargetingPresetRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\TargetingPreset $targetingPreset): self + { + return (new self()) + ->setParent($parent) + ->setTargetingPreset($targetingPreset); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `TargetingPreset` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\TargetingPreset $targeting_preset + * Required. The `TargetingPreset` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `TargetingPreset` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `TargetingPreset` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `TargetingPreset` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\TargetingPreset|null + */ + public function getTargetingPreset() + { + return $this->targeting_preset; + } + + public function hasTargetingPreset() + { + return isset($this->targeting_preset); + } + + public function clearTargetingPreset() + { + unset($this->targeting_preset); + } + + /** + * Required. The `TargetingPreset` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\TargetingPreset $var + * @return $this + */ + public function setTargetingPreset($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\TargetingPreset::class); + $this->targeting_preset = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTeamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTeamRequest.php new file mode 100644 index 000000000000..82686447d3f6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreateTeamRequest.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreateTeamRequest + */ +class CreateTeamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this `Team` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The `Team` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $team = null; + + /** + * @param string $parent Required. The parent resource where this `Team` will be created. + * Format: `networks/{network_code}` + * Please see {@see TeamServiceClient::networkName()} for help formatting this field. + * @param \Google\Ads\AdManager\V1\Team $team Required. The `Team` to create. + * + * @return \Google\Ads\AdManager\V1\CreateTeamRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Ads\AdManager\V1\Team $team): self + { + return (new self()) + ->setParent($parent) + ->setTeam($team); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this `Team` will be created. + * Format: `networks/{network_code}` + * @type \Google\Ads\AdManager\V1\Team $team + * Required. The `Team` to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this `Team` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource where this `Team` will be created. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The `Team` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Team|null + */ + public function getTeam() + { + return $this->team; + } + + public function hasTeam() + { + return isset($this->team); + } + + public function clearTeam() + { + unset($this->team); + } + + /** + * Required. The `Team` to create. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Team $var + * @return $this + */ + public function setTeam($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Team::class); + $this->team = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Creative.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Creative.php new file mode 100644 index 000000000000..0beb3e44ebce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Creative.php @@ -0,0 +1,119 @@ +google.ads.admanager.v1.Creative + */ +class Creative extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the Creative. + * Format: `networks/{network_code}/creatives/{creative_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Display name of the `Creative`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the Creative. + * Format: `networks/{network_code}/creatives/{creative_id}` + * @type string $display_name + * Required. Display name of the `Creative`. This attribute has a maximum + * length of 255 characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the Creative. + * Format: `networks/{network_code}/creatives/{creative_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the Creative. + * Format: `networks/{network_code}/creatives/{creative_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Display name of the `Creative`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. Display name of the `Creative`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholder.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholder.php new file mode 100644 index 000000000000..e7eeb054a788 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholder.php @@ -0,0 +1,331 @@ +google.ads.admanager.v1.CreativePlaceholder + */ +class CreativePlaceholder extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The size that the creative is expected to have. + * + * Generated from protobuf field .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $size = null; + /** + * Optional. The companions that the creative is expected to have. This + * attribute can only be set if the line item it belongs to has an + * [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] + * of VIDEO_PLAYER or + * [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of + * CREATIVE_SET. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholderCompanion companions = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $companions; + /** + * Optional. Non-empty default. Expected number of creatives that will be + * uploaded corresponding to this creative placeholder. This estimate is used + * to improve the accuracy of forecasting; for example, if label frequency + * capping limits the number of times a creative may be served. By default, + * the expected creative count is set to 1. + * + * Generated from protobuf field optional int32 expected_creative_count = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $expected_creative_count = null; + /** + * Optional. Set of labels applied directly to this CreativePlaceholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_labels; + /** + * Optional. Non-empty default. Indicates if the expected creative of this + * placeholder has an AMP only variant. This is used to improve the accuracy + * of forecasting and has no effect on serving. By default, the value is + * false. + * + * Generated from protobuf field optional bool amp_only = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $amp_only = null; + /** + * Optional. The display name of the creative targeting that this + * CreativePlaceholder represents. + * + * Generated from protobuf field optional string creative_targeting_display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $creative_targeting_display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Size $size + * Required. The size that the creative is expected to have. + * @type \Google\Ads\AdManager\V1\CreativePlaceholderCompanion[] $companions + * Optional. The companions that the creative is expected to have. This + * attribute can only be set if the line item it belongs to has an + * [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] + * of VIDEO_PLAYER or + * [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of + * CREATIVE_SET. + * @type int $expected_creative_count + * Optional. Non-empty default. Expected number of creatives that will be + * uploaded corresponding to this creative placeholder. This estimate is used + * to improve the accuracy of forecasting; for example, if label frequency + * capping limits the number of times a creative may be served. By default, + * the expected creative count is set to 1. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $applied_labels + * Optional. Set of labels applied directly to this CreativePlaceholder. + * @type bool $amp_only + * Optional. Non-empty default. Indicates if the expected creative of this + * placeholder has an AMP only variant. This is used to improve the accuracy + * of forecasting and has no effect on serving. By default, the value is + * false. + * @type string $creative_targeting_display_name + * Optional. The display name of the creative targeting that this + * CreativePlaceholder represents. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativePlaceholder::initOnce(); + parent::__construct($data); + } + + /** + * Required. The size that the creative is expected to have. + * + * Generated from protobuf field .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Size|null + */ + public function getSize() + { + return $this->size; + } + + public function hasSize() + { + return isset($this->size); + } + + public function clearSize() + { + unset($this->size); + } + + /** + * Required. The size that the creative is expected to have. + * + * Generated from protobuf field .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Size $var + * @return $this + */ + public function setSize($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Size::class); + $this->size = $var; + + return $this; + } + + /** + * Optional. The companions that the creative is expected to have. This + * attribute can only be set if the line item it belongs to has an + * [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] + * of VIDEO_PLAYER or + * [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of + * CREATIVE_SET. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholderCompanion companions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativePlaceholderCompanion> + */ + public function getCompanions() + { + return $this->companions; + } + + /** + * Optional. The companions that the creative is expected to have. This + * attribute can only be set if the line item it belongs to has an + * [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] + * of VIDEO_PLAYER or + * [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of + * CREATIVE_SET. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholderCompanion companions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativePlaceholderCompanion[] $var + * @return $this + */ + public function setCompanions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativePlaceholderCompanion::class); + $this->companions = $arr; + + return $this; + } + + /** + * Optional. Non-empty default. Expected number of creatives that will be + * uploaded corresponding to this creative placeholder. This estimate is used + * to improve the accuracy of forecasting; for example, if label frequency + * capping limits the number of times a creative may be served. By default, + * the expected creative count is set to 1. + * + * Generated from protobuf field optional int32 expected_creative_count = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getExpectedCreativeCount() + { + return isset($this->expected_creative_count) ? $this->expected_creative_count : 0; + } + + public function hasExpectedCreativeCount() + { + return isset($this->expected_creative_count); + } + + public function clearExpectedCreativeCount() + { + unset($this->expected_creative_count); + } + + /** + * Optional. Non-empty default. Expected number of creatives that will be + * uploaded corresponding to this creative placeholder. This estimate is used + * to improve the accuracy of forecasting; for example, if label frequency + * capping limits the number of times a creative may be served. By default, + * the expected creative count is set to 1. + * + * Generated from protobuf field optional int32 expected_creative_count = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setExpectedCreativeCount($var) + { + GPBUtil::checkInt32($var); + $this->expected_creative_count = $var; + + return $this; + } + + /** + * Optional. Set of labels applied directly to this CreativePlaceholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getAppliedLabels() + { + return $this->applied_labels; + } + + /** + * Optional. Set of labels applied directly to this CreativePlaceholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->applied_labels = $arr; + + return $this; + } + + /** + * Optional. Non-empty default. Indicates if the expected creative of this + * placeholder has an AMP only variant. This is used to improve the accuracy + * of forecasting and has no effect on serving. By default, the value is + * false. + * + * Generated from protobuf field optional bool amp_only = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return bool + */ + public function getAmpOnly() + { + return isset($this->amp_only) ? $this->amp_only : false; + } + + public function hasAmpOnly() + { + return isset($this->amp_only); + } + + public function clearAmpOnly() + { + unset($this->amp_only); + } + + /** + * Optional. Non-empty default. Indicates if the expected creative of this + * placeholder has an AMP only variant. This is used to improve the accuracy + * of forecasting and has no effect on serving. By default, the value is + * false. + * + * Generated from protobuf field optional bool amp_only = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param bool $var + * @return $this + */ + public function setAmpOnly($var) + { + GPBUtil::checkBool($var); + $this->amp_only = $var; + + return $this; + } + + /** + * Optional. The display name of the creative targeting that this + * CreativePlaceholder represents. + * + * Generated from protobuf field optional string creative_targeting_display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCreativeTargetingDisplayName() + { + return isset($this->creative_targeting_display_name) ? $this->creative_targeting_display_name : ''; + } + + public function hasCreativeTargetingDisplayName() + { + return isset($this->creative_targeting_display_name); + } + + public function clearCreativeTargetingDisplayName() + { + unset($this->creative_targeting_display_name); + } + + /** + * Optional. The display name of the creative targeting that this + * CreativePlaceholder represents. + * + * Generated from protobuf field optional string creative_targeting_display_name = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCreativeTargetingDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->creative_targeting_display_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholderCompanion.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholderCompanion.php new file mode 100644 index 000000000000..b0a81b07d548 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativePlaceholderCompanion.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.CreativePlaceholderCompanion + */ +class CreativePlaceholderCompanion extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The size of the companion to a + * [CreativePlaceholder][google.ads.admanager.v1.CreativePlaceholder]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $size = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Size $size + * Required. The size of the companion to a + * [CreativePlaceholder][google.ads.admanager.v1.CreativePlaceholder]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativePlaceholder::initOnce(); + parent::__construct($data); + } + + /** + * Required. The size of the companion to a + * [CreativePlaceholder][google.ads.admanager.v1.CreativePlaceholder]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Size|null + */ + public function getSize() + { + return $this->size; + } + + public function hasSize() + { + return isset($this->size); + } + + public function clearSize() + { + unset($this->size); + } + + /** + * Required. The size of the companion to a + * [CreativePlaceholder][google.ads.admanager.v1.CreativePlaceholder]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Size size = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Size $var + * @return $this + */ + public function setSize($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Size::class); + $this->size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum.php new file mode 100644 index 000000000000..c38357e92b2c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CreativeRotationTypeEnum + */ +class CreativeRotationTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeliveryEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum/CreativeRotationType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum/CreativeRotationType.php new file mode 100644 index 000000000000..57ba1cad0fbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeRotationTypeEnum/CreativeRotationType.php @@ -0,0 +1,79 @@ +google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType + */ +class CreativeRotationType +{ + /** + * No value specified. + * + * Generated from protobuf enum CREATIVE_ROTATION_TYPE_UNSPECIFIED = 0; + */ + const CREATIVE_ROTATION_TYPE_UNSPECIFIED = 0; + /** + * Creatives are displayed approximately the same number of times over the + * duration of the line item. + * + * Generated from protobuf enum EVENLY = 1; + */ + const EVENLY = 1; + /** + * Creatives are served approximately proportionally to their performance. + * + * Generated from protobuf enum OPTIMIZED = 2; + */ + const OPTIMIZED = 2; + /** + * Creatives are served exactly in sequential order, aka Storyboarding. Set + * on the LineItemCreativeAssociation. + * + * Generated from protobuf enum SEQUENTIAL = 4; + */ + const SEQUENTIAL = 4; + /** + * Creatives are served approximately proportionally to their weights, set + * on the LineItemCreativeAssociation. + * + * Generated from protobuf enum WEIGHTED = 3; + */ + const WEIGHTED = 3; + + private static $valueToName = [ + self::CREATIVE_ROTATION_TYPE_UNSPECIFIED => 'CREATIVE_ROTATION_TYPE_UNSPECIFIED', + self::EVENLY => 'EVENLY', + self::OPTIMIZED => 'OPTIMIZED', + self::SEQUENTIAL => 'SEQUENTIAL', + self::WEIGHTED => 'WEIGHTED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeSet.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeSet.php new file mode 100644 index 000000000000..74ba49041f26 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeSet.php @@ -0,0 +1,254 @@ +google.ads.admanager.v1.CreativeSet + */ +class CreativeSet extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CreativeSet`. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the `CreativeSet`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. Immutable. The master + * [Creative](google.ads.admanager.v1.Creative) to which the `CreativeSet` is + * associated. + * + * Generated from protobuf field optional string master_creative = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $master_creative = null; + /** + * Required. The resource names of the companion `Creative`s associated with + * this `CreativeSet`. Format: `networks/{network_code}/creatives/{creative}` + * + * Generated from protobuf field repeated string companion_creatives = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $companion_creatives; + /** + * Output only. The time this `CreativeSet` was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CreativeSet`. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * @type string $display_name + * Required. The name of the `CreativeSet`. This attribute has a maximum + * length of 255 characters. + * @type string $master_creative + * Required. Immutable. The master + * [Creative](google.ads.admanager.v1.Creative) to which the `CreativeSet` is + * associated. + * @type string[] $companion_creatives + * Required. The resource names of the companion `Creative`s associated with + * this `CreativeSet`. Format: `networks/{network_code}/creatives/{creative}` + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The time this `CreativeSet` was last modified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CreativeSet`. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CreativeSet`. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the `CreativeSet`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the `CreativeSet`. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. Immutable. The master + * [Creative](google.ads.admanager.v1.Creative) to which the `CreativeSet` is + * associated. + * + * Generated from protobuf field optional string master_creative = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getMasterCreative() + { + return isset($this->master_creative) ? $this->master_creative : ''; + } + + public function hasMasterCreative() + { + return isset($this->master_creative); + } + + public function clearMasterCreative() + { + unset($this->master_creative); + } + + /** + * Required. Immutable. The master + * [Creative](google.ads.admanager.v1.Creative) to which the `CreativeSet` is + * associated. + * + * Generated from protobuf field optional string master_creative = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setMasterCreative($var) + { + GPBUtil::checkString($var, True); + $this->master_creative = $var; + + return $this; + } + + /** + * Required. The resource names of the companion `Creative`s associated with + * this `CreativeSet`. Format: `networks/{network_code}/creatives/{creative}` + * + * Generated from protobuf field repeated string companion_creatives = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getCompanionCreatives() + { + return $this->companion_creatives; + } + + /** + * Required. The resource names of the companion `Creative`s associated with + * this `CreativeSet`. Format: `networks/{network_code}/creatives/{creative}` + * + * Generated from protobuf field repeated string companion_creatives = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setCompanionCreatives($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->companion_creatives = $arr; + + return $this; + } + + /** + * Output only. The time this `CreativeSet` was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The time this `CreativeSet` was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTargeting.php new file mode 100644 index 000000000000..c1de88a05bbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTargeting.php @@ -0,0 +1,125 @@ +google.ads.admanager.v1.CreativeTargeting + */ +class CreativeTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of this creative targeting. This attribute is required. + * + * Generated from protobuf field optional string creative_targeting_display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $creative_targeting_display_name = null; + /** + * Required. The Targeting criteria of this creative targeting. This attribute + * is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $creative_targeting_display_name + * Required. The name of this creative targeting. This attribute is required. + * @type \Google\Ads\AdManager\V1\Targeting $targeting + * Required. The Targeting criteria of this creative targeting. This attribute + * is required. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTargeting::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of this creative targeting. This attribute is required. + * + * Generated from protobuf field optional string creative_targeting_display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCreativeTargetingDisplayName() + { + return isset($this->creative_targeting_display_name) ? $this->creative_targeting_display_name : ''; + } + + public function hasCreativeTargetingDisplayName() + { + return isset($this->creative_targeting_display_name); + } + + public function clearCreativeTargetingDisplayName() + { + unset($this->creative_targeting_display_name); + } + + /** + * Required. The name of this creative targeting. This attribute is required. + * + * Generated from protobuf field optional string creative_targeting_display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCreativeTargetingDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->creative_targeting_display_name = $var; + + return $this; + } + + /** + * Required. The Targeting criteria of this creative targeting. This attribute + * is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Targeting|null + */ + public function getTargeting() + { + return $this->targeting; + } + + public function hasTargeting() + { + return isset($this->targeting); + } + + public function clearTargeting() + { + unset($this->targeting); + } + + /** + * Required. The Targeting criteria of this creative targeting. This attribute + * is required. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Targeting $var + * @return $this + */ + public function setTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Targeting::class); + $this->targeting = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplate.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplate.php new file mode 100644 index 000000000000..7c3fea7e56e5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplate.php @@ -0,0 +1,537 @@ +google.ads.admanager.v1.CreativeTemplate + */ +class CreativeTemplate extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the creative template. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The display name of the creative template. This has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. The description of the creative template. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Required. The code snippet of the creative template, with placeholders for + * the associated variables. + * + * Generated from protobuf field optional string snippet = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $snippet = null; + /** + * Output only. The status of the creative template. This attribute is + * assigned by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The type of the creative template. Users can only create or + * update `CreativeTemplateType.CUSTOM` templates. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType type = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $type = null; + /** + * Optional. `True` if this creative template produces out-of-page creatives. + * Creative templates with this setting enabled must include the viewed + * impression macro. + * + * Generated from protobuf field optional bool interstitial = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $interstitial = null; + /** + * Optional. `True` if this creative template produces native-eligible + * creatives. + * + * Generated from protobuf field optional bool native_eligible = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $native_eligible = null; + /** + * Optional. `True` if this creative template produces native video-eligible + * creatives. + * + * Generated from protobuf field optional bool native_video_eligible = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $native_video_eligible = null; + /** + * Optional. Whether the Creative produced is compatible for SafeFrame + * rendering. This attribute defaults to `True`. + * + * Generated from protobuf field optional bool safe_frame_compatible = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $safe_frame_compatible = null; + /** + * Required. The list of creative template variables. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable variables = 14 [(.google.api.field_behavior) = REQUIRED]; + */ + private $variables; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the creative template. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * @type string $display_name + * Required. The display name of the creative template. This has a maximum + * length of 255 characters. + * @type string $description + * Optional. The description of the creative template. + * @type string $snippet + * Required. The code snippet of the creative template, with placeholders for + * the associated variables. + * @type int $status + * Output only. The status of the creative template. This attribute is + * assigned by Google. + * @type int $type + * Optional. The type of the creative template. Users can only create or + * update `CreativeTemplateType.CUSTOM` templates. + * @type bool $interstitial + * Optional. `True` if this creative template produces out-of-page creatives. + * Creative templates with this setting enabled must include the viewed + * impression macro. + * @type bool $native_eligible + * Optional. `True` if this creative template produces native-eligible + * creatives. + * @type bool $native_video_eligible + * Optional. `True` if this creative template produces native video-eligible + * creatives. + * @type bool $safe_frame_compatible + * Optional. Whether the Creative produced is compatible for SafeFrame + * rendering. This attribute defaults to `True`. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable[] $variables + * Required. The list of creative template variables. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the creative template. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the creative template. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The display name of the creative template. This has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the creative template. This has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. The description of the creative template. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. The description of the creative template. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. The code snippet of the creative template, with placeholders for + * the associated variables. + * + * Generated from protobuf field optional string snippet = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getSnippet() + { + return isset($this->snippet) ? $this->snippet : ''; + } + + public function hasSnippet() + { + return isset($this->snippet); + } + + public function clearSnippet() + { + unset($this->snippet); + } + + /** + * Required. The code snippet of the creative template, with placeholders for + * the associated variables. + * + * Generated from protobuf field optional string snippet = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setSnippet($var) + { + GPBUtil::checkString($var, True); + $this->snippet = $var; + + return $this; + } + + /** + * Output only. The status of the creative template. This attribute is + * assigned by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the creative template. This attribute is + * assigned by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CreativeTemplateStatusEnum\CreativeTemplateStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The type of the creative template. Users can only create or + * update `CreativeTemplateType.CUSTOM` templates. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType type = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getType() + { + return isset($this->type) ? $this->type : 0; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Optional. The type of the creative template. Users can only create or + * update `CreativeTemplateType.CUSTOM` templates. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType type = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CreativeTemplateTypeEnum\CreativeTemplateType::class); + $this->type = $var; + + return $this; + } + + /** + * Optional. `True` if this creative template produces out-of-page creatives. + * Creative templates with this setting enabled must include the viewed + * impression macro. + * + * Generated from protobuf field optional bool interstitial = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInterstitial() + { + return isset($this->interstitial) ? $this->interstitial : false; + } + + public function hasInterstitial() + { + return isset($this->interstitial); + } + + public function clearInterstitial() + { + unset($this->interstitial); + } + + /** + * Optional. `True` if this creative template produces out-of-page creatives. + * Creative templates with this setting enabled must include the viewed + * impression macro. + * + * Generated from protobuf field optional bool interstitial = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInterstitial($var) + { + GPBUtil::checkBool($var); + $this->interstitial = $var; + + return $this; + } + + /** + * Optional. `True` if this creative template produces native-eligible + * creatives. + * + * Generated from protobuf field optional bool native_eligible = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getNativeEligible() + { + return isset($this->native_eligible) ? $this->native_eligible : false; + } + + public function hasNativeEligible() + { + return isset($this->native_eligible); + } + + public function clearNativeEligible() + { + unset($this->native_eligible); + } + + /** + * Optional. `True` if this creative template produces native-eligible + * creatives. + * + * Generated from protobuf field optional bool native_eligible = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setNativeEligible($var) + { + GPBUtil::checkBool($var); + $this->native_eligible = $var; + + return $this; + } + + /** + * Optional. `True` if this creative template produces native video-eligible + * creatives. + * + * Generated from protobuf field optional bool native_video_eligible = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getNativeVideoEligible() + { + return isset($this->native_video_eligible) ? $this->native_video_eligible : false; + } + + public function hasNativeVideoEligible() + { + return isset($this->native_video_eligible); + } + + public function clearNativeVideoEligible() + { + unset($this->native_video_eligible); + } + + /** + * Optional. `True` if this creative template produces native video-eligible + * creatives. + * + * Generated from protobuf field optional bool native_video_eligible = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setNativeVideoEligible($var) + { + GPBUtil::checkBool($var); + $this->native_video_eligible = $var; + + return $this; + } + + /** + * Optional. Whether the Creative produced is compatible for SafeFrame + * rendering. This attribute defaults to `True`. + * + * Generated from protobuf field optional bool safe_frame_compatible = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSafeFrameCompatible() + { + return isset($this->safe_frame_compatible) ? $this->safe_frame_compatible : false; + } + + public function hasSafeFrameCompatible() + { + return isset($this->safe_frame_compatible); + } + + public function clearSafeFrameCompatible() + { + unset($this->safe_frame_compatible); + } + + /** + * Optional. Whether the Creative produced is compatible for SafeFrame + * rendering. This attribute defaults to `True`. + * + * Generated from protobuf field optional bool safe_frame_compatible = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSafeFrameCompatible($var) + { + GPBUtil::checkBool($var); + $this->safe_frame_compatible = $var; + + return $this; + } + + /** + * Required. The list of creative template variables. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable variables = 14 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativeTemplateVariable> + */ + public function getVariables() + { + return $this->variables; + } + + /** + * Required. The list of creative template variables. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable variables = 14 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable[] $var + * @return $this + */ + public function setVariables($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativeTemplateVariable::class); + $this->variables = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum.php new file mode 100644 index 000000000000..005fe8d0d97b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CreativeTemplateStatusEnum + */ +class CreativeTemplateStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum/CreativeTemplateStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum/CreativeTemplateStatus.php new file mode 100644 index 000000000000..d706faeb9afe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateStatusEnum/CreativeTemplateStatus.php @@ -0,0 +1,70 @@ +google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus + */ +class CreativeTemplateStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CREATIVE_TEMPLATE_STATUS_UNSPECIFIED = 0; + */ + const CREATIVE_TEMPLATE_STATUS_UNSPECIFIED = 0; + /** + * The CreativeTemplate is active + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The CreativeTemplate is deleted. Creatives created from this + * CreativeTemplate can no longer serve. + * + * Generated from protobuf enum DELETED = 2; + */ + const DELETED = 2; + /** + * The CreativeTemplate is inactive. Users cannot create new creatives + * from this template, but existing ones can be edited and continue to serve + * + * Generated from protobuf enum INACTIVE = 3; + */ + const INACTIVE = 3; + + private static $valueToName = [ + self::CREATIVE_TEMPLATE_STATUS_UNSPECIFIED => 'CREATIVE_TEMPLATE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::DELETED => 'DELETED', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum.php new file mode 100644 index 000000000000..e2e9b6e7d105 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CreativeTemplateTypeEnum + */ +class CreativeTemplateTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum/CreativeTemplateType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum/CreativeTemplateType.php new file mode 100644 index 000000000000..b34932a3c1d3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateTypeEnum/CreativeTemplateType.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType + */ +class CreativeTemplateType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CREATIVE_TEMPLATE_TYPE_UNSPECIFIED = 0; + */ + const CREATIVE_TEMPLATE_TYPE_UNSPECIFIED = 0; + /** + * Creative templates that are included in Ad Manager by default. + * + * Generated from protobuf enum STANDARD = 1; + */ + const STANDARD = 1; + /** + * Creative templates created by an administrator or other user in the + * network. + * + * Generated from protobuf enum CUSTOM = 2; + */ + const CUSTOM = 2; + + private static $valueToName = [ + self::CREATIVE_TEMPLATE_TYPE_UNSPECIFIED => 'CREATIVE_TEMPLATE_TYPE_UNSPECIFIED', + self::STANDARD => 'STANDARD', + self::CUSTOM => '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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable.php new file mode 100644 index 000000000000..7d8f808e63ca --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable.php @@ -0,0 +1,402 @@ +google.ads.admanager.v1.CreativeTemplateVariable + */ +class CreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Label that is displayed to users when creating from the creative + * template. This has a maximum length of 127 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $label = null; + /** + * Output only. Unique name used to identify the variable. This attribute is + * assigned by Google when a creative template variable is created. + * + * Generated from protobuf field optional string unique_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $unique_display_name = null; + /** + * Required. A descriptive help text that is displayed to users along with the + * label. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $description = null; + /** + * Optional. `True` if this variable is required to be filled in by users when + * creating a creative from the creative template. + * + * Generated from protobuf field optional bool required = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $required = null; + protected $SubType; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\AssetCreativeTemplateVariable $asset_variable + * Optional. Represents a file asset variable defined in a creative + * template. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable $list_string_variable + * Optional. Represents a list variable defined in a creative template. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\LongCreativeTemplateVariable $long_variable + * Optional. Represents a long variable defined in a creative template. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\StringCreativeTemplateVariable $string_variable + * Optional. Represents a string variable defined in a creative template. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\UrlCreativeTemplateVariable $url_variable + * Optional. Represents a url variable defined in a creative template. + * @type string $label + * Required. Label that is displayed to users when creating from the creative + * template. This has a maximum length of 127 characters. + * @type string $unique_display_name + * Output only. Unique name used to identify the variable. This attribute is + * assigned by Google when a creative template variable is created. + * @type string $description + * Required. A descriptive help text that is displayed to users along with the + * label. This attribute has a maximum length of 255 characters. + * @type bool $required + * Optional. `True` if this variable is required to be filled in by users when + * creating a creative from the creative template. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Represents a file asset variable defined in a creative + * template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable asset_variable = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CreativeTemplateVariable\AssetCreativeTemplateVariable|null + */ + public function getAssetVariable() + { + return $this->readOneof(5); + } + + public function hasAssetVariable() + { + return $this->hasOneof(5); + } + + /** + * Optional. Represents a file asset variable defined in a creative + * template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable asset_variable = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\AssetCreativeTemplateVariable $var + * @return $this + */ + public function setAssetVariable($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeTemplateVariable\AssetCreativeTemplateVariable::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Optional. Represents a list variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable list_string_variable = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable|null + */ + public function getListStringVariable() + { + return $this->readOneof(7); + } + + public function hasListStringVariable() + { + return $this->hasOneof(7); + } + + /** + * Optional. Represents a list variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable list_string_variable = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable $var + * @return $this + */ + public function setListStringVariable($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Optional. Represents a long variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable long_variable = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CreativeTemplateVariable\LongCreativeTemplateVariable|null + */ + public function getLongVariable() + { + return $this->readOneof(8); + } + + public function hasLongVariable() + { + return $this->hasOneof(8); + } + + /** + * Optional. Represents a long variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable long_variable = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\LongCreativeTemplateVariable $var + * @return $this + */ + public function setLongVariable($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeTemplateVariable\LongCreativeTemplateVariable::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * Optional. Represents a string variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable string_variable = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CreativeTemplateVariable\StringCreativeTemplateVariable|null + */ + public function getStringVariable() + { + return $this->readOneof(9); + } + + public function hasStringVariable() + { + return $this->hasOneof(9); + } + + /** + * Optional. Represents a string variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable string_variable = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\StringCreativeTemplateVariable $var + * @return $this + */ + public function setStringVariable($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeTemplateVariable\StringCreativeTemplateVariable::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Optional. Represents a url variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable url_variable = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CreativeTemplateVariable\UrlCreativeTemplateVariable|null + */ + public function getUrlVariable() + { + return $this->readOneof(10); + } + + public function hasUrlVariable() + { + return $this->hasOneof(10); + } + + /** + * Optional. Represents a url variable defined in a creative template. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable url_variable = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\UrlCreativeTemplateVariable $var + * @return $this + */ + public function setUrlVariable($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeTemplateVariable\UrlCreativeTemplateVariable::class); + $this->writeOneof(10, $var); + + return $this; + } + + /** + * Required. Label that is displayed to users when creating from the creative + * template. This has a maximum length of 127 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getLabel() + { + return isset($this->label) ? $this->label : ''; + } + + public function hasLabel() + { + return isset($this->label); + } + + public function clearLabel() + { + unset($this->label); + } + + /** + * Required. Label that is displayed to users when creating from the creative + * template. This has a maximum length of 127 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkString($var, True); + $this->label = $var; + + return $this; + } + + /** + * Output only. Unique name used to identify the variable. This attribute is + * assigned by Google when a creative template variable is created. + * + * Generated from protobuf field optional string unique_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getUniqueDisplayName() + { + return isset($this->unique_display_name) ? $this->unique_display_name : ''; + } + + public function hasUniqueDisplayName() + { + return isset($this->unique_display_name); + } + + public function clearUniqueDisplayName() + { + unset($this->unique_display_name); + } + + /** + * Output only. Unique name used to identify the variable. This attribute is + * assigned by Google when a creative template variable is created. + * + * Generated from protobuf field optional string unique_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setUniqueDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->unique_display_name = $var; + + return $this; + } + + /** + * Required. A descriptive help text that is displayed to users along with the + * label. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Required. A descriptive help text that is displayed to users along with the + * label. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Optional. `True` if this variable is required to be filled in by users when + * creating a creative from the creative template. + * + * Generated from protobuf field optional bool required = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRequired() + { + return isset($this->required) ? $this->required : false; + } + + public function hasRequired() + { + return isset($this->required); + } + + public function clearRequired() + { + unset($this->required); + } + + /** + * Optional. `True` if this variable is required to be filled in by users when + * creating a creative from the creative template. + * + * Generated from protobuf field optional bool required = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRequired($var) + { + GPBUtil::checkBool($var); + $this->required = $var; + + return $this; + } + + /** + * @return string + */ + public function getSubType() + { + return $this->whichOneof("SubType"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable.php new file mode 100644 index 000000000000..1221e12ecb8b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable.php @@ -0,0 +1,74 @@ +google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable + */ +class AssetCreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The set of allowed MIME types. If unspecified, all MIME types + * are allowed. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType mime_types = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $mime_types; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[] $mime_types + * Optional. The set of allowed MIME types. If unspecified, all MIME types + * are allowed. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The set of allowed MIME types. If unspecified, all MIME types + * are allowed. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType mime_types = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getMimeTypes() + { + return $this->mime_types; + } + + /** + * Optional. The set of allowed MIME types. If unspecified, all MIME types + * are allowed. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType mime_types = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setMimeTypes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\CreativeTemplateVariable\AssetCreativeTemplateVariable\MimeType::class); + $this->mime_types = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable/MimeType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable/MimeType.php new file mode 100644 index 000000000000..665b56671774 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/AssetCreativeTemplateVariable/MimeType.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType + */ +class MimeType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum MIME_TYPE_UNSPECIFIED = 0; + */ + const MIME_TYPE_UNSPECIFIED = 0; + /** + * The `image/jpeg` MIME type. + * + * Generated from protobuf enum JPG = 1; + */ + const JPG = 1; + /** + * The `image/png` MIME type. + * + * Generated from protobuf enum PNG = 2; + */ + const PNG = 2; + /** + * The `image/gif` MIME type. + * + * Generated from protobuf enum GIF = 3; + */ + const GIF = 3; + + private static $valueToName = [ + self::MIME_TYPE_UNSPECIFIED => 'MIME_TYPE_UNSPECIFIED', + self::JPG => 'JPG', + self::PNG => 'PNG', + self::GIF => 'GIF', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable.php new file mode 100644 index 000000000000..20344833c1b6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable.php @@ -0,0 +1,225 @@ +google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable + */ +class ListStringCreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sample_value = null; + /** + * Optional. The selectable values that the user can choose from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice choices = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $choices; + /** + * Optional. `True` if a user can specify an 'other' value. For example, if + * a variable called backgroundColor is defined as a list with values: red, + * green, blue, this boolean can be set to allow a user to enter a value not + * on the list such as purple. + * + * Generated from protobuf field optional bool allow_other_choice = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $allow_other_choice = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $default_value + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * @type string $sample_value + * Optional. Sample value that is used when previewing the template in the + * UI. + * @type \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable\VariableChoice[] $choices + * Optional. The selectable values that the user can choose from. + * @type bool $allow_other_choice + * Optional. `True` if a user can specify an 'other' value. For example, if + * a variable called backgroundColor is defined as a list with values: red, + * green, blue, this boolean can be set to allow a user to enter a value not + * on the list such as purple. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDefaultValue() + { + return isset($this->default_value) ? $this->default_value : ''; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkString($var, True); + $this->default_value = $var; + + return $this; + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSampleValue() + { + return isset($this->sample_value) ? $this->sample_value : ''; + } + + public function hasSampleValue() + { + return isset($this->sample_value); + } + + public function clearSampleValue() + { + unset($this->sample_value); + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSampleValue($var) + { + GPBUtil::checkString($var, True); + $this->sample_value = $var; + + return $this; + } + + /** + * Optional. The selectable values that the user can choose from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice choices = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable\VariableChoice> + */ + public function getChoices() + { + return $this->choices; + } + + /** + * Optional. The selectable values that the user can choose from. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice choices = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable\VariableChoice[] $var + * @return $this + */ + public function setChoices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativeTemplateVariable\ListStringCreativeTemplateVariable\VariableChoice::class); + $this->choices = $arr; + + return $this; + } + + /** + * Optional. `True` if a user can specify an 'other' value. For example, if + * a variable called backgroundColor is defined as a list with values: red, + * green, blue, this boolean can be set to allow a user to enter a value not + * on the list such as purple. + * + * Generated from protobuf field optional bool allow_other_choice = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllowOtherChoice() + { + return isset($this->allow_other_choice) ? $this->allow_other_choice : false; + } + + public function hasAllowOtherChoice() + { + return isset($this->allow_other_choice); + } + + public function clearAllowOtherChoice() + { + unset($this->allow_other_choice); + } + + /** + * Optional. `True` if a user can specify an 'other' value. For example, if + * a variable called backgroundColor is defined as a list with values: red, + * green, blue, this boolean can be set to allow a user to enter a value not + * on the list such as purple. + * + * Generated from protobuf field optional bool allow_other_choice = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllowOtherChoice($var) + { + GPBUtil::checkBool($var); + $this->allow_other_choice = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable/VariableChoice.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable/VariableChoice.php new file mode 100644 index 000000000000..fbc6ba064053 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/ListStringCreativeTemplateVariable/VariableChoice.php @@ -0,0 +1,141 @@ +google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice + */ +class VariableChoice extends \Google\Protobuf\Internal\Message +{ + /** + * Required. A label is displayed to users when creating a + * [TemplateCreative][]. This attribute is intended to be more descriptive + * than value. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $label = null; + /** + * Required. When creating a [TemplateCreative][], the value in + * [StringCreativeTemplateVariableValue][] should match this value, if you + * intend to select this value. This attribute has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $label + * Required. A label is displayed to users when creating a + * [TemplateCreative][]. This attribute is intended to be more descriptive + * than value. This attribute has a maximum length of 255 characters. + * @type string $value + * Required. When creating a [TemplateCreative][], the value in + * [StringCreativeTemplateVariableValue][] should match this value, if you + * intend to select this value. This attribute has a maximum length of 255 + * characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. A label is displayed to users when creating a + * [TemplateCreative][]. This attribute is intended to be more descriptive + * than value. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getLabel() + { + return isset($this->label) ? $this->label : ''; + } + + public function hasLabel() + { + return isset($this->label); + } + + public function clearLabel() + { + unset($this->label); + } + + /** + * Required. A label is displayed to users when creating a + * [TemplateCreative][]. This attribute is intended to be more descriptive + * than value. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkString($var, True); + $this->label = $var; + + return $this; + } + + /** + * Required. When creating a [TemplateCreative][], the value in + * [StringCreativeTemplateVariableValue][] should match this value, if you + * intend to select this value. This attribute has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getValue() + { + return isset($this->value) ? $this->value : ''; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Required. When creating a [TemplateCreative][], the value in + * [StringCreativeTemplateVariableValue][] should match this value, if you + * intend to select this value. This attribute has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/LongCreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/LongCreativeTemplateVariable.php new file mode 100644 index 000000000000..0480a63949e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/LongCreativeTemplateVariable.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable + */ +class LongCreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional int64 default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional int64 sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sample_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $default_value + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * @type int|string $sample_value + * Optional. Sample value that is used when previewing the template in the + * UI. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional int64 default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getDefaultValue() + { + return isset($this->default_value) ? $this->default_value : 0; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional int64 default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkInt64($var); + $this->default_value = $var; + + return $this; + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional int64 sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getSampleValue() + { + return isset($this->sample_value) ? $this->sample_value : 0; + } + + public function hasSampleValue() + { + return isset($this->sample_value); + } + + public function clearSampleValue() + { + unset($this->sample_value); + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional int64 sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setSampleValue($var) + { + GPBUtil::checkInt64($var); + $this->sample_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/StringCreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/StringCreativeTemplateVariable.php new file mode 100644 index 000000000000..adecacf60ffc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/StringCreativeTemplateVariable.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable + */ +class StringCreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sample_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $default_value + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * @type string $sample_value + * Optional. Sample value that is used when previewing the template in the + * UI. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDefaultValue() + { + return isset($this->default_value) ? $this->default_value : ''; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkString($var, True); + $this->default_value = $var; + + return $this; + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSampleValue() + { + return isset($this->sample_value) ? $this->sample_value : ''; + } + + public function hasSampleValue() + { + return isset($this->sample_value); + } + + public function clearSampleValue() + { + unset($this->sample_value); + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSampleValue($var) + { + GPBUtil::checkString($var, True); + $this->sample_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/UrlCreativeTemplateVariable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/UrlCreativeTemplateVariable.php new file mode 100644 index 000000000000..965323d9cd1f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariable/UrlCreativeTemplateVariable.php @@ -0,0 +1,180 @@ +google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable + */ +class UrlCreativeTemplateVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sample_value = null; + /** + * Optional. The type of URL that this variable represents. Different types + * of URLs may be handled differently at rendering time. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType url_type = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $url_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $default_value + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * @type string $sample_value + * Optional. Sample value that is used when previewing the template in the + * UI. + * @type int $url_type + * Optional. The type of URL that this variable represents. Different types + * of URLs may be handled differently at rendering time. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDefaultValue() + { + return isset($this->default_value) ? $this->default_value : ''; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Default value to be filled in when creating creatives from the + * creative template. + * + * Generated from protobuf field optional string default_value = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkString($var, True); + $this->default_value = $var; + + return $this; + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSampleValue() + { + return isset($this->sample_value) ? $this->sample_value : ''; + } + + public function hasSampleValue() + { + return isset($this->sample_value); + } + + public function clearSampleValue() + { + unset($this->sample_value); + } + + /** + * Optional. Sample value that is used when previewing the template in the + * UI. + * + * Generated from protobuf field optional string sample_value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSampleValue($var) + { + GPBUtil::checkString($var, True); + $this->sample_value = $var; + + return $this; + } + + /** + * Optional. The type of URL that this variable represents. Different types + * of URLs may be handled differently at rendering time. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType url_type = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getUrlType() + { + return isset($this->url_type) ? $this->url_type : 0; + } + + public function hasUrlType() + { + return isset($this->url_type); + } + + public function clearUrlType() + { + unset($this->url_type); + } + + /** + * Optional. The type of URL that this variable represents. Different types + * of URLs may be handled differently at rendering time. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType url_type = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setUrlType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CreativeTemplateVariableUrlTypeEnum\CreativeTemplateVariableUrlType::class); + $this->url_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum.php new file mode 100644 index 000000000000..cb2969834e42 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum + */ +class CreativeTemplateVariableUrlTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateVariableUrlTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum/CreativeTemplateVariableUrlType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum/CreativeTemplateVariableUrlType.php new file mode 100644 index 000000000000..9e202556f227 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CreativeTemplateVariableUrlTypeEnum/CreativeTemplateVariableUrlType.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType + */ +class CreativeTemplateVariableUrlType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED = 0; + */ + const CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED = 0; + /** + * Click tracking URL. + * + * Generated from protobuf enum CLICK_TRACKER = 1; + */ + const CLICK_TRACKER = 1; + /** + * Deep-link URL. + * + * Generated from protobuf enum DEEPLINK = 2; + */ + const DEEPLINK = 2; + /** + * Impression tracking URL. + * + * Generated from protobuf enum IMPRESSION_TRACKER = 3; + */ + const IMPRESSION_TRACKER = 3; + /** + * Standard HTTP URL. + * + * Generated from protobuf enum STANDARD_HTTP = 4; + */ + const STANDARD_HTTP = 4; + + private static $valueToName = [ + self::CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED => 'CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED', + self::CLICK_TRACKER => 'CLICK_TRACKER', + self::DEEPLINK => 'DEEPLINK', + self::IMPRESSION_TRACKER => 'IMPRESSION_TRACKER', + self::STANDARD_HTTP => 'STANDARD_HTTP', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomField.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomField.php new file mode 100644 index 000000000000..497843d00da4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomField.php @@ -0,0 +1,432 @@ +google.ads.admanager.v1.CustomField + */ +class CustomField extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CustomField`. + * Format: `networks/{network_code}/customFields/{custom_field}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: Unique ID of the CustomField. + * + * Generated from protobuf field optional int64 custom_field_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $custom_field_id = null; + /** + * Required. Name of the CustomField. The max length is 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. A description of the custom field. The maximum length is 511 + * characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Output only. The status of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Required. The type of entity the `CustomField` can be applied to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType entity_type = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $entity_type = null; + /** + * Required. The data type of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType data_type = 8 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $data_type = null; + /** + * Required. The visibility of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility visibility = 9 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $visibility = null; + /** + * Optional. The drop-down options for the `CustomField`. + * Only applicable for `CustomField` with the drop-down data type. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldOption options = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $options; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CustomField`. + * Format: `networks/{network_code}/customFields/{custom_field}` + * @type int|string $custom_field_id + * Output only. Deprecated: Unique ID of the CustomField. + * @type string $display_name + * Required. Name of the CustomField. The max length is 127 characters. + * @type string $description + * Optional. A description of the custom field. The maximum length is 511 + * characters. + * @type int $status + * Output only. The status of the `CustomField`. + * @type int $entity_type + * Required. The type of entity the `CustomField` can be applied to. + * @type int $data_type + * Required. The data type of the `CustomField`. + * @type int $visibility + * Required. The visibility of the `CustomField`. + * @type \Google\Ads\AdManager\V1\CustomFieldOption[] $options + * Optional. The drop-down options for the `CustomField`. + * Only applicable for `CustomField` with the drop-down data type. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CustomField`. + * Format: `networks/{network_code}/customFields/{custom_field}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CustomField`. + * Format: `networks/{network_code}/customFields/{custom_field}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: Unique ID of the CustomField. + * + * Generated from protobuf field optional int64 custom_field_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getCustomFieldId() + { + if (isset($this->custom_field_id)) { + @trigger_error('custom_field_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->custom_field_id) ? $this->custom_field_id : 0; + } + + public function hasCustomFieldId() + { + if (isset($this->custom_field_id)) { + @trigger_error('custom_field_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->custom_field_id); + } + + public function clearCustomFieldId() + { + @trigger_error('custom_field_id is deprecated.', E_USER_DEPRECATED); + unset($this->custom_field_id); + } + + /** + * Output only. Deprecated: Unique ID of the CustomField. + * + * Generated from protobuf field optional int64 custom_field_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setCustomFieldId($var) + { + @trigger_error('custom_field_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->custom_field_id = $var; + + return $this; + } + + /** + * Required. Name of the CustomField. The max length is 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. Name of the CustomField. The max length is 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. A description of the custom field. The maximum length is 511 + * characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. A description of the custom field. The maximum length is 511 + * characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Output only. The status of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomFieldStatusEnum\CustomFieldStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Required. The type of entity the `CustomField` can be applied to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType entity_type = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getEntityType() + { + return isset($this->entity_type) ? $this->entity_type : 0; + } + + public function hasEntityType() + { + return isset($this->entity_type); + } + + public function clearEntityType() + { + unset($this->entity_type); + } + + /** + * Required. The type of entity the `CustomField` can be applied to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType entity_type = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setEntityType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomFieldEntityTypeEnum\CustomFieldEntityType::class); + $this->entity_type = $var; + + return $this; + } + + /** + * Required. The data type of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType data_type = 8 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getDataType() + { + return isset($this->data_type) ? $this->data_type : 0; + } + + public function hasDataType() + { + return isset($this->data_type); + } + + public function clearDataType() + { + unset($this->data_type); + } + + /** + * Required. The data type of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType data_type = 8 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setDataType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomFieldDataTypeEnum\CustomFieldDataType::class); + $this->data_type = $var; + + return $this; + } + + /** + * Required. The visibility of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility visibility = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getVisibility() + { + return isset($this->visibility) ? $this->visibility : 0; + } + + public function hasVisibility() + { + return isset($this->visibility); + } + + public function clearVisibility() + { + unset($this->visibility); + } + + /** + * Required. The visibility of the `CustomField`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility visibility = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setVisibility($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomFieldVisibilityEnum\CustomFieldVisibility::class); + $this->visibility = $var; + + return $this; + } + + /** + * Optional. The drop-down options for the `CustomField`. + * Only applicable for `CustomField` with the drop-down data type. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldOption options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomFieldOption> + */ + public function getOptions() + { + return $this->options; + } + + /** + * Optional. The drop-down options for the `CustomField`. + * Only applicable for `CustomField` with the drop-down data type. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldOption options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomFieldOption[] $var + * @return $this + */ + public function setOptions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomFieldOption::class); + $this->options = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum.php new file mode 100644 index 000000000000..28482ea6f320 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomFieldDataTypeEnum + */ +class CustomFieldDataTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum/CustomFieldDataType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum/CustomFieldDataType.php new file mode 100644 index 000000000000..5655ad60c9bf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldDataTypeEnum/CustomFieldDataType.php @@ -0,0 +1,76 @@ +google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType + */ +class CustomFieldDataType +{ + /** + * No value specified + * + * Generated from protobuf enum CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0; + */ + const CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0; + /** + * A string field + * The max length is 255 characters. + * + * Generated from protobuf enum STRING = 1; + */ + const STRING = 1; + /** + * A number field. + * + * Generated from protobuf enum NUMBER = 2; + */ + const NUMBER = 2; + /** + * A "Yes" or "No" toggle field. + * + * Generated from protobuf enum TOGGLE = 3; + */ + const TOGGLE = 3; + /** + * A drop-down field. + * + * Generated from protobuf enum DROP_DOWN = 4; + */ + const DROP_DOWN = 4; + + private static $valueToName = [ + self::CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED => 'CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED', + self::STRING => 'STRING', + self::NUMBER => 'NUMBER', + self::TOGGLE => 'TOGGLE', + self::DROP_DOWN => 'DROP_DOWN', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum.php new file mode 100644 index 000000000000..0537ab785754 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomFieldEntityTypeEnum + */ +class CustomFieldEntityTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum/CustomFieldEntityType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum/CustomFieldEntityType.php new file mode 100644 index 000000000000..533ff111396e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldEntityTypeEnum/CustomFieldEntityType.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType + */ +class CustomFieldEntityType +{ + /** + * No value specified + * + * Generated from protobuf enum CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED = 0; + */ + const CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED = 0; + /** + * The CustomField is applied to LineItems. + * + * Generated from protobuf enum LINE_ITEM = 1; + */ + const LINE_ITEM = 1; + /** + * The CustomField is applied to Orders. + * + * Generated from protobuf enum ORDER = 2; + */ + const ORDER = 2; + /** + * The CustomField is applied to Creatives. + * + * Generated from protobuf enum CREATIVE = 3; + */ + const CREATIVE = 3; + /** + * The CustomField is applied to Proposals. + * + * Generated from protobuf enum PROPOSAL = 4; + */ + const PROPOSAL = 4; + /** + * The CustomField is applied to ProposalLineItems. + * + * Generated from protobuf enum PROPOSAL_LINE_ITEM = 5; + */ + const PROPOSAL_LINE_ITEM = 5; + + private static $valueToName = [ + self::CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED => 'CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED', + self::LINE_ITEM => 'LINE_ITEM', + self::ORDER => 'ORDER', + self::CREATIVE => 'CREATIVE', + self::PROPOSAL => 'PROPOSAL', + self::PROPOSAL_LINE_ITEM => 'PROPOSAL_LINE_ITEM', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldOption.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldOption.php new file mode 100644 index 000000000000..e06a218aa056 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldOption.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.CustomFieldOption + */ +class CustomFieldOption extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Non-empty default. `CustomFieldOption` ID. + * + * Generated from protobuf field int64 custom_field_option_id = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $custom_field_option_id = 0; + /** + * Required. The display name of the `CustomFieldOption`. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $custom_field_option_id + * Optional. Non-empty default. `CustomFieldOption` ID. + * @type string $display_name + * Required. The display name of the `CustomFieldOption`. + * This value has a maximum length of 127 characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Non-empty default. `CustomFieldOption` ID. + * + * Generated from protobuf field int64 custom_field_option_id = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int|string + */ + public function getCustomFieldOptionId() + { + return $this->custom_field_option_id; + } + + /** + * Optional. Non-empty default. `CustomFieldOption` ID. + * + * Generated from protobuf field int64 custom_field_option_id = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int|string $var + * @return $this + */ + public function setCustomFieldOptionId($var) + { + GPBUtil::checkInt64($var); + $this->custom_field_option_id = $var; + + return $this; + } + + /** + * Required. The display name of the `CustomFieldOption`. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. The display name of the `CustomFieldOption`. + * This value has a maximum length of 127 characters. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum.php new file mode 100644 index 000000000000..e10cd617b594 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomFieldStatusEnum + */ +class CustomFieldStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum/CustomFieldStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum/CustomFieldStatus.php new file mode 100644 index 000000000000..13f07ca0b20b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldStatusEnum/CustomFieldStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus + */ +class CustomFieldStatus +{ + /** + * No value specified + * + * Generated from protobuf enum CUSTOM_FIELD_STATUS_UNSPECIFIED = 0; + */ + const CUSTOM_FIELD_STATUS_UNSPECIFIED = 0; + /** + * The CustomField is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The CustomField is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::CUSTOM_FIELD_STATUS_UNSPECIFIED => 'CUSTOM_FIELD_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue.php new file mode 100644 index 000000000000..10d85bf4a800 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.CustomFieldValue + */ +class CustomFieldValue extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The custom field for which this is a value. + * Format: "networks/{network_code}/customFields/{custom_field_id}" + * + * Generated from protobuf field string custom_field = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $custom_field = ''; + /** + * Required. A typed value representation of the value. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $custom_field + * Required. The custom field for which this is a value. + * Format: "networks/{network_code}/customFields/{custom_field_id}" + * @type \Google\Ads\AdManager\V1\CustomFieldValue\Value $value + * Required. A typed value representation of the value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldValue::initOnce(); + parent::__construct($data); + } + + /** + * Required. The custom field for which this is a value. + * Format: "networks/{network_code}/customFields/{custom_field_id}" + * + * Generated from protobuf field string custom_field = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getCustomField() + { + return $this->custom_field; + } + + /** + * Required. The custom field for which this is a value. + * Format: "networks/{network_code}/customFields/{custom_field_id}" + * + * Generated from protobuf field string custom_field = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCustomField($var) + { + GPBUtil::checkString($var, True); + $this->custom_field = $var; + + return $this; + } + + /** + * Required. A typed value representation of the value. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomFieldValue\Value|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Required. A typed value representation of the value. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomFieldValue.Value value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomFieldValue\Value $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomFieldValue\Value::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue/Value.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue/Value.php new file mode 100644 index 000000000000..ac373da31d87 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldValue/Value.php @@ -0,0 +1,174 @@ +google.ads.admanager.v1.CustomFieldValue.Value + */ +class Value extends \Google\Protobuf\Internal\Message +{ + protected $value; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $dropdown_value + * The custom_field_option_id, if the CustomFieldDataType is DROPDOWN. + * @type string $string_value + * The value, if the CustomFieldDataType is STRING. + * @type float $number_value + * The value, if the CustomFieldDataType is NUMBER. + * @type bool $toggle_value + * The value, if the CustomFieldDataType is TOGGLE. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldValue::initOnce(); + parent::__construct($data); + } + + /** + * The custom_field_option_id, if the CustomFieldDataType is DROPDOWN. + * + * Generated from protobuf field int64 dropdown_value = 1; + * @return int|string + */ + public function getDropdownValue() + { + return $this->readOneof(1); + } + + public function hasDropdownValue() + { + return $this->hasOneof(1); + } + + /** + * The custom_field_option_id, if the CustomFieldDataType is DROPDOWN. + * + * Generated from protobuf field int64 dropdown_value = 1; + * @param int|string $var + * @return $this + */ + public function setDropdownValue($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * The value, if the CustomFieldDataType is STRING. + * + * Generated from protobuf field string string_value = 2; + * @return string + */ + public function getStringValue() + { + return $this->readOneof(2); + } + + public function hasStringValue() + { + return $this->hasOneof(2); + } + + /** + * The value, if the CustomFieldDataType is STRING. + * + * Generated from protobuf field string string_value = 2; + * @param string $var + * @return $this + */ + public function setStringValue($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * The value, if the CustomFieldDataType is NUMBER. + * + * Generated from protobuf field double number_value = 3; + * @return float + */ + public function getNumberValue() + { + return $this->readOneof(3); + } + + public function hasNumberValue() + { + return $this->hasOneof(3); + } + + /** + * The value, if the CustomFieldDataType is NUMBER. + * + * Generated from protobuf field double number_value = 3; + * @param float $var + * @return $this + */ + public function setNumberValue($var) + { + GPBUtil::checkDouble($var); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * The value, if the CustomFieldDataType is TOGGLE. + * + * Generated from protobuf field bool toggle_value = 4; + * @return bool + */ + public function getToggleValue() + { + return $this->readOneof(4); + } + + public function hasToggleValue() + { + return $this->hasOneof(4); + } + + /** + * The value, if the CustomFieldDataType is TOGGLE. + * + * Generated from protobuf field bool toggle_value = 4; + * @param bool $var + * @return $this + */ + public function setToggleValue($var) + { + GPBUtil::checkBool($var); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * @return string + */ + public function getValue() + { + return $this->whichOneof("value"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum.php new file mode 100644 index 000000000000..ef2a8869a393 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomFieldVisibilityEnum + */ +class CustomFieldVisibilityEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum/CustomFieldVisibility.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum/CustomFieldVisibility.php new file mode 100644 index 000000000000..a150f5dadf9d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomFieldVisibilityEnum/CustomFieldVisibility.php @@ -0,0 +1,69 @@ +google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility + */ +class CustomFieldVisibility +{ + /** + * No value specified + * + * Generated from protobuf enum CUSTOM_FIELD_VISIBILITY_UNSPECIFIED = 0; + */ + const CUSTOM_FIELD_VISIBILITY_UNSPECIFIED = 0; + /** + * The CustomField is not visible in the UI and only visible through the + * API. + * + * Generated from protobuf enum HIDDEN = 1; + */ + const HIDDEN = 1; + /** + * The CustomField is visible in the UI and only editable through the API. + * + * Generated from protobuf enum READ_ONLY = 2; + */ + const READ_ONLY = 2; + /** + * The CustomField is visible and editable in both the API and UI. + * + * Generated from protobuf enum EDITABLE = 3; + */ + const EDITABLE = 3; + + private static $valueToName = [ + self::CUSTOM_FIELD_VISIBILITY_UNSPECIFIED => 'CUSTOM_FIELD_VISIBILITY_UNSPECIFIED', + self::HIDDEN => 'HIDDEN', + self::READ_ONLY => 'READ_ONLY', + self::EDITABLE => 'EDITABLE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingCurve.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingCurve.php new file mode 100644 index 000000000000..1f6d596411d9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingCurve.php @@ -0,0 +1,120 @@ +google.ads.admanager.v1.CustomPacingCurve + */ +class CustomPacingCurve extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The unit of the + * [CustomPacingGoal.amount][google.ads.admanager.v1.CustomPacingGoal.amount] + * values. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_pacing_goal_unit = null; + /** + * Required. The list of goals that make up the custom pacing curve. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $custom_pacing_goals; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $custom_pacing_goal_unit + * Required. The unit of the + * [CustomPacingGoal.amount][google.ads.admanager.v1.CustomPacingGoal.amount] + * values. + * @type \Google\Ads\AdManager\V1\CustomPacingGoal[] $custom_pacing_goals + * Required. The list of goals that make up the custom pacing curve. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomPacingCurve::initOnce(); + parent::__construct($data); + } + + /** + * Required. The unit of the + * [CustomPacingGoal.amount][google.ads.admanager.v1.CustomPacingGoal.amount] + * values. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCustomPacingGoalUnit() + { + return isset($this->custom_pacing_goal_unit) ? $this->custom_pacing_goal_unit : 0; + } + + public function hasCustomPacingGoalUnit() + { + return isset($this->custom_pacing_goal_unit); + } + + public function clearCustomPacingGoalUnit() + { + unset($this->custom_pacing_goal_unit); + } + + /** + * Required. The unit of the + * [CustomPacingGoal.amount][google.ads.admanager.v1.CustomPacingGoal.amount] + * values. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCustomPacingGoalUnit($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomPacingGoalUnitEnum\CustomPacingGoalUnit::class); + $this->custom_pacing_goal_unit = $var; + + return $this; + } + + /** + * Required. The list of goals that make up the custom pacing curve. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomPacingGoal> + */ + public function getCustomPacingGoals() + { + return $this->custom_pacing_goals; + } + + /** + * Required. The list of goals that make up the custom pacing curve. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomPacingGoal[] $var + * @return $this + */ + public function setCustomPacingGoals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomPacingGoal::class); + $this->custom_pacing_goals = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoal.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoal.php new file mode 100644 index 000000000000..7da50f119a1a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoal.php @@ -0,0 +1,191 @@ +google.ads.admanager.v1.CustomPacingGoal + */ +class CustomPacingGoal extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The start date and time of the goal. This field is required + * unless + * [use_line_item_start_time][google.ads.admanager.v1.CustomPacingGoal.use_line_item_start_time] + * is true. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $start_time = null; + /** + * Optional. Input only. Whether the [LineItem.start_time] should be used for + * the start date and time of this goal. This field is not persisted and if it + * is set to true, the [start_time] field will be populated by the line item's + * start time. + * + * Generated from protobuf field optional bool use_line_item_start_time = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $use_line_item_start_time = null; + /** + * Optional. The amount associated with the goal. This field is required. + * + * Generated from protobuf field optional int64 amount = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $amount = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Timestamp $start_time + * Optional. The start date and time of the goal. This field is required + * unless + * [use_line_item_start_time][google.ads.admanager.v1.CustomPacingGoal.use_line_item_start_time] + * is true. + * @type bool $use_line_item_start_time + * Optional. Input only. Whether the [LineItem.start_time] should be used for + * the start date and time of this goal. This field is not persisted and if it + * is set to true, the [start_time] field will be populated by the line item's + * start time. + * @type int|string $amount + * Optional. The amount associated with the goal. This field is required. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomPacingCurve::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The start date and time of the goal. This field is required + * unless + * [use_line_item_start_time][google.ads.admanager.v1.CustomPacingGoal.use_line_item_start_time] + * is true. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Optional. The start date and time of the goal. This field is required + * unless + * [use_line_item_start_time][google.ads.admanager.v1.CustomPacingGoal.use_line_item_start_time] + * is true. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->start_time = $var; + + return $this; + } + + /** + * Optional. Input only. Whether the [LineItem.start_time] should be used for + * the start date and time of this goal. This field is not persisted and if it + * is set to true, the [start_time] field will be populated by the line item's + * start time. + * + * Generated from protobuf field optional bool use_line_item_start_time = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY]; + * @return bool + */ + public function getUseLineItemStartTime() + { + return isset($this->use_line_item_start_time) ? $this->use_line_item_start_time : false; + } + + public function hasUseLineItemStartTime() + { + return isset($this->use_line_item_start_time); + } + + public function clearUseLineItemStartTime() + { + unset($this->use_line_item_start_time); + } + + /** + * Optional. Input only. Whether the [LineItem.start_time] should be used for + * the start date and time of this goal. This field is not persisted and if it + * is set to true, the [start_time] field will be populated by the line item's + * start time. + * + * Generated from protobuf field optional bool use_line_item_start_time = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setUseLineItemStartTime($var) + { + GPBUtil::checkBool($var); + $this->use_line_item_start_time = $var; + + return $this; + } + + /** + * Optional. The amount associated with the goal. This field is required. + * + * Generated from protobuf field optional int64 amount = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getAmount() + { + return isset($this->amount) ? $this->amount : 0; + } + + public function hasAmount() + { + return isset($this->amount); + } + + public function clearAmount() + { + unset($this->amount); + } + + /** + * Optional. The amount associated with the goal. This field is required. + * + * Generated from protobuf field optional int64 amount = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setAmount($var) + { + GPBUtil::checkInt64($var); + $this->amount = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum.php new file mode 100644 index 000000000000..f9c6d2a7b7a5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomPacingGoalUnitEnum + */ +class CustomPacingGoalUnitEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomPacingGoalUnitEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum/CustomPacingGoalUnit.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum/CustomPacingGoalUnit.php new file mode 100644 index 000000000000..f48c73d88896 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomPacingGoalUnitEnum/CustomPacingGoalUnit.php @@ -0,0 +1,63 @@ +google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit + */ +class CustomPacingGoalUnit +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum CUSTOM_PACING_GOAL_UNIT_UNSPECIFIED = 0; + */ + const CUSTOM_PACING_GOAL_UNIT_UNSPECIFIED = 0; + /** + * The custom pacing goal amounts represent absolute numbers corresponding + * to the line item's [Goal.unitType][]. + * + * Generated from protobuf enum ABSOLUTE = 1; + */ + const ABSOLUTE = 1; + /** + * The custom pacing goal amounts represent a millipercent. For example, + * 15000 millipercent equals 15%. + * + * Generated from protobuf enum MILLI_PERCENT = 2; + */ + const MILLI_PERCENT = 2; + + private static $valueToName = [ + self::CUSTOM_PACING_GOAL_UNIT_UNSPECIFIED => 'CUSTOM_PACING_GOAL_UNIT_UNSPECIFIED', + self::ABSOLUTE => 'ABSOLUTE', + self::MILLI_PERCENT => 'MILLI_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargeting.php new file mode 100644 index 000000000000..2837162bbc1a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargeting.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.CustomTargeting + */ +class CustomTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. These clauses are all ORed together. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingClause custom_targeting_clauses = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_targeting_clauses; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingClause[] $custom_targeting_clauses + * Optional. These clauses are all ORed together. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. These clauses are all ORed together. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingClause custom_targeting_clauses = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingClause> + */ + public function getCustomTargetingClauses() + { + return $this->custom_targeting_clauses; + } + + /** + * Optional. These clauses are all ORed together. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingClause custom_targeting_clauses = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomTargetingClause[] $var + * @return $this + */ + public function setCustomTargetingClauses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingClause::class); + $this->custom_targeting_clauses = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingClause.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingClause.php new file mode 100644 index 000000000000..82c21d7b6402 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingClause.php @@ -0,0 +1,135 @@ +google.ads.admanager.v1.CustomTargetingClause + */ +class CustomTargetingClause extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Leaf targeting expressions for custom key/values. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingLiteral custom_targeting_literals = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_targeting_literals; + /** + * Optional. Leaf targeting expressions for audience segments. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegmentTargeting audience_segment_targetings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $audience_segment_targetings; + /** + * Optional. Leaf targeting expressions for cms metadata. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataTargeting cms_metadata_targetings = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $cms_metadata_targetings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingLiteral[] $custom_targeting_literals + * Optional. Leaf targeting expressions for custom key/values. + * @type \Google\Ads\AdManager\V1\AudienceSegmentTargeting[] $audience_segment_targetings + * Optional. Leaf targeting expressions for audience segments. + * @type \Google\Ads\AdManager\V1\CmsMetadataTargeting[] $cms_metadata_targetings + * Optional. Leaf targeting expressions for cms metadata. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Leaf targeting expressions for custom key/values. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingLiteral custom_targeting_literals = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingLiteral> + */ + public function getCustomTargetingLiterals() + { + return $this->custom_targeting_literals; + } + + /** + * Optional. Leaf targeting expressions for custom key/values. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingLiteral custom_targeting_literals = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomTargetingLiteral[] $var + * @return $this + */ + public function setCustomTargetingLiterals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingLiteral::class); + $this->custom_targeting_literals = $arr; + + return $this; + } + + /** + * Optional. Leaf targeting expressions for audience segments. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegmentTargeting audience_segment_targetings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AudienceSegmentTargeting> + */ + public function getAudienceSegmentTargetings() + { + return $this->audience_segment_targetings; + } + + /** + * Optional. Leaf targeting expressions for audience segments. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegmentTargeting audience_segment_targetings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AudienceSegmentTargeting[] $var + * @return $this + */ + public function setAudienceSegmentTargetings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AudienceSegmentTargeting::class); + $this->audience_segment_targetings = $arr; + + return $this; + } + + /** + * Optional. Leaf targeting expressions for cms metadata. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataTargeting cms_metadata_targetings = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CmsMetadataTargeting> + */ + public function getCmsMetadataTargetings() + { + return $this->cms_metadata_targetings; + } + + /** + * Optional. Leaf targeting expressions for cms metadata. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataTargeting cms_metadata_targetings = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CmsMetadataTargeting[] $var + * @return $this + */ + public function setCmsMetadataTargetings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CmsMetadataTargeting::class); + $this->cms_metadata_targetings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKey.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKey.php new file mode 100644 index 000000000000..38f4c9d78257 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKey.php @@ -0,0 +1,366 @@ +google.ads.admanager.v1.CustomTargetingKey + */ +class CustomTargetingKey extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `CustomTargetingKey` ID. + * + * Generated from protobuf field optional int64 custom_targeting_key_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $custom_targeting_key_id = null; + /** + * Immutable. Name of the key. Keys can contain up to 10 characters each. You + * can use alphanumeric characters and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ad_tag_name = null; + /** + * Optional. Descriptive name for the `CustomTargetingKey`. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = null; + /** + * Required. Indicates whether users will select from predefined values or + * create new targeting values, while specifying targeting criteria for a line + * item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $type = null; + /** + * Output only. Status of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Required. Reportable state of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reportable_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * @type int|string $custom_targeting_key_id + * Output only. Deprecated: `CustomTargetingKey` ID. + * @type string $ad_tag_name + * Immutable. Name of the key. Keys can contain up to 10 characters each. You + * can use alphanumeric characters and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * @type string $display_name + * Optional. Descriptive name for the `CustomTargetingKey`. + * @type int $type + * Required. Indicates whether users will select from predefined values or + * create new targeting values, while specifying targeting criteria for a line + * item. + * @type int $status + * Output only. Status of the `CustomTargetingKey`. + * @type int $reportable_type + * Required. Reportable state of the `CustomTargetingKey`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `CustomTargetingKey` ID. + * + * Generated from protobuf field optional int64 custom_targeting_key_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getCustomTargetingKeyId() + { + if (isset($this->custom_targeting_key_id)) { + @trigger_error('custom_targeting_key_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->custom_targeting_key_id) ? $this->custom_targeting_key_id : 0; + } + + public function hasCustomTargetingKeyId() + { + if (isset($this->custom_targeting_key_id)) { + @trigger_error('custom_targeting_key_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->custom_targeting_key_id); + } + + public function clearCustomTargetingKeyId() + { + @trigger_error('custom_targeting_key_id is deprecated.', E_USER_DEPRECATED); + unset($this->custom_targeting_key_id); + } + + /** + * Output only. Deprecated: `CustomTargetingKey` ID. + * + * Generated from protobuf field optional int64 custom_targeting_key_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setCustomTargetingKeyId($var) + { + @trigger_error('custom_targeting_key_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->custom_targeting_key_id = $var; + + return $this; + } + + /** + * Immutable. Name of the key. Keys can contain up to 10 characters each. You + * can use alphanumeric characters and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdTagName() + { + return isset($this->ad_tag_name) ? $this->ad_tag_name : ''; + } + + public function hasAdTagName() + { + return isset($this->ad_tag_name); + } + + public function clearAdTagName() + { + unset($this->ad_tag_name); + } + + /** + * Immutable. Name of the key. Keys can contain up to 10 characters each. You + * can use alphanumeric characters and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string ad_tag_name = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAdTagName($var) + { + GPBUtil::checkString($var, True); + $this->ad_tag_name = $var; + + return $this; + } + + /** + * Optional. Descriptive name for the `CustomTargetingKey`. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Descriptive name for the `CustomTargetingKey`. + * + * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. Indicates whether users will select from predefined values or + * create new targeting values, while specifying targeting criteria for a line + * item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getType() + { + return isset($this->type) ? $this->type : 0; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Required. Indicates whether users will select from predefined values or + * create new targeting values, while specifying targeting criteria for a line + * item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomTargetingKeyTypeEnum\CustomTargetingKeyType::class); + $this->type = $var; + + return $this; + } + + /** + * Output only. Status of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. Status of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomTargetingKeyStatusEnum\CustomTargetingKeyStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Required. Reportable state of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getReportableType() + { + return isset($this->reportable_type) ? $this->reportable_type : 0; + } + + public function hasReportableType() + { + return isset($this->reportable_type); + } + + public function clearReportableType() + { + unset($this->reportable_type); + } + + /** + * Required. Reportable state of the `CustomTargetingKey`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType reportable_type = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setReportableType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomTargetingKeyReportableTypeEnum\CustomTargetingKeyReportableType::class); + $this->reportable_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum.php new file mode 100644 index 000000000000..f9c6c7ef49db --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum + */ +class CustomTargetingKeyReportableTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum/CustomTargetingKeyReportableType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum/CustomTargetingKeyReportableType.php new file mode 100644 index 000000000000..b0c16532eb69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyReportableTypeEnum/CustomTargetingKeyReportableType.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType + */ +class CustomTargetingKeyReportableType +{ + /** + * Not specified value. + * + * Generated from protobuf enum CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED = 0; + */ + const CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED = 0; + /** + * Not available for reporting in the Ad Manager query tool. + * + * Generated from protobuf enum OFF = 1; + */ + const OFF = 1; + /** + * Available for reporting in the Ad Manager query tool. + * + * Generated from protobuf enum ON = 2; + */ + const ON = 2; + /** + * Custom dimension available for reporting in the AdManager query tool. + * + * Generated from protobuf enum CUSTOM_DIMENSION = 3; + */ + const CUSTOM_DIMENSION = 3; + + private static $valueToName = [ + self::CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED => 'CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED', + self::OFF => 'OFF', + self::ON => 'ON', + self::CUSTOM_DIMENSION => 'CUSTOM_DIMENSION', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum.php new file mode 100644 index 000000000000..35fd2f2409fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomTargetingKeyStatusEnum + */ +class CustomTargetingKeyStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum/CustomTargetingKeyStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum/CustomTargetingKeyStatus.php new file mode 100644 index 000000000000..84ad2ce1f776 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyStatusEnum/CustomTargetingKeyStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus + */ +class CustomTargetingKeyStatus +{ + /** + * Not specified value. + * + * Generated from protobuf enum CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED = 0; + */ + const CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED = 0; + /** + * Custom targeting key is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Custom targeting key is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED => 'CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum.php new file mode 100644 index 000000000000..9d34f6d212e9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomTargetingKeyTypeEnum + */ +class CustomTargetingKeyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum/CustomTargetingKeyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum/CustomTargetingKeyType.php new file mode 100644 index 000000000000..d602e02cf4a8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingKeyTypeEnum/CustomTargetingKeyType.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType + */ +class CustomTargetingKeyType +{ + /** + * Not specified value. + * + * Generated from protobuf enum CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED = 0; + */ + const CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED = 0; + /** + * Key with a fixed set of values. + * + * Generated from protobuf enum PREDEFINED = 1; + */ + const PREDEFINED = 1; + /** + * Key without a fixed set of values + * + * Generated from protobuf enum FREEFORM = 2; + */ + const FREEFORM = 2; + + private static $valueToName = [ + self::CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED => 'CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED', + self::PREDEFINED => 'PREDEFINED', + self::FREEFORM => 'FREEFORM', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingLiteral.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingLiteral.php new file mode 100644 index 000000000000..9d63457790a7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingLiteral.php @@ -0,0 +1,159 @@ +google.ads.admanager.v1.CustomTargetingLiteral + */ +class CustomTargetingLiteral extends \Google\Protobuf\Internal\Message +{ + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + */ + protected $negative = null; + /** + * Optional. The resource name of the targeted CustomKey. + * + * Generated from protobuf field optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $custom_targeting_key = null; + /** + * Optional. The resource names of the targeted CustomValues. + * + * Generated from protobuf field repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $custom_targeting_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $negative + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * @type string $custom_targeting_key + * Optional. The resource name of the targeted CustomKey. + * @type string[] $custom_targeting_values + * Optional. The resource names of the targeted CustomValues. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @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); + } + + /** + * Whether this expression is negatively targeted, meaning it matches + * ad requests that exclude the below values. + * + * Generated from protobuf field optional bool negative = 1; + * @param bool $var + * @return $this + */ + public function setNegative($var) + { + GPBUtil::checkBool($var); + $this->negative = $var; + + return $this; + } + + /** + * Optional. The resource name of the targeted CustomKey. + * + * Generated from protobuf field optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getCustomTargetingKey() + { + return isset($this->custom_targeting_key) ? $this->custom_targeting_key : ''; + } + + public function hasCustomTargetingKey() + { + return isset($this->custom_targeting_key); + } + + public function clearCustomTargetingKey() + { + unset($this->custom_targeting_key); + } + + /** + * Optional. The resource name of the targeted CustomKey. + * + * Generated from protobuf field optional string custom_targeting_key = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCustomTargetingKey($var) + { + GPBUtil::checkString($var, True); + $this->custom_targeting_key = $var; + + return $this; + } + + /** + * Optional. The resource names of the targeted CustomValues. + * + * Generated from protobuf field repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getCustomTargetingValues() + { + return $this->custom_targeting_values; + } + + /** + * Optional. The resource names of the targeted CustomValues. + * + * Generated from protobuf field repeated string custom_targeting_values = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setCustomTargetingValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->custom_targeting_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValue.php new file mode 100644 index 000000000000..fb37ea58a51c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValue.php @@ -0,0 +1,323 @@ +google.ads.admanager.v1.CustomTargetingValue + */ +class CustomTargetingValue extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `CustomTargetingValue`. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Immutable. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $custom_targeting_key = null; + /** + * Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40 + * characters each. You can use alphanumeric characters and symbols other than + * the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are + * not data-specific; all values are treated as strings. For example, instead + * of using "age>=18 AND <=34", try "18-34" + * + * Generated from protobuf field optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ad_tag_name = null; + /** + * Optional. Descriptive name for the `CustomTargetingValue`. + * + * Generated from protobuf field optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = null; + /** + * Required. Immutable. The way in which the CustomTargetingValue.name strings + * will be matched. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $match_type = null; + /** + * Output only. Status of the `CustomTargetingValue`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `CustomTargetingValue`. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * @type string $custom_targeting_key + * Required. Immutable. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * @type string $ad_tag_name + * Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40 + * characters each. You can use alphanumeric characters and symbols other than + * the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are + * not data-specific; all values are treated as strings. For example, instead + * of using "age>=18 AND <=34", try "18-34" + * @type string $display_name + * Optional. Descriptive name for the `CustomTargetingValue`. + * @type int $match_type + * Required. Immutable. The way in which the CustomTargetingValue.name strings + * will be matched. + * @type int $status + * Output only. Status of the `CustomTargetingValue`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `CustomTargetingValue`. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `CustomTargetingValue`. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Immutable. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getCustomTargetingKey() + { + return isset($this->custom_targeting_key) ? $this->custom_targeting_key : ''; + } + + public function hasCustomTargetingKey() + { + return isset($this->custom_targeting_key); + } + + public function clearCustomTargetingKey() + { + unset($this->custom_targeting_key); + } + + /** + * Required. Immutable. The resource name of the `CustomTargetingKey`. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field optional string custom_targeting_key = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCustomTargetingKey($var) + { + GPBUtil::checkString($var, True); + $this->custom_targeting_key = $var; + + return $this; + } + + /** + * Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40 + * characters each. You can use alphanumeric characters and symbols other than + * the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are + * not data-specific; all values are treated as strings. For example, instead + * of using "age>=18 AND <=34", try "18-34" + * + * Generated from protobuf field optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdTagName() + { + return isset($this->ad_tag_name) ? $this->ad_tag_name : ''; + } + + public function hasAdTagName() + { + return isset($this->ad_tag_name); + } + + public function clearAdTagName() + { + unset($this->ad_tag_name); + } + + /** + * Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40 + * characters each. You can use alphanumeric characters and symbols other than + * the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are + * not data-specific; all values are treated as strings. For example, instead + * of using "age>=18 AND <=34", try "18-34" + * + * Generated from protobuf field optional string ad_tag_name = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAdTagName($var) + { + GPBUtil::checkString($var, True); + $this->ad_tag_name = $var; + + return $this; + } + + /** + * Optional. Descriptive name for the `CustomTargetingValue`. + * + * Generated from protobuf field optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Descriptive name for the `CustomTargetingValue`. + * + * Generated from protobuf field optional string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. Immutable. The way in which the CustomTargetingValue.name strings + * will be matched. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getMatchType() + { + return isset($this->match_type) ? $this->match_type : 0; + } + + public function hasMatchType() + { + return isset($this->match_type); + } + + public function clearMatchType() + { + unset($this->match_type); + } + + /** + * Required. Immutable. The way in which the CustomTargetingValue.name strings + * will be matched. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setMatchType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomTargetingValueMatchTypeEnum\CustomTargetingValueMatchType::class); + $this->match_type = $var; + + return $this; + } + + /** + * Output only. Status of the `CustomTargetingValue`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. Status of the `CustomTargetingValue`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CustomTargetingValueStatusEnum\CustomTargetingValueStatus::class); + $this->status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum.php new file mode 100644 index 000000000000..2bb72332ee69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum + */ +class CustomTargetingValueMatchTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum/CustomTargetingValueMatchType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum/CustomTargetingValueMatchType.php new file mode 100644 index 000000000000..d2f2439e2e9f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueMatchTypeEnum/CustomTargetingValueMatchType.php @@ -0,0 +1,110 @@ +google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType + */ +class CustomTargetingValueMatchType +{ + /** + * Not specified value. + * + * Generated from protobuf enum CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0; + */ + const CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0; + /** + * Used for exact matching. For example, the targeting value car=honda will + * only match to the ad request car=honda. + * + * Generated from protobuf enum EXACT = 1; + */ + const EXACT = 1; + /** + * Used for lenient matching when at least one of the words in the ad + * request matches the targeted value. The targeting value car=honda will + * match to ad requests containing the word honda. So ad requests car=honda + * or car=honda civic or car=buy honda or car=how much does a honda cost + * will all have the line item delivered. + * This match type can not be used within an audience segment rule. + * + * Generated from protobuf enum BROAD = 2; + */ + const BROAD = 2; + /** + * Used for 'starts with' matching when the first few characters in the ad + * request match all of the characters in the targeted value. The targeting + * value car=honda will match to ad requests car=honda or car=hondas for + * sale but not to car=I want a honda. + * + * Generated from protobuf enum PREFIX = 3; + */ + const PREFIX = 3; + /** + * This is a combination of MatchType#BROAD and MatchType#PREFIX matching. + * The targeting value car=honda will match to ad requests that contain + * words that start with the characters in the targeted value, for example + * with car=civic hondas. + * This match type can not be used within an audience segment rule. + * + * Generated from protobuf enum BROAD_PREFIX = 4; + */ + const BROAD_PREFIX = 4; + /** + * Used for 'ends with' matching when the last characters in the ad request + * match all of the characters in the targeted value. The targeting value + * car=honda will match with ad requests car=honda or car=I want a honda but + * not to car=hondas for sale. + * This match type can not be used within line item targeting. + * + * Generated from protobuf enum SUFFIX = 5; + */ + const SUFFIX = 5; + /** + * Used for 'within' matching when the string in the ad request contains the + * string in the targeted value. The targeting value car=honda will match + * with ad requests car=honda, car=I want a honda, and also with car=hondas + * for sale, but not with car=misspelled hond a. This match type can not be + * used within line item targeting. + * + * Generated from protobuf enum CONTAINS = 6; + */ + const CONTAINS = 6; + + private static $valueToName = [ + self::CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED => 'CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED', + self::EXACT => 'EXACT', + self::BROAD => 'BROAD', + self::PREFIX => 'PREFIX', + self::BROAD_PREFIX => 'BROAD_PREFIX', + self::SUFFIX => 'SUFFIX', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum.php new file mode 100644 index 000000000000..0260022c1c69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.CustomTargetingValueStatusEnum + */ +class CustomTargetingValueStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum/CustomTargetingValueStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum/CustomTargetingValueStatus.php new file mode 100644 index 000000000000..efd6c369a2e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/CustomTargetingValueStatusEnum/CustomTargetingValueStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.CustomTargetingValueStatusEnum.CustomTargetingValueStatus + */ +class CustomTargetingValueStatus +{ + /** + * Not specified value. + * + * Generated from protobuf enum CUSTOM_TARGETING_VALUE_STATUS_UNSPECIFIED = 0; + */ + const CUSTOM_TARGETING_VALUE_STATUS_UNSPECIFIED = 0; + /** + * Custom targeting value is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Custom targeting value is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::CUSTOM_TARGETING_VALUE_STATUS_UNSPECIFIED => 'CUSTOM_TARGETING_VALUE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestError.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestError.php new file mode 100644 index 000000000000..ac1f3a31b676 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestError.php @@ -0,0 +1,122 @@ +google.ads.admanager.v1.DaiIngestError + */ +class DaiIngestError extends \Google\Protobuf\Internal\Message +{ + /** + * The error associated with the content. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1; + */ + protected $reason = null; + /** + * Output only. The field, if any, that triggered the error. + * + * Generated from protobuf field optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $trigger = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $reason + * The error associated with the content. + * @type string $trigger + * Output only. The field, if any, that triggered the error. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentMessages::initOnce(); + parent::__construct($data); + } + + /** + * The error associated with the content. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason 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); + } + + /** + * The error associated with the content. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason reason = 1; + * @param int $var + * @return $this + */ + public function setReason($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DaiIngestErrorReasonEnum\DaiIngestErrorReason::class); + $this->reason = $var; + + return $this; + } + + /** + * Output only. The field, if any, that triggered the error. + * + * Generated from protobuf field optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getTrigger() + { + return isset($this->trigger) ? $this->trigger : ''; + } + + public function hasTrigger() + { + return isset($this->trigger); + } + + public function clearTrigger() + { + unset($this->trigger); + } + + /** + * Output only. The field, if any, that triggered the error. + * + * Generated from protobuf field optional string trigger = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setTrigger($var) + { + GPBUtil::checkString($var, True); + $this->trigger = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum.php new file mode 100644 index 000000000000..09d98a642d6d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DaiIngestErrorReasonEnum + */ +class DaiIngestErrorReasonEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum/DaiIngestErrorReason.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum/DaiIngestErrorReason.php new file mode 100644 index 000000000000..e9aa8dec9268 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestErrorReasonEnum/DaiIngestErrorReason.php @@ -0,0 +1,555 @@ +google.ads.admanager.v1.DaiIngestErrorReasonEnum.DaiIngestErrorReason + */ +class DaiIngestErrorReason +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum DAI_INGEST_ERROR_REASON_UNSPECIFIED = 0; + */ + const DAI_INGEST_ERROR_REASON_UNSPECIFIED = 0; + /** + * The ingest URL provided in the publisher's `Content` source feed is + * invalid. The trigger for this error is the ingest URL specified in the + * publisher's feed. + * + * Generated from protobuf enum INVALID_INGEST_URL = 1; + */ + const INVALID_INGEST_URL = 1; + /** + * The closed caption URL provided in the publisher's `Content` source feed + * is invalid. + * + * Generated from protobuf enum INVALID_CLOSED_CAPTION_URL = 2; + */ + const INVALID_CLOSED_CAPTION_URL = 2; + /** + * There is no closed caption URL for a `Content` in the publisher's + * `Content` source feed. There is no trigger for this error. + * + * Generated from protobuf enum MISSING_CLOSED_CAPTION_URL = 3; + */ + const MISSING_CLOSED_CAPTION_URL = 3; + /** + * There was an error while trying to fetch the HLS from the specified + * ingest URL. The trigger for this error is the ingest URL specified in the + * publisher's feed. + * + * Generated from protobuf enum COULD_NOT_FETCH_HLS = 4; + */ + const COULD_NOT_FETCH_HLS = 4; + /** + * There was an error while trying to fetch the subtitles from the specified + * closed caption url. The trigger for this error is the closed caption URL + * specified in the publisher's feed. + * + * Generated from protobuf enum COULD_NOT_FETCH_SUBTITLES = 5; + */ + const COULD_NOT_FETCH_SUBTITLES = 5; + /** + * One of the subtitles from the closed caption URL is missing a language. + * The trigger for this error is the closed caption URL that does not have a + * language associated with it. + * + * Generated from protobuf enum MISSING_SUBTITLE_LANGUAGE = 6; + */ + const MISSING_SUBTITLE_LANGUAGE = 6; + /** + * Error fetching the media files from the URLs specified in the master HLS + * playlist. The trigger for this error is a media playlist URL within the + * publisher's HLS playlist that could not be fetched. + * + * Generated from protobuf enum COULD_NOT_FETCH_MEDIA = 7; + */ + const COULD_NOT_FETCH_MEDIA = 7; + /** + * The media from the publisher's CDN is malformed and cannot be + * conditioned. The trigger for this error is a media playlist URL within + * the publisher's HLS playlist that is malformed. + * + * Generated from protobuf enum MALFORMED_MEDIA_BYTES = 8; + */ + const MALFORMED_MEDIA_BYTES = 8; + /** + * A chapter time for the `Content` is outside of the range of the + * `Content`'s duration. The trigger for this error is the chapter time (a + * parsable long representing the time in ms) that is out of bounds. + * + * Generated from protobuf enum CHAPTER_TIME_OUT_OF_BOUNDS = 9; + */ + const CHAPTER_TIME_OUT_OF_BOUNDS = 9; + /** + * An internal error occurred. There is no trigger for this error. + * + * Generated from protobuf enum INTERNAL_ERROR = 10; + */ + const INTERNAL_ERROR = 10; + /** + * The `Content` has chapter times but the `Content`'s source has no CDN + * settings for midrolls. There is no trigger for this error. + * + * Generated from protobuf enum CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS = 11; + */ + const CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS = 11; + /** + * There is bad/missing/malformed data in a media playlist. The trigger for + * this error is the URL that points to the malformed media playlist. + * + * Generated from protobuf enum MALFORMED_MEDIA_PLAYLIST = 12; + */ + const MALFORMED_MEDIA_PLAYLIST = 12; + /** + * Multiple ways of denoting ad breaks were detected in a media playlist + * (e.g. placement opportunity tags, cue markers, etc.) + * + * Generated from protobuf enum MIXED_AD_BREAK_TAGS = 13; + */ + const MIXED_AD_BREAK_TAGS = 13; + /** + * The ad break tags in the preconditioned `Content` are not in the same + * locations across all variant playlists. + * + * Generated from protobuf enum AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS = 14; + */ + const AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS = 14; + /** + * There is bad/missing/malformed data in a subtitles file. The trigger for + * this error is the URL that points to the malformed subtitles. + * + * Generated from protobuf enum MALFORMED_SUBTITLES = 15; + */ + const MALFORMED_SUBTITLES = 15; + /** + * The subtitles sent to DAI are too large. The trigger for this error is + * the URL that points to the master playlist. + * + * Generated from protobuf enum SUBTITLES_TOO_LARGE = 16; + */ + const SUBTITLES_TOO_LARGE = 16; + /** + * A playlist item has a URL that does not begin with the ingest common path + * provided in the DAI settings. The trigger for this error is the playlist + * item URL. + * + * Generated from protobuf enum PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH = 17; + */ + const PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH = 17; + /** + * Uploading split media segments failed due to an authentication error. + * + * Generated from protobuf enum COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED = 18; + */ + const COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED = 18; + /** + * Uploading spit media segments failed due to a connection error. + * + * Generated from protobuf enum COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED = 19; + */ + const COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED = 19; + /** + * Uploading split media segments failed due to a write error. + * + * Generated from protobuf enum COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED = 20; + */ + const COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED = 20; + /** + * Variants in a playlist do not have the same number of discontinuities. + * The trigger for this error is the master playlist URI. + * + * Generated from protobuf enum PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES = 21; + */ + const PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES = 21; + /** + * The playlist does not have a starting PTS value. The trigger for this + * error is the master playlist URI. + * + * Generated from protobuf enum PLAYLIST_HAS_NO_STARTING_PTS_VALUE = 22; + */ + const PLAYLIST_HAS_NO_STARTING_PTS_VALUE = 22; + /** + * The PTS at a discontinuity varies too much between the different + * variants. The trigger for this error is the master playlist URI. + * + * Generated from protobuf enum PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH = 23; + */ + const PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH = 23; + /** + * A media segment has no PTS. The trigger for this error is the segment + * data URI. + * + * Generated from protobuf enum SEGMENT_HAS_NO_PTS = 24; + */ + const SEGMENT_HAS_NO_PTS = 24; + /** + * The language in the subtitles file does not match the language specified + * in the feed. The trigger for this error is the feed language and the + * parsed language separated by a semi-colon, e.g. "en;sp". + * + * Generated from protobuf enum SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED = 25; + */ + const SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED = 25; + /** + * There are multiple subtitles files at the closed caption URI, and none of + * them match the language defined in the feed. + * + * Generated from protobuf enum CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE = 26; + */ + const CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE = 26; + /** + * No CDN configuration found for the `Content`. The trigger for this error + * is the `Content`'s master playlist URI. + * + * Generated from protobuf enum NO_CDN_CONFIG_FOUND = 27; + */ + const NO_CDN_CONFIG_FOUND = 27; + /** + * The `Content` has midrolls but there was no split `Content` config on the + * CDN configuration for that `Content` so the `Content` was not + * conditioned. There is no trigger for this error. + * + * Generated from protobuf enum CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG = 28; + */ + const CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG = 28; + /** + * The `Content` has midrolls but the source the `Content` was ingested from + * has mid-rolls disabled, so the `Content` was not conditioned. There is no + * trigger for this error. + * + * Generated from protobuf enum CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED = 29; + */ + const CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED = 29; + /** + * Error parsing ADTS while splitting the `Content`. The trigger for this + * error is the variant URL and the cue-point separated by a semi-colon, + * e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum ADTS_PARSE_ERROR = 30; + */ + const ADTS_PARSE_ERROR = 30; + /** + * Error splitting an AAC segment. The trigger for this error is the variant + * URL and the cue-point separated by a semi-colon, e.g. + * "www.variant2.com;5000". + * + * Generated from protobuf enum AAC_SPLIT_ERROR = 31; + */ + const AAC_SPLIT_ERROR = 31; + /** + * Error parsing an AAC file while splitting the `Content`. The trigger for + * this error is the variant URL and the cue-point separated by a + * semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum AAC_PARSE_ERROR = 32; + */ + const AAC_PARSE_ERROR = 32; + /** + * Error parsing a TS file while splitting the `Content`. The trigger for + * this error is the variant URL and the cue-point separated by a + * semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum TS_PARSE_ERROR = 33; + */ + const TS_PARSE_ERROR = 33; + /** + * Error splitting a TS file while splitting the `Content`. The trigger for + * this error is the variant URL and the cue-point separated by a + * semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum TS_SPLIT_ERROR = 34; + */ + const TS_SPLIT_ERROR = 34; + /** + * Encountered an unsupported container format while splitting the + * `Content`. The trigger for this error is the variant URL and the + * cue-point separated by a semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum UNSUPPORTED_CONTAINER_FORMAT = 35; + */ + const UNSUPPORTED_CONTAINER_FORMAT = 35; + /** + * Encountered multiple elementary streams of the same media type (audio, + * video) within a transport stream. The trigger for this error is the + * variant URL and the cue-point separated by a semi-colon, e.g. + * "www.variant2.com;5000". + * + * Generated from protobuf enum MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS = 36; + */ + const MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS = 36; + /** + * Encountered an unsupported TS media format while splitting the `Content`. + * The trigger for this error is the variant URL and the cue-point separated + * by a semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum UNSUPPORTED_TS_MEDIA_FORMAT = 37; + */ + const UNSUPPORTED_TS_MEDIA_FORMAT = 37; + /** + * Error splitting because there were no i-frames near the target split + * point. The trigger for this error is the variant URL and the cue-point + * separated by a semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum NO_IFRAMES_NEAR_CUE_POINT = 38; + */ + const NO_IFRAMES_NEAR_CUE_POINT = 38; + /** + * Error splitting an AC-3 segment. The trigger for this error is the + * variant URL and the cue-point separated by a semi-colon, e.g. + * "www.variant2.com;5000". + * + * Generated from protobuf enum AC3_SPLIT_ERROR = 39; + */ + const AC3_SPLIT_ERROR = 39; + /** + * Error parsing an AC-3 file while splitting the `Content`. The trigger for + * this error is the variant URL and the cue-point separated by a + * semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum AC3_PARSE_ERROR = 40; + */ + const AC3_PARSE_ERROR = 40; + /** + * Error splitting an E-AC-3 segment. The trigger for this error is the + * variant URL and the cue-point separated by a semi-colon, e.g. + * "www.variant2.com;5000". + * + * Generated from protobuf enum EAC3_SPLIT_ERROR = 41; + */ + const EAC3_SPLIT_ERROR = 41; + /** + * Error caused by an invalid encryption key. The trigger for this error is + * a media playlist URL within the publisher's HLS playlist that has the + * invalid encryption key. + * + * Generated from protobuf enum INVALID_ENCRYPTION_KEY = 42; + */ + const INVALID_ENCRYPTION_KEY = 42; + /** + * Error parsing an E-AC-3 file while splitting the `Content`. The trigger + * for this error is the variant URL and the cue-point separated by a + * semi-colon, e.g. "www.variant2.com;5000". + * + * Generated from protobuf enum EAC3_PARSE_ERROR = 43; + */ + const EAC3_PARSE_ERROR = 43; + /** + * Error caused by the number of PTS being a different value than the number + * of cue points + 1. + * + * Generated from protobuf enum CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT = 44; + */ + const CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT = 44; + /** + * Error caused by the number of PTS being a different value than the number + * of discontinuity tags + 1. + * + * Generated from protobuf enum DISCONTINUITY_COUNT_DOES_NOT_MATCH_PTS_COUNT = 45; + */ + const DISCONTINUITY_COUNT_DOES_NOT_MATCH_PTS_COUNT = 45; + /** + * The DASH `Content` has cue points but they do not match the Event + * durations from the DASH manifest EventStream, if present. + * + * Generated from protobuf enum DASH_CUE_POINT_EVENT_MISMATCH = 46; + */ + const DASH_CUE_POINT_EVENT_MISMATCH = 46; + /** + * The DASH manifest cannot be conditioned for midrolls. + * + * Generated from protobuf enum DASH_MANIFEST_CONDITIONING_FAILED = 47; + */ + const DASH_MANIFEST_CONDITIONING_FAILED = 47; + /** + * The DASH manifest cannot be conditioned for midrolls because one or more + * of the cue points do not lie on a media segment boundary. + * + * Generated from protobuf enum DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR = 48; + */ + const DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR = 48; + /** + * The subtitle language code should not contain "$$$$$". + * + * Generated from protobuf enum CLOSED_CAPTION_LANGUAGE_VALUE_INVALID = 49; + */ + const CLOSED_CAPTION_LANGUAGE_VALUE_INVALID = 49; + /** + * The subtitle name should not contain "$$$$$". + * + * Generated from protobuf enum CLOSED_CAPTION_NAME_VALUE_INVALID = 50; + */ + const CLOSED_CAPTION_NAME_VALUE_INVALID = 50; + /** + * The common subtitle characteristics values listed in the HLS spec are: + * 1)"public.accessibility.transcribes-spoken-dialog", + * 2)"public.accessibility.describes-music-and-sound", + * 3)"public.easy-to-read"; + * + * Generated from protobuf enum CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED = 51; + */ + const CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED = 51; + /** + * Closed captions for a `Content` should be unique by 'language + name'. + * + * Generated from protobuf enum CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS = 52; + */ + const CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS = 52; + /** + * Subtitles are defined in the `Content` source feed as well as inside the + * stream manifest. Only feed subtitles will be ingested. + * + * Generated from protobuf enum SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST = 53; + */ + const SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST = 53; + /** + * The media profile is invalid due to missing data. + * + * Generated from protobuf enum INVALID_MEDIA_PROFILE = 54; + */ + const INVALID_MEDIA_PROFILE = 54; + /** + * Error caused when the PTS values do not align across chapters. + * + * Generated from protobuf enum CHAPTER_PTS_MISMATCH = 55; + */ + const CHAPTER_PTS_MISMATCH = 55; + /** + * Error occurred while chaptering renditions in the `Content`. + * + * Generated from protobuf enum CHAPTER_RENDITION_ERROR = 56; + */ + const CHAPTER_RENDITION_ERROR = 56; + /** + * Error during notification processing: invalid transcoding request. + * + * Generated from protobuf enum INVALID_TRANSCODING_REQUEST = 57; + */ + const INVALID_TRANSCODING_REQUEST = 57; + /** + * Error during notification processing: transcode failed. + * + * Generated from protobuf enum TRANSCODE_FAILED = 58; + */ + const TRANSCODE_FAILED = 58; + /** + * Error during playlist generation. + * + * Generated from protobuf enum PLAYLIST_GENERATION_FAILED = 59; + */ + const PLAYLIST_GENERATION_FAILED = 59; + /** + * Error during DASH ingest: could not fetch DASH manifest. + * + * Generated from protobuf enum COULD_NOT_FETCH_DASH = 60; + */ + const COULD_NOT_FETCH_DASH = 60; + /** + * Error during DASH ingest: malformed DASH manifest. + * + * Generated from protobuf enum MALFORMED_DASH = 61; + */ + const MALFORMED_DASH = 61; + /** + * Error during DASH ingest: DASH conditioning not supported. + * + * Generated from protobuf enum DASH_CONDITIONING_NOT_SUPPORTED = 62; + */ + const DASH_CONDITIONING_NOT_SUPPORTED = 62; + + private static $valueToName = [ + self::DAI_INGEST_ERROR_REASON_UNSPECIFIED => 'DAI_INGEST_ERROR_REASON_UNSPECIFIED', + self::INVALID_INGEST_URL => 'INVALID_INGEST_URL', + self::INVALID_CLOSED_CAPTION_URL => 'INVALID_CLOSED_CAPTION_URL', + self::MISSING_CLOSED_CAPTION_URL => 'MISSING_CLOSED_CAPTION_URL', + self::COULD_NOT_FETCH_HLS => 'COULD_NOT_FETCH_HLS', + self::COULD_NOT_FETCH_SUBTITLES => 'COULD_NOT_FETCH_SUBTITLES', + self::MISSING_SUBTITLE_LANGUAGE => 'MISSING_SUBTITLE_LANGUAGE', + self::COULD_NOT_FETCH_MEDIA => 'COULD_NOT_FETCH_MEDIA', + self::MALFORMED_MEDIA_BYTES => 'MALFORMED_MEDIA_BYTES', + self::CHAPTER_TIME_OUT_OF_BOUNDS => 'CHAPTER_TIME_OUT_OF_BOUNDS', + self::INTERNAL_ERROR => 'INTERNAL_ERROR', + self::CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS => 'CONTENT_HAS_CHAPTER_TIMES_BUT_NO_MIDROLL_SETTINGS', + self::MALFORMED_MEDIA_PLAYLIST => 'MALFORMED_MEDIA_PLAYLIST', + self::MIXED_AD_BREAK_TAGS => 'MIXED_AD_BREAK_TAGS', + self::AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS => 'AD_BREAK_TAGS_INCONSISTENT_ACROSS_VARIANTS', + self::MALFORMED_SUBTITLES => 'MALFORMED_SUBTITLES', + self::SUBTITLES_TOO_LARGE => 'SUBTITLES_TOO_LARGE', + self::PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH => 'PLAYLIST_ITEM_URL_DOES_NOT_MATCH_INGEST_COMMON_PATH', + self::COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED => 'COULD_NOT_UPLOAD_SPLIT_MEDIA_AUTHENTICATION_FAILED', + self::COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED => 'COULD_NOT_UPLOAD_SPLIT_MEDIA_CONNECTION_FAILED', + self::COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED => 'COULD_NOT_UPLOAD_SPLIT_MEDIA_WRITE_FAILED', + self::PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES => 'PLAYLISTS_HAVE_DIFFERENT_NUMBER_OF_DISCONTINUITIES', + self::PLAYLIST_HAS_NO_STARTING_PTS_VALUE => 'PLAYLIST_HAS_NO_STARTING_PTS_VALUE', + self::PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH => 'PLAYLIST_DISCONTINUITY_PTS_VALUES_DIFFER_TOO_MUCH', + self::SEGMENT_HAS_NO_PTS => 'SEGMENT_HAS_NO_PTS', + self::SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED => 'SUBTITLE_LANGUAGE_DOES_NOT_MATCH_LANGUAGE_IN_FEED', + self::CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE => 'CANNOT_DETERMINE_CORRECT_SUBTITLES_FOR_LANGUAGE', + self::NO_CDN_CONFIG_FOUND => 'NO_CDN_CONFIG_FOUND', + self::CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG => 'CONTENT_HAS_MIDROLLS_BUT_NO_SPLIT_CONTENT_CONFIG', + self::CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED => 'CONTENT_HAS_MIDROLLS_BUT_SOURCE_HAS_MIDROLLS_DISABLED', + self::ADTS_PARSE_ERROR => 'ADTS_PARSE_ERROR', + self::AAC_SPLIT_ERROR => 'AAC_SPLIT_ERROR', + self::AAC_PARSE_ERROR => 'AAC_PARSE_ERROR', + self::TS_PARSE_ERROR => 'TS_PARSE_ERROR', + self::TS_SPLIT_ERROR => 'TS_SPLIT_ERROR', + self::UNSUPPORTED_CONTAINER_FORMAT => 'UNSUPPORTED_CONTAINER_FORMAT', + self::MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS => 'MULTIPLE_ELEMENTARY_STREAMS_OF_SAME_MEDIA_TYPE_IN_TS', + self::UNSUPPORTED_TS_MEDIA_FORMAT => 'UNSUPPORTED_TS_MEDIA_FORMAT', + self::NO_IFRAMES_NEAR_CUE_POINT => 'NO_IFRAMES_NEAR_CUE_POINT', + self::AC3_SPLIT_ERROR => 'AC3_SPLIT_ERROR', + self::AC3_PARSE_ERROR => 'AC3_PARSE_ERROR', + self::EAC3_SPLIT_ERROR => 'EAC3_SPLIT_ERROR', + self::INVALID_ENCRYPTION_KEY => 'INVALID_ENCRYPTION_KEY', + self::EAC3_PARSE_ERROR => 'EAC3_PARSE_ERROR', + self::CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT => 'CUE_POINT_COUNT_DOES_NOT_MATCH_PTS_COUNT', + self::DISCONTINUITY_COUNT_DOES_NOT_MATCH_PTS_COUNT => 'DISCONTINUITY_COUNT_DOES_NOT_MATCH_PTS_COUNT', + self::DASH_CUE_POINT_EVENT_MISMATCH => 'DASH_CUE_POINT_EVENT_MISMATCH', + self::DASH_MANIFEST_CONDITIONING_FAILED => 'DASH_MANIFEST_CONDITIONING_FAILED', + self::DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR => 'DASH_MANIFEST_CONDITIONING_SEGMENT_BOUNDARY_ERROR', + self::CLOSED_CAPTION_LANGUAGE_VALUE_INVALID => 'CLOSED_CAPTION_LANGUAGE_VALUE_INVALID', + self::CLOSED_CAPTION_NAME_VALUE_INVALID => 'CLOSED_CAPTION_NAME_VALUE_INVALID', + self::CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED => 'CLOSED_CAPTION_CHARACTERISTICS_VALUE_UNEXPECTED', + self::CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS => 'CLOSED_CAPTIONS_WITH_DUPLICATE_KEYS', + self::SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST => 'SUBTITLES_PRESENT_IN_FEED_AND_MANIFEST', + self::INVALID_MEDIA_PROFILE => 'INVALID_MEDIA_PROFILE', + self::CHAPTER_PTS_MISMATCH => 'CHAPTER_PTS_MISMATCH', + self::CHAPTER_RENDITION_ERROR => 'CHAPTER_RENDITION_ERROR', + self::INVALID_TRANSCODING_REQUEST => 'INVALID_TRANSCODING_REQUEST', + self::TRANSCODE_FAILED => 'TRANSCODE_FAILED', + self::PLAYLIST_GENERATION_FAILED => 'PLAYLIST_GENERATION_FAILED', + self::COULD_NOT_FETCH_DASH => 'COULD_NOT_FETCH_DASH', + self::MALFORMED_DASH => 'MALFORMED_DASH', + self::DASH_CONDITIONING_NOT_SUPPORTED => 'DASH_CONDITIONING_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum.php new file mode 100644 index 000000000000..3a69d690ed59 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DaiIngestStatusEnum + */ +class DaiIngestStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum/DaiIngestStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum/DaiIngestStatus.php new file mode 100644 index 000000000000..88d9d83a711d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DaiIngestStatusEnum/DaiIngestStatus.php @@ -0,0 +1,101 @@ +google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus + */ +class DaiIngestStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum DAI_INGEST_STATUS_UNSPECIFIED = 0; + */ + const DAI_INGEST_STATUS_UNSPECIFIED = 0; + /** + * The `Content` was successfully ingested for DAI. + * + * Generated from protobuf enum SUCCESS = 1; + */ + const SUCCESS = 1; + /** + * There was a non-fatal issue during the DAI ingestion process. + * + * Generated from protobuf enum WARNING = 2; + */ + const WARNING = 2; + /** + * The preconditioned `Content` was successfully ingested for DAI. + * + * Generated from protobuf enum INGESTED = 3; + */ + const INGESTED = 3; + /** + * There was a non-fatal issue during the DAI ingestion process on + * preconditioned `Content`. + * + * Generated from protobuf enum INGESTED_WITH_WARNINGS = 4; + */ + const INGESTED_WITH_WARNINGS = 4; + /** + * The unconditioned `Content` was successfully conditioned for DAI. + * + * Generated from protobuf enum CONDITIONED = 5; + */ + const CONDITIONED = 5; + /** + * There was a non-fatal issue during the DAI conditioning process on + * originally unconditioned `Content`. + * + * Generated from protobuf enum CONDITIONED_WITH_WARNINGS = 6; + */ + const CONDITIONED_WITH_WARNINGS = 6; + /** + * There was a non-fatal issue during the DAI ingestion process and the + * `Content` is not available for dynamic ad insertion. + * + * Generated from protobuf enum FAILURE = 7; + */ + const FAILURE = 7; + + private static $valueToName = [ + self::DAI_INGEST_STATUS_UNSPECIFIED => 'DAI_INGEST_STATUS_UNSPECIFIED', + self::SUCCESS => 'SUCCESS', + self::WARNING => 'WARNING', + self::INGESTED => 'INGESTED', + self::INGESTED_WITH_WARNINGS => 'INGESTED_WITH_WARNINGS', + self::CONDITIONED => 'CONDITIONED', + self::CONDITIONED_WITH_WARNINGS => 'CONDITIONED_WITH_WARNINGS', + self::FAILURE => 'FAILURE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DashBridge.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DashBridge.php new file mode 100644 index 000000000000..54cac72189ac --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DashBridge.php @@ -0,0 +1,83 @@ +google.ads.admanager.v1.DashBridge + */ +class DashBridge extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Specifies whether to apply DASH Bridge single-period to + * multi-period MPD conditioning. + * + * Generated from protobuf field optional bool enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $enabled + * Optional. Specifies whether to apply DASH Bridge single-period to + * multi-period MPD conditioning. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Specifies whether to apply DASH Bridge single-period to + * multi-period MPD conditioning. + * + * Generated from protobuf field optional bool enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Specifies whether to apply DASH Bridge single-period to + * multi-period MPD conditioning. + * + * Generated from protobuf field optional bool enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnabled($var) + { + GPBUtil::checkBool($var); + $this->enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DataSegmentTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DataSegmentTargeting.php new file mode 100644 index 000000000000..5abb37517475 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DataSegmentTargeting.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.DataSegmentTargeting + */ +class DataSegmentTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Whether any data segments are currently targeted. + * + * Generated from protobuf field bool has_data_segment_targeting = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $has_data_segment_targeting = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $has_data_segment_targeting + * Output only. Whether any data segments are currently targeted. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Whether any data segments are currently targeted. + * + * Generated from protobuf field bool has_data_segment_targeting = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getHasDataSegmentTargeting() + { + return $this->has_data_segment_targeting; + } + + /** + * Output only. Whether any data segments are currently targeted. + * + * Generated from protobuf field bool has_data_segment_targeting = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setHasDataSegmentTargeting($var) + { + GPBUtil::checkBool($var); + $this->has_data_segment_targeting = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateCustomTargetingValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateCustomTargetingValueRequest.php new file mode 100644 index 000000000000..368c148241ab --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateCustomTargetingValueRequest.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.DeactivateCustomTargetingValueRequest + */ +class DeactivateCustomTargetingValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateTargetingPresetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateTargetingPresetRequest.php new file mode 100644 index 000000000000..9ee6d2490e92 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeactivateTargetingPresetRequest.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.DeactivateTargetingPresetRequest + */ +class DeactivateTargetingPresetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name for the TargetingPreset. + * Format: `networks/{network_code}/targetingPreset/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Required. TargetingPreset ID to deactivate. + * + * Generated from protobuf field int64 targeting_preset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting_preset_id = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name for the TargetingPreset. + * Format: `networks/{network_code}/targetingPreset/{targeting_preset_id}` + * @type int|string $targeting_preset_id + * Required. TargetingPreset ID to deactivate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name for the TargetingPreset. + * Format: `networks/{network_code}/targetingPreset/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Resource name for the TargetingPreset. + * Format: `networks/{network_code}/targetingPreset/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. TargetingPreset ID to deactivate. + * + * Generated from protobuf field int64 targeting_preset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int|string + */ + public function getTargetingPresetId() + { + return $this->targeting_preset_id; + } + + /** + * Required. TargetingPreset ID to deactivate. + * + * Generated from protobuf field int64 targeting_preset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int|string $var + * @return $this + */ + public function setTargetingPresetId($var) + { + GPBUtil::checkInt64($var); + $this->targeting_preset_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum.php new file mode 100644 index 000000000000..50a743c0952a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DealBuyerPermissionTypeEnum + */ +class DealBuyerPermissionTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DealBuyerPermissionTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum/DealBuyerPermissionType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum/DealBuyerPermissionType.php new file mode 100644 index 000000000000..6c74a4cd6947 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealBuyerPermissionTypeEnum/DealBuyerPermissionType.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType + */ +class DealBuyerPermissionType +{ + /** + * No value specified. + * + * Generated from protobuf enum DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED = 0; + */ + const DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED = 0; + /** + * The deal only transacts with the buyer specified. + * + * Generated from protobuf enum NEGOTIATOR_ONLY = 1; + */ + const NEGOTIATOR_ONLY = 1; + /** + * The deal transacts with all buyers under the same bidder. + * + * Generated from protobuf enum BIDDER = 2; + */ + const BIDDER = 2; + + private static $valueToName = [ + self::DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED => 'DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED', + self::NEGOTIATOR_ONLY => 'NEGOTIATOR_ONLY', + self::BIDDER => 'BIDDER', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum.php new file mode 100644 index 000000000000..1d09283613f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DealPriorityTierEnum + */ +class DealPriorityTierEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DealPriorityTierEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum/DealPriorityTier.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum/DealPriorityTier.php new file mode 100644 index 000000000000..81cb876e3b91 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DealPriorityTierEnum/DealPriorityTier.php @@ -0,0 +1,117 @@ +google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier + */ +class DealPriorityTier +{ + /** + * No value specified. + * + * Generated from protobuf enum DEAL_PRIORITY_TIER_UNSPECIFIED = 0; + */ + const DEAL_PRIORITY_TIER_UNSPECIFIED = 0; + /** + * Tier 1 + * + * Generated from protobuf enum TIER1 = 1; + */ + const TIER1 = 1; + /** + * Tier 2 + * + * Generated from protobuf enum TIER2 = 2; + */ + const TIER2 = 2; + /** + * Tier 3 + * + * Generated from protobuf enum TIER3 = 3; + */ + const TIER3 = 3; + /** + * Tier 4 + * + * Generated from protobuf enum TIER4 = 4; + */ + const TIER4 = 4; + /** + * Tier 5 + * + * Generated from protobuf enum TIER5 = 5; + */ + const TIER5 = 5; + /** + * Tier 6 + * + * Generated from protobuf enum TIER6 = 6; + */ + const TIER6 = 6; + /** + * Tier 7 + * + * Generated from protobuf enum TIER7 = 7; + */ + const TIER7 = 7; + /** + * Tier 8 + * + * Generated from protobuf enum TIER8 = 8; + */ + const TIER8 = 8; + /** + * Tier 9 + * + * Generated from protobuf enum TIER9 = 9; + */ + const TIER9 = 9; + /** + * Open Auction optimized tier + * + * Generated from protobuf enum OPTIMIZED = 1000; + */ + const OPTIMIZED = 1000; + + private static $valueToName = [ + self::DEAL_PRIORITY_TIER_UNSPECIFIED => 'DEAL_PRIORITY_TIER_UNSPECIFIED', + self::TIER1 => 'TIER1', + self::TIER2 => 'TIER2', + self::TIER3 => 'TIER3', + self::TIER4 => 'TIER4', + self::TIER5 => 'TIER5', + self::TIER6 => 'TIER6', + self::TIER7 => 'TIER7', + self::TIER8 => 'TIER8', + self::TIER9 => 'TIER9', + self::OPTIMIZED => 'OPTIMIZED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum.php new file mode 100644 index 000000000000..83f11b9a638e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DelegationTypeEnum + */ +class DelegationTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum/DelegationType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum/DelegationType.php new file mode 100644 index 000000000000..77f102410f08 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DelegationTypeEnum/DelegationType.php @@ -0,0 +1,65 @@ +google.ads.admanager.v1.DelegationTypeEnum.DelegationType + */ +class DelegationType +{ + /** + * No value specified + * + * Generated from protobuf enum DELEGATION_TYPE_UNSPECIFIED = 0; + */ + const DELEGATION_TYPE_UNSPECIFIED = 0; + /** + * Indicates the parent network gets complete access to the child network's + * account. + * + * Generated from protobuf enum MANAGE_ACCOUNT = 1; + */ + const MANAGE_ACCOUNT = 1; + /** + * Indicates a subset of the ad requests from the child are delegated to the + * parent, determined by the tag on the child network's web pages. The + * parent network does not have access to the child network, as a subset of + * the inventory could be owned and operated by the child network. + * + * Generated from protobuf enum MANAGE_INVENTORY = 2; + */ + const MANAGE_INVENTORY = 2; + + private static $valueToName = [ + self::DELEGATION_TYPE_UNSPECIFIED => 'DELEGATION_TYPE_UNSPECIFIED', + self::MANAGE_ACCOUNT => 'MANAGE_ACCOUNT', + self::MANAGE_INVENTORY => 'MANAGE_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeleteAdBreakRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeleteAdBreakRequest.php new file mode 100644 index 000000000000..f56025e76dbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeleteAdBreakRequest.php @@ -0,0 +1,92 @@ +google.ads.admanager.v1.DeleteAdBreakRequest + */ +class DeleteAdBreakRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the ad break to delete. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the ad break to delete. + * + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}` + * Please see {@see AdBreakServiceClient::adBreakName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\DeleteAdBreakRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the ad break to delete. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the ad break to delete. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The name of the ad break to delete. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeliveryIndicator.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeliveryIndicator.php new file mode 100644 index 000000000000..d719c3d806da --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeliveryIndicator.php @@ -0,0 +1,121 @@ +google.ads.admanager.v1.DeliveryIndicator + */ +class DeliveryIndicator extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The expected delivery percentage of the LineItem. + * + * Generated from protobuf field optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $expected_delivery_percentage = null; + /** + * Output only. The actual delivery percentage of the LineItem. + * + * Generated from protobuf field optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $actual_delivery_percentage = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $expected_delivery_percentage + * Output only. The expected delivery percentage of the LineItem. + * @type float $actual_delivery_percentage + * Output only. The actual delivery percentage of the LineItem. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeliveryIndicator::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The expected delivery percentage of the LineItem. + * + * Generated from protobuf field optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getExpectedDeliveryPercentage() + { + return isset($this->expected_delivery_percentage) ? $this->expected_delivery_percentage : 0.0; + } + + public function hasExpectedDeliveryPercentage() + { + return isset($this->expected_delivery_percentage); + } + + public function clearExpectedDeliveryPercentage() + { + unset($this->expected_delivery_percentage); + } + + /** + * Output only. The expected delivery percentage of the LineItem. + * + * Generated from protobuf field optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setExpectedDeliveryPercentage($var) + { + GPBUtil::checkDouble($var); + $this->expected_delivery_percentage = $var; + + return $this; + } + + /** + * Output only. The actual delivery percentage of the LineItem. + * + * Generated from protobuf field optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getActualDeliveryPercentage() + { + return isset($this->actual_delivery_percentage) ? $this->actual_delivery_percentage : 0.0; + } + + public function hasActualDeliveryPercentage() + { + return isset($this->actual_delivery_percentage); + } + + public function clearActualDeliveryPercentage() + { + unset($this->actual_delivery_percentage); + } + + /** + * Output only. The actual delivery percentage of the LineItem. + * + * Generated from protobuf field optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setActualDeliveryPercentage($var) + { + GPBUtil::checkDouble($var); + $this->actual_delivery_percentage = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapability.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapability.php new file mode 100644 index 000000000000..20f9862b44c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapability.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.DeviceCapability + */ +class DeviceCapability extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `DeviceCapability`. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The localized name of the device capability. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `DeviceCapability`. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * @type string $display_name + * Output only. The localized name of the device capability. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCapabilityMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `DeviceCapability`. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `DeviceCapability`. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The localized name of the device capability. + * + * Generated from protobuf field optional string display_name = 2 [(.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 localized name of the device capability. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapabilityTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapabilityTargeting.php new file mode 100644 index 000000000000..e71866bbcdd0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCapabilityTargeting.php @@ -0,0 +1,113 @@ +google.ads.admanager.v1.DeviceCapabilityTargeting + */ +class DeviceCapabilityTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of device capability resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_capabilities = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_capabilities; + /** + * Optional. A list of device capability resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_capabilities = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_capabilities; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_capabilities + * Optional. A list of device capability resource names that should be + * targeted/included. + * @type string[] $excluded_capabilities + * Optional. A list of device capability resource names that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of device capability resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_capabilities = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedCapabilities() + { + return $this->targeted_capabilities; + } + + /** + * Optional. A list of device capability resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_capabilities = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedCapabilities($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_capabilities = $arr; + + return $this; + } + + /** + * Optional. A list of device capability resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_capabilities = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedCapabilities() + { + return $this->excluded_capabilities; + } + + /** + * Optional. A list of device capability resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_capabilities = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedCapabilities($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_capabilities = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategory.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategory.php new file mode 100644 index 000000000000..c85f6ec34162 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategory.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.DeviceCategory + */ +class DeviceCategory extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `DeviceCategory`. + * Format: `networks/{network_code}/deviceCategories/{device_category}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The display name of the device category. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `DeviceCategory`. + * Format: `networks/{network_code}/deviceCategories/{device_category}` + * @type string $display_name + * Output only. The display name of the device category. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCategoryMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `DeviceCategory`. + * Format: `networks/{network_code}/deviceCategories/{device_category}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `DeviceCategory`. + * Format: `networks/{network_code}/deviceCategories/{device_category}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The display name of the device category. + * + * Generated from protobuf field optional string display_name = 2 [(.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 device category. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategoryTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategoryTargeting.php new file mode 100644 index 000000000000..853ed93fbbcc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceCategoryTargeting.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.DeviceCategoryTargeting + */ +class DeviceCategoryTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of device category resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_categories; + /** + * Optional. A list of device category resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_categories; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_categories + * Optional. A list of device category resource names that should be + * targeted/included. + * @type string[] $excluded_categories + * Optional. A list of device category resource names that should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of device category resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedCategories() + { + return $this->targeted_categories; + } + + /** + * Optional. A list of device category resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedCategories($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_categories = $arr; + + return $this; + } + + /** + * Optional. A list of device category resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedCategories() + { + return $this->excluded_categories; + } + + /** + * Optional. A list of device category resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedCategories($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_categories = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturer.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturer.php new file mode 100644 index 000000000000..4d3d9480ec0b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturer.php @@ -0,0 +1,119 @@ +google.ads.admanager.v1.DeviceManufacturer + */ +class DeviceManufacturer extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `DeviceManufacturer`. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The localized name of the device manufacturer. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `DeviceManufacturer`. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * @type string $display_name + * Output only. The localized name of the device manufacturer. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceManufacturerMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `DeviceManufacturer`. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `DeviceManufacturer`. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The localized name of the device manufacturer. + * + * Generated from protobuf field optional string display_name = 2 [(.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 localized name of the device manufacturer. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturerTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturerTargeting.php new file mode 100644 index 000000000000..093c6b63230e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DeviceManufacturerTargeting.php @@ -0,0 +1,261 @@ + + * Device manufacturer"). + * + * Generated from protobuf message google.ads.admanager.v1.DeviceManufacturerTargeting + */ +class DeviceManufacturerTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of device manufacturer resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_device_manufacturers; + /** + * Optional. A list of device manufacturer resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_device_manufacturers; + /** + * Optional. A list of mobile device resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_mobile_devices; + /** + * Optional. A list of mobile device resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_mobile_devices; + /** + * Optional. A list of mobile device submodel resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_mobile_device_submodels; + /** + * Optional. A list of mobile device submodel resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_mobile_device_submodels; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_device_manufacturers + * Optional. A list of device manufacturer resource names that should be + * targeted/included. + * @type string[] $excluded_device_manufacturers + * Optional. A list of device manufacturer resource names that should be + * excluded. + * @type string[] $targeted_mobile_devices + * Optional. A list of mobile device resource names that should be + * targeted/included. + * @type string[] $excluded_mobile_devices + * Optional. A list of mobile device resource names that should be excluded. + * @type string[] $targeted_mobile_device_submodels + * Optional. A list of mobile device submodel resource names that should be + * targeted/included. + * @type string[] $excluded_mobile_device_submodels + * Optional. A list of mobile device submodel resource names that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of device manufacturer resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedDeviceManufacturers() + { + return $this->targeted_device_manufacturers; + } + + /** + * Optional. A list of device manufacturer resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedDeviceManufacturers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_device_manufacturers = $arr; + + return $this; + } + + /** + * Optional. A list of device manufacturer resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedDeviceManufacturers() + { + return $this->excluded_device_manufacturers; + } + + /** + * Optional. A list of device manufacturer resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedDeviceManufacturers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_device_manufacturers = $arr; + + return $this; + } + + /** + * Optional. A list of mobile device resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedMobileDevices() + { + return $this->targeted_mobile_devices; + } + + /** + * Optional. A list of mobile device resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedMobileDevices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_mobile_devices = $arr; + + return $this; + } + + /** + * Optional. A list of mobile device resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedMobileDevices() + { + return $this->excluded_mobile_devices; + } + + /** + * Optional. A list of mobile device resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedMobileDevices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_mobile_devices = $arr; + + return $this; + } + + /** + * Optional. A list of mobile device submodel resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedMobileDeviceSubmodels() + { + return $this->targeted_mobile_device_submodels; + } + + /** + * Optional. A list of mobile device submodel resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedMobileDeviceSubmodels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_mobile_device_submodels = $arr; + + return $this; + } + + /** + * Optional. A list of mobile device submodel resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedMobileDeviceSubmodels() + { + return $this->excluded_mobile_device_submodels; + } + + /** + * Optional. A list of mobile device submodel resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedMobileDeviceSubmodels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_mobile_device_submodels = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DisapprovalReason.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DisapprovalReason.php new file mode 100644 index 000000000000..d1a6fb8eb27d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DisapprovalReason.php @@ -0,0 +1,121 @@ +google.ads.admanager.v1.DisapprovalReason + */ +class DisapprovalReason extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The type of policy violation found for the Site. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $type = null; + /** + * Output only. Additional details for the disapproval of the Site. + * + * Generated from protobuf field optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $details = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $type + * Output only. The type of policy violation found for the Site. + * @type string $details + * Output only. Additional details for the disapproval of the Site. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteMessages::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The type of policy violation found for the Site. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getType() + { + return isset($this->type) ? $this->type : 0; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Output only. The type of policy violation found for the Site. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SiteDisapprovalReasonEnum\SiteDisapprovalReason::class); + $this->type = $var; + + return $this; + } + + /** + * Output only. Additional details for the disapproval of the Site. + * + * Generated from protobuf field optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDetails() + { + return isset($this->details) ? $this->details : ''; + } + + public function hasDetails() + { + return isset($this->details); + } + + public function clearDetails() + { + unset($this->details); + } + + /** + * Output only. Additional details for the disapproval of the Site. + * + * Generated from protobuf field optional string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setDetails($var) + { + GPBUtil::checkString($var, True); + $this->details = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum.php new file mode 100644 index 000000000000..4ddd974b81a0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DiscountTypeEnum + */ +class DiscountTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DiscountTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum/DiscountType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum/DiscountType.php new file mode 100644 index 000000000000..37b6aa75c67f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DiscountTypeEnum/DiscountType.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.DiscountTypeEnum.DiscountType + */ +class DiscountType +{ + /** + * No value specified + * + * Generated from protobuf enum DISCOUNT_TYPE_UNSPECIFIED = 0; + */ + const DISCOUNT_TYPE_UNSPECIFIED = 0; + /** + * An absolute value will be discounted from the line item's cost. + * + * Generated from protobuf enum ABSOLUTE_VALUE = 1; + */ + const ABSOLUTE_VALUE = 1; + /** + * A percentage of the cost will be discounted for booking the line item. + * + * Generated from protobuf enum PERCENTAGE = 2; + */ + const PERCENTAGE = 2; + + private static $valueToName = [ + self::DISCOUNT_TYPE_UNSPECIFIED => 'DISCOUNT_TYPE_UNSPECIFIED', + self::ABSOLUTE_VALUE => 'ABSOLUTE_VALUE', + self::PERCENTAGE => 'PERCENTAGE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum.php new file mode 100644 index 000000000000..bd81dfd3edd1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.DynamicAdInsertionTypeEnum + */ +class DynamicAdInsertionTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum/DynamicAdInsertionType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum/DynamicAdInsertionType.php new file mode 100644 index 000000000000..6c047c30279a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/DynamicAdInsertionTypeEnum/DynamicAdInsertionType.php @@ -0,0 +1,73 @@ +google.ads.admanager.v1.DynamicAdInsertionTypeEnum.DynamicAdInsertionType + */ +class DynamicAdInsertionType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum DYNAMIC_AD_INSERTION_TYPE_UNSPECIFIED = 0; + */ + const DYNAMIC_AD_INSERTION_TYPE_UNSPECIFIED = 0; + /** + * Content manifest is served by Google DAI. Content and ads are stitched + * together into a unique video manifest per user. + * + * Generated from protobuf enum LINEAR = 1; + */ + const LINEAR = 1; + /** + * Ads manifest is served by Google DAI, containing unique ad pod segments + * for the video player to switch to from the content stream, or for the + * partner to stitch directly into the user content manifest. + * + * Generated from protobuf enum POD_SERVING_MANIFEST = 2; + */ + const POD_SERVING_MANIFEST = 2; + /** + * Content manifest is served by the partner, embedding Google DAI ad + * segment URLs which redirect to unique Google DAI ad segments per user. + * + * Generated from protobuf enum POD_SERVING_REDIRECT = 3; + */ + const POD_SERVING_REDIRECT = 3; + + private static $valueToName = [ + self::DYNAMIC_AD_INSERTION_TYPE_UNSPECIFIED => 'DYNAMIC_AD_INSERTION_TYPE_UNSPECIFIED', + self::LINEAR => 'LINEAR', + self::POD_SERVING_MANIFEST => 'POD_SERVING_MANIFEST', + self::POD_SERVING_REDIRECT => 'POD_SERVING_REDIRECT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EarningsProductBreakdown.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EarningsProductBreakdown.php new file mode 100644 index 000000000000..a4b742563494 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EarningsProductBreakdown.php @@ -0,0 +1,262 @@ +google.ads.admanager.v1.EarningsProductBreakdown + */ +class EarningsProductBreakdown extends \Google\Protobuf\Internal\Message +{ + /** + * The syndication product type of the child's earnings in MCM. + * + * Generated from protobuf field optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1; + */ + protected $product_type = null; + /** + * The total earnings for the specified product type for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 2; + */ + protected $total_earnings = null; + /** + * The portion of the total earnings for the specified product type paid to + * the parent publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 3; + */ + protected $parent_payment = null; + /** + * The portion of the total earnings for the specified product type paid to + * the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 4; + */ + protected $child_payment = null; + /** + * The deductions for the specified product type for the month due to spam. + * + * Generated from protobuf field optional .google.type.Money deductions = 5; + */ + protected $deductions = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $product_type + * The syndication product type of the child's earnings in MCM. + * @type \Google\Type\Money $total_earnings + * The total earnings for the specified product type for the month. + * @type \Google\Type\Money $parent_payment + * The portion of the total earnings for the specified product type paid to + * the parent publisher. + * @type \Google\Type\Money $child_payment + * The portion of the total earnings for the specified product type paid to + * the child publisher. + * @type \Google\Type\Money $deductions + * The deductions for the specified product type for the month due to spam. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEarningsMessages::initOnce(); + parent::__construct($data); + } + + /** + * The syndication product type of the child's earnings in MCM. + * + * Generated from protobuf field optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1; + * @return int + */ + public function getProductType() + { + return isset($this->product_type) ? $this->product_type : 0; + } + + public function hasProductType() + { + return isset($this->product_type); + } + + public function clearProductType() + { + unset($this->product_type); + } + + /** + * The syndication product type of the child's earnings in MCM. + * + * Generated from protobuf field optional .google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType product_type = 1; + * @param int $var + * @return $this + */ + public function setProductType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\McmEarningsProductTypeEnum\McmEarningsProductType::class); + $this->product_type = $var; + + return $this; + } + + /** + * The total earnings for the specified product type for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 2; + * @return \Google\Type\Money|null + */ + public function getTotalEarnings() + { + return $this->total_earnings; + } + + public function hasTotalEarnings() + { + return isset($this->total_earnings); + } + + public function clearTotalEarnings() + { + unset($this->total_earnings); + } + + /** + * The total earnings for the specified product type for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 2; + * @param \Google\Type\Money $var + * @return $this + */ + public function setTotalEarnings($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->total_earnings = $var; + + return $this; + } + + /** + * The portion of the total earnings for the specified product type paid to + * the parent publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 3; + * @return \Google\Type\Money|null + */ + public function getParentPayment() + { + return $this->parent_payment; + } + + public function hasParentPayment() + { + return isset($this->parent_payment); + } + + public function clearParentPayment() + { + unset($this->parent_payment); + } + + /** + * The portion of the total earnings for the specified product type paid to + * the parent publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 3; + * @param \Google\Type\Money $var + * @return $this + */ + public function setParentPayment($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->parent_payment = $var; + + return $this; + } + + /** + * The portion of the total earnings for the specified product type paid to + * the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 4; + * @return \Google\Type\Money|null + */ + public function getChildPayment() + { + return $this->child_payment; + } + + public function hasChildPayment() + { + return isset($this->child_payment); + } + + public function clearChildPayment() + { + unset($this->child_payment); + } + + /** + * The portion of the total earnings for the specified product type paid to + * the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 4; + * @param \Google\Type\Money $var + * @return $this + */ + public function setChildPayment($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->child_payment = $var; + + return $this; + } + + /** + * The deductions for the specified product type for the month due to spam. + * + * Generated from protobuf field optional .google.type.Money deductions = 5; + * @return \Google\Type\Money|null + */ + public function getDeductions() + { + return $this->deductions; + } + + public function hasDeductions() + { + return isset($this->deductions); + } + + public function clearDeductions() + { + unset($this->deductions); + } + + /** + * The deductions for the specified product type for the month due to spam. + * + * Generated from protobuf field optional .google.type.Money deductions = 5; + * @param \Google\Type\Money $var + * @return $this + */ + public function setDeductions($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->deductions = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EntitySignalsMapping.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EntitySignalsMapping.php new file mode 100644 index 000000000000..7b7a8f1c79db --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EntitySignalsMapping.php @@ -0,0 +1,276 @@ +google.ads.admanager.v1.EntitySignalsMapping + */ +class EntitySignalsMapping extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `EntitySignalsMapping`. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `EntitySignalsMapping` ID. + * + * Generated from protobuf field optional int64 entity_signals_mapping_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $entity_signals_mapping_id = null; + /** + * Optional. The IDs of the categories that are associated with the + * referencing entity. + * + * Generated from protobuf field repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $taxonomy_category_ids; + protected $entity; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $audience_segment_id + * ID of an AudienceSegment that this mapping belongs to. + * @type int|string $content_bundle_id + * ID of a ContentBundle that this mapping belongs to. + * @type int|string $custom_targeting_value_id + * ID of a CustomValue that this mapping belongs to. + * @type string $name + * Identifier. The resource name of the `EntitySignalsMapping`. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * @type int|string $entity_signals_mapping_id + * Output only. Deprecated: `EntitySignalsMapping` ID. + * @type int[]|string[] $taxonomy_category_ids + * Optional. The IDs of the categories that are associated with the + * referencing entity. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingMessages::initOnce(); + parent::__construct($data); + } + + /** + * ID of an AudienceSegment that this mapping belongs to. + * + * Generated from protobuf field int64 audience_segment_id = 3; + * @return int|string + */ + public function getAudienceSegmentId() + { + return $this->readOneof(3); + } + + public function hasAudienceSegmentId() + { + return $this->hasOneof(3); + } + + /** + * ID of an AudienceSegment that this mapping belongs to. + * + * Generated from protobuf field int64 audience_segment_id = 3; + * @param int|string $var + * @return $this + */ + public function setAudienceSegmentId($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * ID of a ContentBundle that this mapping belongs to. + * + * Generated from protobuf field int64 content_bundle_id = 4; + * @return int|string + */ + public function getContentBundleId() + { + return $this->readOneof(4); + } + + public function hasContentBundleId() + { + return $this->hasOneof(4); + } + + /** + * ID of a ContentBundle that this mapping belongs to. + * + * Generated from protobuf field int64 content_bundle_id = 4; + * @param int|string $var + * @return $this + */ + public function setContentBundleId($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * ID of a CustomValue that this mapping belongs to. + * + * Generated from protobuf field int64 custom_targeting_value_id = 5; + * @return int|string + */ + public function getCustomTargetingValueId() + { + return $this->readOneof(5); + } + + public function hasCustomTargetingValueId() + { + return $this->hasOneof(5); + } + + /** + * ID of a CustomValue that this mapping belongs to. + * + * Generated from protobuf field int64 custom_targeting_value_id = 5; + * @param int|string $var + * @return $this + */ + public function setCustomTargetingValueId($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Identifier. The resource name of the `EntitySignalsMapping`. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `EntitySignalsMapping`. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `EntitySignalsMapping` ID. + * + * Generated from protobuf field optional int64 entity_signals_mapping_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getEntitySignalsMappingId() + { + if (isset($this->entity_signals_mapping_id)) { + @trigger_error('entity_signals_mapping_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->entity_signals_mapping_id) ? $this->entity_signals_mapping_id : 0; + } + + public function hasEntitySignalsMappingId() + { + if (isset($this->entity_signals_mapping_id)) { + @trigger_error('entity_signals_mapping_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->entity_signals_mapping_id); + } + + public function clearEntitySignalsMappingId() + { + @trigger_error('entity_signals_mapping_id is deprecated.', E_USER_DEPRECATED); + unset($this->entity_signals_mapping_id); + } + + /** + * Output only. Deprecated: `EntitySignalsMapping` ID. + * + * Generated from protobuf field optional int64 entity_signals_mapping_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setEntitySignalsMappingId($var) + { + @trigger_error('entity_signals_mapping_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->entity_signals_mapping_id = $var; + + return $this; + } + + /** + * Optional. The IDs of the categories that are associated with the + * referencing entity. + * + * Generated from protobuf field repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getTaxonomyCategoryIds() + { + return $this->taxonomy_category_ids; + } + + /** + * Optional. The IDs of the categories that are associated with the + * referencing entity. + * + * Generated from protobuf field repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setTaxonomyCategoryIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->taxonomy_category_ids = $arr; + + return $this; + } + + /** + * @return string + */ + public function getEntity() + { + return $this->whichOneof("entity"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum.php new file mode 100644 index 000000000000..81ed2d563877 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.EnvironmentTypeEnum + */ +class EnvironmentTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EnvironmentTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum/EnvironmentType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum/EnvironmentType.php new file mode 100644 index 000000000000..c29062a50ba1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/EnvironmentTypeEnum/EnvironmentType.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType + */ +class EnvironmentType +{ + /** + * No value specified + * + * Generated from protobuf enum ENVIRONMENT_TYPE_UNSPECIFIED = 0; + */ + const ENVIRONMENT_TYPE_UNSPECIFIED = 0; + /** + * A regular web browser. + * + * Generated from protobuf enum BROWSER = 1; + */ + const BROWSER = 1; + /** + * Video players. + * + * Generated from protobuf enum VIDEO_PLAYER = 2; + */ + const VIDEO_PLAYER = 2; + + private static $valueToName = [ + self::ENVIRONMENT_TYPE_UNSPECIFIED => 'ENVIRONMENT_TYPE_UNSPECIFIED', + self::BROWSER => 'BROWSER', + self::VIDEO_PLAYER => 'VIDEO_PLAYER', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum.php new file mode 100644 index 000000000000..3431fd566544 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ExchangeSyndicationProductEnum + */ +class ExchangeSyndicationProductEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ExchangeSyndicationProductEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum/ExchangeSyndicationProduct.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum/ExchangeSyndicationProduct.php new file mode 100644 index 000000000000..acb0aa8361ad --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExchangeSyndicationProductEnum/ExchangeSyndicationProduct.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct + */ +class ExchangeSyndicationProduct +{ + /** + * No value specified + * + * Generated from protobuf enum EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED = 0; + */ + const EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED = 0; + /** + * Property serves in-browser. + * + * Generated from protobuf enum DISPLAY = 1; + */ + const DISPLAY = 1; + /** + * Property serves on mobile applications (includes JS and SDK). + * + * Generated from protobuf enum MOBILE_APP = 2; + */ + const MOBILE_APP = 2; + /** + * Property serves video (includes audio). + * + * Generated from protobuf enum VIDEO_AND_AUDIO = 3; + */ + const VIDEO_AND_AUDIO = 3; + /** + * Property serves for games. + * + * Generated from protobuf enum GAMES = 4; + */ + const GAMES = 4; + + private static $valueToName = [ + self::EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED => 'EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED', + self::DISPLAY => 'DISPLAY', + self::MOBILE_APP => 'MOBILE_APP', + self::VIDEO_AND_AUDIO => 'VIDEO_AND_AUDIO', + self::GAMES => 'GAMES', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum.php new file mode 100644 index 000000000000..e32057ec0bfa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ExclusionScopeEnum + */ +class ExclusionScopeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ExclusionScopeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum/ExclusionScope.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum/ExclusionScope.php new file mode 100644 index 000000000000..00fb4fad080c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ExclusionScopeEnum/ExclusionScope.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.ExclusionScopeEnum.ExclusionScope + */ +class ExclusionScope +{ + /** + * No value specified. + * + * Generated from protobuf enum EXCLUSION_SCOPE_UNSPECIFIED = 0; + */ + const EXCLUSION_SCOPE_UNSPECIFIED = 0; + /** + * The exclusion label applies to the entire page. + * + * Generated from protobuf enum PAGE = 1; + */ + const PAGE = 1; + /** + * The exclusion label applies to the entire stream of content. + * + * Generated from protobuf enum STREAM = 2; + */ + const STREAM = 2; + /** + * The exclusion label applies to the entire pod (or group). + * + * Generated from protobuf enum POD = 3; + */ + const POD = 3; + + private static $valueToName = [ + self::EXCLUSION_SCOPE_UNSPECIFIED => 'EXCLUSION_SCOPE_UNSPECIFIED', + self::PAGE => 'PAGE', + self::STREAM => 'STREAM', + self::POD => 'POD', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsRequest.php new file mode 100644 index 000000000000..923faedf3edb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsRequest.php @@ -0,0 +1,344 @@ +google.ads.admanager.v1.FetchMcmEarningsRequest + */ +class FetchMcmEarningsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of McmEarnings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `McmEarnings` to return. The service may + * return fewer than this value. If unspecified, at most 50 `McmEarnings` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `FetchMcmEarnings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `FetchMcmEarnings` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + /** + * Required. The month to fetch earnings for. The date will be specified as + * the first of the month. + * + * Generated from protobuf field .google.type.Date month = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $month = null; + + /** + * @param string $parent Required. The parent, which owns this collection of McmEarnings. + * Format: `networks/{network_code}` + * Please see {@see McmEarningsServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\FetchMcmEarningsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of McmEarnings. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `McmEarnings` to return. The service may + * return fewer than this value. If unspecified, at most 50 `McmEarnings` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `FetchMcmEarnings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `FetchMcmEarnings` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * @type \Google\Type\Date $month + * Required. The month to fetch earnings for. The date will be specified as + * the first of the month. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEarningsService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of McmEarnings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of McmEarnings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `McmEarnings` to return. The service may + * return fewer than this value. If unspecified, at most 50 `McmEarnings` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `McmEarnings` to return. The service may + * return fewer than this value. If unspecified, at most 50 `McmEarnings` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `FetchMcmEarnings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `FetchMcmEarnings` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `FetchMcmEarnings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `FetchMcmEarnings` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + + /** + * Required. The month to fetch earnings for. The date will be specified as + * the first of the month. + * + * Generated from protobuf field .google.type.Date month = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Date|null + */ + public function getMonth() + { + return $this->month; + } + + public function hasMonth() + { + return isset($this->month); + } + + public function clearMonth() + { + unset($this->month); + } + + /** + * Required. The month to fetch earnings for. The date will be specified as + * the first of the month. + * + * Generated from protobuf field .google.type.Date month = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setMonth($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->month = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsResponse.php new file mode 100644 index 000000000000..b6cb7f699482 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchMcmEarningsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.FetchMcmEarningsResponse + */ +class FetchMcmEarningsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `McmEarnings` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1; + */ + private $mcm_earnings; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `McmEarnings` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\McmEarnings[] $mcm_earnings + * The `McmEarnings` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `McmEarnings` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEarningsService::initOnce(); + parent::__construct($data); + } + + /** + * The `McmEarnings` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\McmEarnings> + */ + public function getMcmEarnings() + { + return $this->mcm_earnings; + } + + /** + * The `McmEarnings` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.McmEarnings mcm_earnings = 1; + * @param \Google\Ads\AdManager\V1\McmEarnings[] $var + * @return $this + */ + public function setMcmEarnings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\McmEarnings::class); + $this->mcm_earnings = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `McmEarnings` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `McmEarnings` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsRequest.php new file mode 100644 index 000000000000..f63c18c673c4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsRequest.php @@ -0,0 +1,174 @@ +google.ads.admanager.v1.FetchReportResultRowsRequest + */ +class FetchReportResultRowsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The report result being fetched. + * Format: + * `networks/{network_code}/reports/{report_id}/results/{report_result_id}` + * + * Generated from protobuf field string name = 1; + */ + protected $name = ''; + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 1,000 rows will be returned. + * The maximum value is 10,000; values greater than 10,000 will be reduced to + * 10,000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `FetchReportResultRows` + * call. Provide this to retrieve the second and subsequent batches of rows. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $name The report result being fetched. + * Format: + * `networks/{network_code}/reports/{report_id}/results/{report_result_id}` + * + * @return \Google\Ads\AdManager\V1\FetchReportResultRowsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * The report result being fetched. + * Format: + * `networks/{network_code}/reports/{report_id}/results/{report_result_id}` + * @type int $page_size + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 1,000 rows will be returned. + * The maximum value is 10,000; values greater than 10,000 will be reduced to + * 10,000. + * @type string $page_token + * Optional. A page token, received from a previous `FetchReportResultRows` + * call. Provide this to retrieve the second and subsequent batches of rows. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * The report result being fetched. + * Format: + * `networks/{network_code}/reports/{report_id}/results/{report_result_id}` + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The report result being fetched. + * Format: + * `networks/{network_code}/reports/{report_id}/results/{report_result_id}` + * + * 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; + } + + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 1,000 rows will be returned. + * The maximum value is 10,000; values greater than 10,000 will be reduced to + * 10,000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of rows to return. The service may return + * fewer than this value. If unspecified, at most 1,000 rows will be returned. + * The maximum value is 10,000; values greater than 10,000 will be reduced to + * 10,000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `FetchReportResultRows` + * call. Provide this to retrieve the second and subsequent batches of rows. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `FetchReportResultRows` + * call. Provide this to retrieve the second and subsequent batches of rows. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsResponse.php new file mode 100644 index 000000000000..323e5348bddb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FetchReportResultRowsResponse.php @@ -0,0 +1,283 @@ +google.ads.admanager.v1.FetchReportResultRowsResponse + */ +class FetchReportResultRowsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Up to `page_size` rows of report data. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.Row rows = 1; + */ + private $rows; + /** + * The time at which the report was scheduled to run. For non-scheduled + * reports, this is the time at which the report was requested to be run. + * + * Generated from protobuf field .google.protobuf.Timestamp run_time = 2; + */ + protected $run_time = null; + /** + * The computed fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange date_ranges = 3; + */ + private $date_ranges; + /** + * The computed comparison fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange comparison_date_ranges = 4; + */ + private $comparison_date_ranges; + /** + * The total number of rows available from this report. Useful for + * pagination. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field int32 total_row_count = 5; + */ + protected $total_row_count = 0; + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 6; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDataTable\Row[] $rows + * Up to `page_size` rows of report data. + * @type \Google\Protobuf\Timestamp $run_time + * The time at which the report was scheduled to run. For non-scheduled + * reports, this is the time at which the report was requested to be run. + * @type \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange[] $date_ranges + * The computed fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * @type \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange[] $comparison_date_ranges + * The computed comparison fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * @type int $total_row_count + * The total number of rows available from this report. Useful for + * pagination. + * Only returned with the first page of results (when page_token is not + * included in the request). + * @type string $next_page_token + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Up to `page_size` rows of report data. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.Row rows = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDataTable\Row> + */ + public function getRows() + { + return $this->rows; + } + + /** + * Up to `page_size` rows of report data. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.Row rows = 1; + * @param \Google\Ads\AdManager\V1\ReportDataTable\Row[] $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDataTable\Row::class); + $this->rows = $arr; + + return $this; + } + + /** + * The time at which the report was scheduled to run. For non-scheduled + * reports, this is the time at which the report was requested to be run. + * + * Generated from protobuf field .google.protobuf.Timestamp run_time = 2; + * @return \Google\Protobuf\Timestamp|null + */ + public function getRunTime() + { + return $this->run_time; + } + + public function hasRunTime() + { + return isset($this->run_time); + } + + public function clearRunTime() + { + unset($this->run_time); + } + + /** + * The time at which the report was scheduled to run. For non-scheduled + * reports, this is the time at which the report was requested to be run. + * + * Generated from protobuf field .google.protobuf.Timestamp run_time = 2; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setRunTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->run_time = $var; + + return $this; + } + + /** + * The computed fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange date_ranges = 3; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange> + */ + public function getDateRanges() + { + return $this->date_ranges; + } + + /** + * The computed fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange date_ranges = 3; + * @param \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange[] $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange::class); + $this->date_ranges = $arr; + + return $this; + } + + /** + * The computed comparison fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange comparison_date_ranges = 4; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange> + */ + public function getComparisonDateRanges() + { + return $this->comparison_date_ranges; + } + + /** + * The computed comparison fixed date ranges this report includes. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange comparison_date_ranges = 4; + * @param \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange[] $var + * @return $this + */ + public function setComparisonDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange::class); + $this->comparison_date_ranges = $arr; + + return $this; + } + + /** + * The total number of rows available from this report. Useful for + * pagination. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field int32 total_row_count = 5; + * @return int + */ + public function getTotalRowCount() + { + return $this->total_row_count; + } + + /** + * The total number of rows available from this report. Useful for + * pagination. + * Only returned with the first page of results (when page_token is not + * included in the request). + * + * Generated from protobuf field int32 total_row_count = 5; + * @param int $var + * @return $this + */ + public function setTotalRowCount($var) + { + GPBUtil::checkInt32($var); + $this->total_row_count = $var; + + return $this; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 6; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 6; + * @param string $var + * @return $this + */ + public function setNextPageToken($var) + { + GPBUtil::checkString($var, True); + $this->next_page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FirstPartyMobileApplicationTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FirstPartyMobileApplicationTargeting.php new file mode 100644 index 000000000000..c780bf9a633b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FirstPartyMobileApplicationTargeting.php @@ -0,0 +1,109 @@ +google.ads.admanager.v1.FirstPartyMobileApplicationTargeting + */ +class FirstPartyMobileApplicationTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The resource names of the first-party applications that should be + * targeted. + * + * Generated from protobuf field repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_applications; + /** + * Optional. The resource names of the first-party applications that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_applications; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_applications + * Optional. The resource names of the first-party applications that should be + * targeted. + * @type string[] $excluded_applications + * Optional. The resource names of the first-party applications that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The resource names of the first-party applications that should be + * targeted. + * + * Generated from protobuf field repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedApplications() + { + return $this->targeted_applications; + } + + /** + * Optional. The resource names of the first-party applications that should be + * targeted. + * + * Generated from protobuf field repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedApplications($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_applications = $arr; + + return $this; + } + + /** + * Optional. The resource names of the first-party applications that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedApplications() + { + return $this->excluded_applications; + } + + /** + * Optional. The resource names of the first-party applications that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedApplications($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_applications = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FrequencyCap.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FrequencyCap.php new file mode 100644 index 000000000000..0e276eabb960 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/FrequencyCap.php @@ -0,0 +1,165 @@ +google.ads.admanager.v1.FrequencyCap + */ +class FrequencyCap extends \Google\Protobuf\Internal\Message +{ + /** + * The maximum number of impressions for this frequency cap. + * + * Generated from protobuf field optional int64 max_impressions = 1; + */ + protected $max_impressions = null; + /** + * The number of time units over which the frequency cap is effective. + * + * Generated from protobuf field optional int64 time_amount = 2; + */ + protected $time_amount = null; + /** + * The units of time of this frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3; + */ + protected $time_unit = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $max_impressions + * The maximum number of impressions for this frequency cap. + * @type int|string $time_amount + * The number of time units over which the frequency cap is effective. + * @type int $time_unit + * The units of time of this frequency cap. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\FrequencyCap::initOnce(); + parent::__construct($data); + } + + /** + * The maximum number of impressions for this frequency cap. + * + * Generated from protobuf field optional int64 max_impressions = 1; + * @return int|string + */ + public function getMaxImpressions() + { + return isset($this->max_impressions) ? $this->max_impressions : 0; + } + + public function hasMaxImpressions() + { + return isset($this->max_impressions); + } + + public function clearMaxImpressions() + { + unset($this->max_impressions); + } + + /** + * The maximum number of impressions for this frequency cap. + * + * Generated from protobuf field optional int64 max_impressions = 1; + * @param int|string $var + * @return $this + */ + public function setMaxImpressions($var) + { + GPBUtil::checkInt64($var); + $this->max_impressions = $var; + + return $this; + } + + /** + * The number of time units over which the frequency cap is effective. + * + * Generated from protobuf field optional int64 time_amount = 2; + * @return int|string + */ + public function getTimeAmount() + { + return isset($this->time_amount) ? $this->time_amount : 0; + } + + public function hasTimeAmount() + { + return isset($this->time_amount); + } + + public function clearTimeAmount() + { + unset($this->time_amount); + } + + /** + * The number of time units over which the frequency cap is effective. + * + * Generated from protobuf field optional int64 time_amount = 2; + * @param int|string $var + * @return $this + */ + public function setTimeAmount($var) + { + GPBUtil::checkInt64($var); + $this->time_amount = $var; + + return $this; + } + + /** + * The units of time of this frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3; + * @return int + */ + public function getTimeUnit() + { + return isset($this->time_unit) ? $this->time_unit : 0; + } + + public function hasTimeUnit() + { + return isset($this->time_unit); + } + + public function clearTimeUnit() + { + unset($this->time_unit); + } + + /** + * The units of time of this frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3; + * @param int $var + * @return $this + */ + public function setTimeUnit($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TimeUnitEnum\TimeUnit::class); + $this->time_unit = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTarget.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTarget.php new file mode 100644 index 000000000000..6ebf2956dc19 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTarget.php @@ -0,0 +1,345 @@ +google.ads.admanager.v1.GeoTarget + */ +class GeoTarget extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `GeoTarget`. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The display name of the GeoTarget. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The name of the direct parent that defines the canonical name + * of the geo target. For example, if the current geo target is "San + * Francisco", its canonical name would be "San Francisco, California, United + * States" thus the canonical_parent would be the name of California and the + * canonical_parent of California would be the name of United states Format: + * `networks/{network_code}/geoTargets/{geo_target}` + * + * Generated from protobuf field optional string canonical_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $canonical_parent = null; + /** + * Output only. All parents of the geo target ordered by ascending size. + * + * Generated from protobuf field repeated string parent_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $parent_names; + /** + * Output only. The Unicode CLDR region code of the geo target. + * + * Generated from protobuf field optional string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $region_code = null; + /** + * Output only. The location type (unlocalized) for this geographical entity. + * + * Generated from protobuf field optional string type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $type = null; + /** + * Output only. Whether the geo target is targetable. + * + * Generated from protobuf field optional bool targetable = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $targetable = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `GeoTarget`. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * @type string $display_name + * Output only. The display name of the GeoTarget. + * @type string $canonical_parent + * Output only. The name of the direct parent that defines the canonical name + * of the geo target. For example, if the current geo target is "San + * Francisco", its canonical name would be "San Francisco, California, United + * States" thus the canonical_parent would be the name of California and the + * canonical_parent of California would be the name of United states Format: + * `networks/{network_code}/geoTargets/{geo_target}` + * @type string[] $parent_names + * Output only. All parents of the geo target ordered by ascending size. + * @type string $region_code + * Output only. The Unicode CLDR region code of the geo target. + * @type string $type + * Output only. The location type (unlocalized) for this geographical entity. + * @type bool $targetable + * Output only. Whether the geo target is targetable. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GeoTargetMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `GeoTarget`. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `GeoTarget`. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The display name of the GeoTarget. + * + * Generated from protobuf field optional string display_name = 2 [(.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 GeoTarget. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The name of the direct parent that defines the canonical name + * of the geo target. For example, if the current geo target is "San + * Francisco", its canonical name would be "San Francisco, California, United + * States" thus the canonical_parent would be the name of California and the + * canonical_parent of California would be the name of United states Format: + * `networks/{network_code}/geoTargets/{geo_target}` + * + * Generated from protobuf field optional string canonical_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getCanonicalParent() + { + return isset($this->canonical_parent) ? $this->canonical_parent : ''; + } + + public function hasCanonicalParent() + { + return isset($this->canonical_parent); + } + + public function clearCanonicalParent() + { + unset($this->canonical_parent); + } + + /** + * Output only. The name of the direct parent that defines the canonical name + * of the geo target. For example, if the current geo target is "San + * Francisco", its canonical name would be "San Francisco, California, United + * States" thus the canonical_parent would be the name of California and the + * canonical_parent of California would be the name of United states Format: + * `networks/{network_code}/geoTargets/{geo_target}` + * + * Generated from protobuf field optional string canonical_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCanonicalParent($var) + { + GPBUtil::checkString($var, True); + $this->canonical_parent = $var; + + return $this; + } + + /** + * Output only. All parents of the geo target ordered by ascending size. + * + * Generated from protobuf field repeated string parent_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField + */ + public function getParentNames() + { + return $this->parent_names; + } + + /** + * Output only. All parents of the geo target ordered by ascending size. + * + * Generated from protobuf field repeated string parent_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string[] $var + * @return $this + */ + public function setParentNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->parent_names = $arr; + + return $this; + } + + /** + * Output only. The Unicode CLDR region code of the geo target. + * + * Generated from protobuf field optional string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getRegionCode() + { + return isset($this->region_code) ? $this->region_code : ''; + } + + public function hasRegionCode() + { + return isset($this->region_code); + } + + public function clearRegionCode() + { + unset($this->region_code); + } + + /** + * Output only. The Unicode CLDR region code of the geo target. + * + * Generated from protobuf field optional string region_code = 5 [(.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. The location type (unlocalized) for this geographical entity. + * + * Generated from protobuf field optional string type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getType() + { + return isset($this->type) ? $this->type : ''; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Output only. The location type (unlocalized) for this geographical entity. + * + * Generated from protobuf field optional string type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkString($var, True); + $this->type = $var; + + return $this; + } + + /** + * Output only. Whether the geo target is targetable. + * + * Generated from protobuf field optional bool targetable = 7 [(.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 geo target is targetable. + * + * Generated from protobuf field optional bool targetable = 7 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTargeting.php new file mode 100644 index 000000000000..032abe1f76f3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GeoTargeting.php @@ -0,0 +1,101 @@ +google.ads.admanager.v1.GeoTargeting + */ +class GeoTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of geo resource names that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_geos = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_geos; + /** + * Optional. A list of geo resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_geos = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_geos; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_geos + * Optional. A list of geo resource names that should be targeted/included. + * @type string[] $excluded_geos + * Optional. A list of geo resource names that should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of geo resource names that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_geos = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedGeos() + { + return $this->targeted_geos; + } + + /** + * Optional. A list of geo resource names that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_geos = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedGeos($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_geos = $arr; + + return $this; + } + + /** + * Optional. A list of geo resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_geos = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedGeos() + { + return $this->excluded_geos; + } + + /** + * Optional. A list of geo resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_geos = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedGeos($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_geos = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdBreakRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdBreakRequest.php new file mode 100644 index 000000000000..dfe817b68833 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdBreakRequest.php @@ -0,0 +1,102 @@ +google.ads.admanager.v1.GetAdBreakRequest + */ +class GetAdBreakRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AdBreak using the asset key or custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the AdBreak using the asset key or custom + * asset key. + * + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}` + * Please see {@see AdBreakServiceClient::adBreakName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetAdBreakRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the AdBreak using the asset key or custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AdBreak using the asset key or custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the AdBreak using the asset key or custom + * asset key. + * Format: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdRuleRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdRuleRequest.php new file mode 100644 index 000000000000..6ab0a4229135 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdRuleRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetAdRuleRequest + */ +class GetAdRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AdRule. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the AdRule. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * Please see {@see AdRuleServiceClient::adRuleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetAdRuleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the AdRule. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AdRule. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the AdRule. + * Format: `networks/{network_code}/adRules/{ad_rule_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdSpotRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdSpotRequest.php new file mode 100644 index 000000000000..1173512aee61 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdSpotRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetAdSpotRequest + */ +class GetAdSpotRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AdSpot. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the AdSpot. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * Please see {@see AdSpotServiceClient::adSpotName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetAdSpotRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the AdSpot. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AdSpot. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the AdSpot. + * Format: `networks/{network_code}/adSpots/{ad_spot_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdUnitRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdUnitRequest.php new file mode 100644 index 000000000000..a5c9b306b4cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAdUnitRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetAdUnitRequest + */ +class GetAdUnitRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * Please see {@see AdUnitServiceClient::adUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetAdUnitRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the AdUnit. + * Format: `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetApplicationRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetApplicationRequest.php new file mode 100644 index 000000000000..490be562566e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetApplicationRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetApplicationRequest + */ +class GetApplicationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Application. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Application. + * Format: `networks/{network_code}/applications/{application_id}` + * Please see {@see ApplicationServiceClient::applicationName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetApplicationRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Application. + * Format: `networks/{network_code}/applications/{application_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Application. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Application. + * Format: `networks/{network_code}/applications/{application_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAudienceSegmentRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAudienceSegmentRequest.php new file mode 100644 index 000000000000..bfb0a6facc6f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetAudienceSegmentRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetAudienceSegmentRequest + */ +class GetAudienceSegmentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AudienceSegment. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the AudienceSegment. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * Please see {@see AudienceSegmentServiceClient::audienceSegmentName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetAudienceSegmentRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the AudienceSegment. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AudienceSegmentService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AudienceSegment. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the AudienceSegment. + * Format: `networks/{network_code}/audienceSegments/{audience_segment_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBandwidthGroupRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBandwidthGroupRequest.php new file mode 100644 index 000000000000..84845e602d90 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBandwidthGroupRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetBandwidthGroupRequest + */ +class GetBandwidthGroupRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the BandwidthGroup. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the BandwidthGroup. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * Please see {@see BandwidthGroupServiceClient::bandwidthGroupName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetBandwidthGroupRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the BandwidthGroup. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BandwidthGroupService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the BandwidthGroup. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the BandwidthGroup. + * Format: `networks/{network_code}/bandwidthGroups/{bandwidth_group_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserLanguageRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserLanguageRequest.php new file mode 100644 index 000000000000..3d76ecc86143 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserLanguageRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetBrowserLanguageRequest + */ +class GetBrowserLanguageRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the BrowserLanguage. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the BrowserLanguage. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * Please see {@see BrowserLanguageServiceClient::browserLanguageName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetBrowserLanguageRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the BrowserLanguage. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserLanguageService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the BrowserLanguage. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the BrowserLanguage. + * Format: `networks/{network_code}/browserLanguages/{browser_language_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserRequest.php new file mode 100644 index 000000000000..167074fc7414 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetBrowserRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetBrowserRequest + */ +class GetBrowserRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Browser. + * Format: `networks/{network_code}/browsers/{browser_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Browser. + * Format: `networks/{network_code}/browsers/{browser_id}` + * Please see {@see BrowserServiceClient::browserName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetBrowserRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Browser. + * Format: `networks/{network_code}/browsers/{browser_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Browser. + * Format: `networks/{network_code}/browsers/{browser_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Browser. + * Format: `networks/{network_code}/browsers/{browser_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCdnConfigRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCdnConfigRequest.php new file mode 100644 index 000000000000..8ad9b45107c0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCdnConfigRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCdnConfigRequest + */ +class GetCdnConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CdnConfig. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CdnConfig. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * Please see {@see CdnConfigServiceClient::cdnConfigName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCdnConfigRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CdnConfig. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CdnConfig. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CdnConfig. + * Format: `networks/{network_code}/cdnConfigs/{cdn_config_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataKeyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataKeyRequest.php new file mode 100644 index 000000000000..2f4ca9a0306a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataKeyRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCmsMetadataKeyRequest + */ +class GetCmsMetadataKeyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CmsMetadataKey. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CmsMetadataKey. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * Please see {@see CmsMetadataKeyServiceClient::cmsMetadataKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCmsMetadataKeyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CmsMetadataKey. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CmsMetadataKey. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CmsMetadataKey. + * Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataValueRequest.php new file mode 100644 index 000000000000..cf6b73e67004 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCmsMetadataValueRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCmsMetadataValueRequest + */ +class GetCmsMetadataValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CmsMetadataValue. + * Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CmsMetadataValue. + * Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * Please see {@see CmsMetadataValueServiceClient::cmsMetadataValueName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCmsMetadataValueRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CmsMetadataValue. + * Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CmsMetadataValue. + * Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CmsMetadataValue. + * Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCompanyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCompanyRequest.php new file mode 100644 index 000000000000..fdf14dc264b0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCompanyRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCompanyRequest + */ +class GetCompanyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Company. + * Format: `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Company. + * Format: `networks/{network_code}/companies/{company_id}` + * Please see {@see CompanyServiceClient::companyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCompanyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Company. + * Format: `networks/{network_code}/companies/{company_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Company. + * Format: `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Company. + * Format: `networks/{network_code}/companies/{company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContactRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContactRequest.php new file mode 100644 index 000000000000..16cdf82c232c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContactRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetContactRequest + */ +class GetContactRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Contact. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Contact. + * Format: `networks/{network_code}/contacts/{contact_id}` + * Please see {@see ContactServiceClient::contactName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetContactRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Contact. + * Format: `networks/{network_code}/contacts/{contact_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Contact. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Contact. + * Format: `networks/{network_code}/contacts/{contact_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentBundleRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentBundleRequest.php new file mode 100644 index 000000000000..430a7560a23a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentBundleRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetContentBundleRequest + */ +class GetContentBundleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the ContentBundle. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the ContentBundle. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * Please see {@see ContentBundleServiceClient::contentBundleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetContentBundleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the ContentBundle. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the ContentBundle. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the ContentBundle. + * Format: `networks/{network_code}/contentBundles/{content_bundle_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentLabelRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentLabelRequest.php new file mode 100644 index 000000000000..9962751e77dd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentLabelRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetContentLabelRequest + */ +class GetContentLabelRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the ContentLabel. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the ContentLabel. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * Please see {@see ContentLabelServiceClient::contentLabelName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetContentLabelRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the ContentLabel. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentLabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the ContentLabel. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the ContentLabel. + * Format: `networks/{network_code}/contentLabels/{content_label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentRequest.php new file mode 100644 index 000000000000..41f53bd7684e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetContentRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetContentRequest + */ +class GetContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Content. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Content. + * Format: `networks/{network_code}/content/{content_id}` + * Please see {@see ContentServiceClient::contentName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetContentRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Content. + * Format: `networks/{network_code}/content/{content_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Content. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Content. + * Format: `networks/{network_code}/content/{content_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeSetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeSetRequest.php new file mode 100644 index 000000000000..ba674c83f0f5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeSetRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCreativeSetRequest + */ +class GetCreativeSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CreativeSet. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CreativeSet. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * Please see {@see CreativeSetServiceClient::creativeSetName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCreativeSetRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CreativeSet. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CreativeSet. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CreativeSet. + * Format: `networks/{network_code}/creativeSets/{creative_set_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeTemplateRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeTemplateRequest.php new file mode 100644 index 000000000000..6f27ac1649ee --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCreativeTemplateRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCreativeTemplateRequest + */ +class GetCreativeTemplateRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CreativeTemplate. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CreativeTemplate. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * Please see {@see CreativeTemplateServiceClient::creativeTemplateName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCreativeTemplateRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CreativeTemplate. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CreativeTemplate. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CreativeTemplate. + * Format: `networks/{network_code}/creativeTemplates/{creative_template_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomFieldRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomFieldRequest.php new file mode 100644 index 000000000000..7e3e0f7bd1b8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomFieldRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetCustomFieldRequest + */ +class GetCustomFieldRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CustomField. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CustomField. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * Please see {@see CustomFieldServiceClient::customFieldName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCustomFieldRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CustomField. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CustomField. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CustomField. + * Format: `networks/{network_code}/customFields/{custom_field_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingKeyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingKeyRequest.php new file mode 100644 index 000000000000..b7c37fe78203 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingKeyRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetCustomTargetingKeyRequest + */ +class GetCustomTargetingKeyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CustomTargetingKey. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CustomTargetingKey. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * Please see {@see CustomTargetingKeyServiceClient::customTargetingKeyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCustomTargetingKeyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CustomTargetingKey. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CustomTargetingKey. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CustomTargetingKey. + * Format: + * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingValueRequest.php new file mode 100644 index 000000000000..6317461745c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetCustomTargetingValueRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetCustomTargetingValueRequest + */ +class GetCustomTargetingValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * Please see {@see CustomTargetingValueServiceClient::customTargetingValueName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetCustomTargetingValueRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the CustomTargetingValue. + * Format: + * `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCapabilityRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCapabilityRequest.php new file mode 100644 index 000000000000..2b8471a75bc2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCapabilityRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetDeviceCapabilityRequest + */ +class GetDeviceCapabilityRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the DeviceCapability. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the DeviceCapability. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * Please see {@see DeviceCapabilityServiceClient::deviceCapabilityName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetDeviceCapabilityRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the DeviceCapability. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCapabilityService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the DeviceCapability. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the DeviceCapability. + * Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCategoryRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCategoryRequest.php new file mode 100644 index 000000000000..390b9c9444e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceCategoryRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetDeviceCategoryRequest + */ +class GetDeviceCategoryRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the DeviceCategory. + * Format: `networks/{network_code}/deviceCategories/{device_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the DeviceCategory. + * Format: `networks/{network_code}/deviceCategories/{device_category_id}` + * Please see {@see DeviceCategoryServiceClient::deviceCategoryName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetDeviceCategoryRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the DeviceCategory. + * Format: `networks/{network_code}/deviceCategories/{device_category_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the DeviceCategory. + * Format: `networks/{network_code}/deviceCategories/{device_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the DeviceCategory. + * Format: `networks/{network_code}/deviceCategories/{device_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceManufacturerRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceManufacturerRequest.php new file mode 100644 index 000000000000..ccdd1b2ee93b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetDeviceManufacturerRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetDeviceManufacturerRequest + */ +class GetDeviceManufacturerRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the DeviceManufacturer. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the DeviceManufacturer. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}` + * Please see {@see DeviceManufacturerServiceClient::deviceManufacturerName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetDeviceManufacturerRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the DeviceManufacturer. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceManufacturerService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the DeviceManufacturer. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the DeviceManufacturer. + * Format: + * `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetEntitySignalsMappingRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetEntitySignalsMappingRequest.php new file mode 100644 index 000000000000..e00acf8d462f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetEntitySignalsMappingRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetEntitySignalsMappingRequest + */ +class GetEntitySignalsMappingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the EntitySignalsMapping. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the EntitySignalsMapping. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * Please see {@see EntitySignalsMappingServiceClient::entitySignalsMappingName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetEntitySignalsMappingRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the EntitySignalsMapping. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the EntitySignalsMapping. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the EntitySignalsMapping. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetGeoTargetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetGeoTargetRequest.php new file mode 100644 index 000000000000..f3f7577878a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetGeoTargetRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetGeoTargetRequest + */ +class GetGeoTargetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the GeoTarget. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the GeoTarget. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * Please see {@see GeoTargetServiceClient::geoTargetName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetGeoTargetRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the GeoTarget. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GeoTargetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the GeoTarget. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the GeoTarget. + * Format: `networks/{network_code}/geoTargets/{geo_target_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLabelRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLabelRequest.php new file mode 100644 index 000000000000..16ee87bd3ea0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLabelRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetLabelRequest + */ +class GetLabelRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * Please see {@see LabelServiceClient::labelName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetLabelRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Label. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLineItemRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLineItemRequest.php new file mode 100644 index 000000000000..d5237469a70b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLineItemRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetLineItemRequest + */ +class GetLineItemRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the LineItem. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the LineItem. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * Please see {@see LineItemServiceClient::lineItemName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetLineItemRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the LineItem. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the LineItem. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the LineItem. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLinkedDeviceRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLinkedDeviceRequest.php new file mode 100644 index 000000000000..df431c2fb8e8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLinkedDeviceRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetLinkedDeviceRequest + */ +class GetLinkedDeviceRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the LinkedDevice. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the LinkedDevice. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * Please see {@see LinkedDeviceServiceClient::linkedDeviceName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetLinkedDeviceRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the LinkedDevice. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LinkedDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the LinkedDevice. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the LinkedDevice. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLiveStreamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLiveStreamRequest.php new file mode 100644 index 000000000000..69dfaa9866cb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetLiveStreamRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetLiveStreamRequest + */ +class GetLiveStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the LiveStream. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the LiveStream. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * Please see {@see LiveStreamServiceClient::liveStreamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetLiveStreamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the LiveStream. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the LiveStream. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the LiveStream. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileCarrierRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileCarrierRequest.php new file mode 100644 index 000000000000..bd81a0ac81c2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileCarrierRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetMobileCarrierRequest + */ +class GetMobileCarrierRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the MobileCarrier. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the MobileCarrier. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}` + * Please see {@see MobileCarrierServiceClient::mobileCarrierName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetMobileCarrierRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the MobileCarrier. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileCarrierService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the MobileCarrier. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the MobileCarrier. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceRequest.php new file mode 100644 index 000000000000..571c736f1f37 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetMobileDeviceRequest + */ +class GetMobileDeviceRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the MobileDevice. + * Format: `networks/{network_code}/mobileDevices/{mobile_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the MobileDevice. + * Format: `networks/{network_code}/mobileDevices/{mobile_device_id}` + * Please see {@see MobileDeviceServiceClient::mobileDeviceName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetMobileDeviceRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the MobileDevice. + * Format: `networks/{network_code}/mobileDevices/{mobile_device_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the MobileDevice. + * Format: `networks/{network_code}/mobileDevices/{mobile_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the MobileDevice. + * Format: `networks/{network_code}/mobileDevices/{mobile_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceSubmodelRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceSubmodelRequest.php new file mode 100644 index 000000000000..4c9c03f113c1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetMobileDeviceSubmodelRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetMobileDeviceSubmodelRequest + */ +class GetMobileDeviceSubmodelRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the MobileDeviceSubmodel. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the MobileDeviceSubmodel. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel_id}` + * Please see {@see MobileDeviceSubmodelServiceClient::mobileDeviceSubmodelName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetMobileDeviceSubmodelRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the MobileDeviceSubmodel. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceSubmodelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the MobileDeviceSubmodel. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the MobileDeviceSubmodel. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetNetworkRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetNetworkRequest.php new file mode 100644 index 000000000000..803f52629654 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetNetworkRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetNetworkRequest + */ +class GetNetworkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of Network. + * Format: networks/{network_code} + * Please see {@see NetworkServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetNetworkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of Network. + * Format: networks/{network_code} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NetworkService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Resource name of Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemRequest.php new file mode 100644 index 000000000000..2008130fb00b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetOperatingSystemRequest + */ +class GetOperatingSystemRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the OperatingSystem. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the OperatingSystem. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * Please see {@see OperatingSystemServiceClient::operatingSystemName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetOperatingSystemRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the OperatingSystem. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the OperatingSystem. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the OperatingSystem. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemVersionRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemVersionRequest.php new file mode 100644 index 000000000000..8767e40dd56b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOperatingSystemVersionRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetOperatingSystemVersionRequest + */ +class GetOperatingSystemVersionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the OperatingSystemVersion. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the OperatingSystemVersion. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * Please see {@see OperatingSystemVersionServiceClient::operatingSystemVersionName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetOperatingSystemVersionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the OperatingSystemVersion. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemVersionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the OperatingSystemVersion. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the OperatingSystemVersion. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOrderRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOrderRequest.php new file mode 100644 index 000000000000..4aefe853a210 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetOrderRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetOrderRequest + */ +class GetOrderRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Order. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Order. + * Format: `networks/{network_code}/orders/{order_id}` + * Please see {@see OrderServiceClient::orderName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetOrderRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Order. + * Format: `networks/{network_code}/orders/{order_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Order. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Order. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPlacementRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPlacementRequest.php new file mode 100644 index 000000000000..33c828c909f6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPlacementRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetPlacementRequest + */ +class GetPlacementRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Placement. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Placement. + * Format: `networks/{network_code}/placements/{placement_id}` + * Please see {@see PlacementServiceClient::placementName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetPlacementRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Placement. + * Format: `networks/{network_code}/placements/{placement_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Placement. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Placement. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionDealRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionDealRequest.php new file mode 100644 index 000000000000..fe6c7addc885 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionDealRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetPrivateAuctionDealRequest + */ +class GetPrivateAuctionDealRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the PrivateAuctionDeal. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the PrivateAuctionDeal. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * Please see {@see PrivateAuctionDealServiceClient::privateAuctionDealName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetPrivateAuctionDealRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the PrivateAuctionDeal. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the PrivateAuctionDeal. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the PrivateAuctionDeal. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionRequest.php new file mode 100644 index 000000000000..f5c7213e0cd0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetPrivateAuctionRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetPrivateAuctionRequest + */ +class GetPrivateAuctionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the PrivateAuction. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the PrivateAuction. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * Please see {@see PrivateAuctionServiceClient::privateAuctionName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetPrivateAuctionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the PrivateAuction. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the PrivateAuction. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the PrivateAuction. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetProgrammaticBuyerRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetProgrammaticBuyerRequest.php new file mode 100644 index 000000000000..5e1202fbdc31 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetProgrammaticBuyerRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetProgrammaticBuyerRequest + */ +class GetProgrammaticBuyerRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the ProgrammaticBuyer. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the ProgrammaticBuyer. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * Please see {@see ProgrammaticBuyerServiceClient::programmaticBuyerName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetProgrammaticBuyerRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the ProgrammaticBuyer. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ProgrammaticBuyerService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the ProgrammaticBuyer. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the ProgrammaticBuyer. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetReportRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetReportRequest.php new file mode 100644 index 000000000000..47a92cc847b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetReportRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetReportRequest + */ +class GetReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the report. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the report. + * Format: `networks/{network_code}/reports/{report_id}` + * Please see {@see ReportServiceClient::reportName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetReportRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the report. + * Format: `networks/{network_code}/reports/{report_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the report. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the report. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRichMediaAdsCompanyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRichMediaAdsCompanyRequest.php new file mode 100644 index 000000000000..3744be5fd98e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRichMediaAdsCompanyRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetRichMediaAdsCompanyRequest + */ +class GetRichMediaAdsCompanyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the RichMediaAdsCompany. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the RichMediaAdsCompany. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * Please see {@see RichMediaAdsCompanyServiceClient::richMediaAdsCompanyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetRichMediaAdsCompanyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the RichMediaAdsCompany. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RichMediaAdsCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the RichMediaAdsCompany. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the RichMediaAdsCompany. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRoleRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRoleRequest.php new file mode 100644 index 000000000000..3d59cfa4edc9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetRoleRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetRoleRequest + */ +class GetRoleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Role. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Role. + * Format: `networks/{network_code}/roles/{role_id}` + * Please see {@see RoleServiceClient::roleName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetRoleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Role. + * Format: `networks/{network_code}/roles/{role_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RoleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Role. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Role. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSiteRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSiteRequest.php new file mode 100644 index 000000000000..7f373e217175 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSiteRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetSiteRequest + */ +class GetSiteRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Site. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Site. + * Format: `networks/{network_code}/sites/{site_id}` + * Please see {@see SiteServiceClient::siteName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetSiteRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Site. + * Format: `networks/{network_code}/sites/{site_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Site. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Site. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSlateRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSlateRequest.php new file mode 100644 index 000000000000..cb11461232aa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSlateRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetSlateRequest + */ +class GetSlateRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Slate to retrieve. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Slate to retrieve. + * Format: `networks/{network_code}/slates/{slate_id}` + * Please see {@see SlateServiceClient::slateName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetSlateRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Slate to retrieve. + * Format: `networks/{network_code}/slates/{slate_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Slate to retrieve. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Slate to retrieve. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSuggestedAdUnitRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSuggestedAdUnitRequest.php new file mode 100644 index 000000000000..96fe6b4a0192 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetSuggestedAdUnitRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetSuggestedAdUnitRequest + */ +class GetSuggestedAdUnitRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * Please see {@see SuggestedAdUnitServiceClient::suggestedAdUnitName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetSuggestedAdUnitRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTargetingPresetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTargetingPresetRequest.php new file mode 100644 index 000000000000..c890fcda0a9b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTargetingPresetRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetTargetingPresetRequest + */ +class GetTargetingPresetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the TargetingPreset. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the TargetingPreset. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * Please see {@see TargetingPresetServiceClient::targetingPresetName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetTargetingPresetRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the TargetingPreset. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the TargetingPreset. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the TargetingPreset. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTaxonomyCategoryRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTaxonomyCategoryRequest.php new file mode 100644 index 000000000000..6aefd6b7dd89 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTaxonomyCategoryRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetTaxonomyCategoryRequest + */ +class GetTaxonomyCategoryRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the TaxonomyCategory. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the TaxonomyCategory. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * Please see {@see TaxonomyCategoryServiceClient::taxonomyCategoryName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetTaxonomyCategoryRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the TaxonomyCategory. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TaxonomyCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the TaxonomyCategory. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the TaxonomyCategory. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTeamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTeamRequest.php new file mode 100644 index 000000000000..83847a795c59 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetTeamRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetTeamRequest + */ +class GetTeamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Team. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Team. + * Format: `networks/{network_code}/teams/{team_id}` + * Please see {@see TeamServiceClient::teamName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetTeamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Team. + * Format: `networks/{network_code}/teams/{team_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Team. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the Team. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetThirdPartyCompanyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetThirdPartyCompanyRequest.php new file mode 100644 index 000000000000..6771cbc0e1c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetThirdPartyCompanyRequest.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.GetThirdPartyCompanyRequest + */ +class GetThirdPartyCompanyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the ThirdPartyCompany. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the ThirdPartyCompany. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * Please see {@see ThirdPartyCompanyServiceClient::thirdPartyCompanyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetThirdPartyCompanyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the ThirdPartyCompany. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the ThirdPartyCompany. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the ThirdPartyCompany. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetUserRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetUserRequest.php new file mode 100644 index 000000000000..5798ea9e6c64 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GetUserRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.GetUserRequest + */ +class GetUserRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * Please see {@see UserServiceClient::userName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\GetUserRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\UserService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Goal.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Goal.php new file mode 100644 index 000000000000..550796ab82bb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Goal.php @@ -0,0 +1,234 @@ +google.ads.admanager.v1.Goal + */ +class Goal extends \Google\Protobuf\Internal\Message +{ + /** + * The type of the goal for the LineItem. It defines the period over which the + * goal should be reached. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GoalTypeEnum.GoalType goal_type = 1; + */ + protected $goal_type = null; + /** + * The type of the goal unit for the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 2; + */ + protected $unit_type = null; + /** + * If this is a primary goal, it represents the number or percentage of + * impressions or clicks that will be reserved. If the line item is of type + * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP], + * it represents the percentage of available impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * or + * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY], + * it represents the number of remaining impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * or + * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE], + * it represents the percentage of remaining impressions reserved.

If this + * is an impression cap goal, it represents the number of impressions or + * conversions that the line item will stop serving at if reached. For valid + * line item types, see [LineItem.impressions_cap][]. + * + * Generated from protobuf field optional int64 units = 3; + */ + protected $units = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $goal_type + * The type of the goal for the LineItem. It defines the period over which the + * goal should be reached. + * @type int $unit_type + * The type of the goal unit for the LineItem. + * @type int|string $units + * If this is a primary goal, it represents the number or percentage of + * impressions or clicks that will be reserved. If the line item is of type + * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP], + * it represents the percentage of available impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * or + * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY], + * it represents the number of remaining impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * or + * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE], + * it represents the percentage of remaining impressions reserved.

If this + * is an impression cap goal, it represents the number of impressions or + * conversions that the line item will stop serving at if reached. For valid + * line item types, see [LineItem.impressions_cap][]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Goal::initOnce(); + parent::__construct($data); + } + + /** + * The type of the goal for the LineItem. It defines the period over which the + * goal should be reached. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GoalTypeEnum.GoalType goal_type = 1; + * @return int + */ + public function getGoalType() + { + return isset($this->goal_type) ? $this->goal_type : 0; + } + + public function hasGoalType() + { + return isset($this->goal_type); + } + + public function clearGoalType() + { + unset($this->goal_type); + } + + /** + * The type of the goal for the LineItem. It defines the period over which the + * goal should be reached. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GoalTypeEnum.GoalType goal_type = 1; + * @param int $var + * @return $this + */ + public function setGoalType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\GoalTypeEnum\GoalType::class); + $this->goal_type = $var; + + return $this; + } + + /** + * The type of the goal unit for the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 2; + * @return int + */ + public function getUnitType() + { + return isset($this->unit_type) ? $this->unit_type : 0; + } + + public function hasUnitType() + { + return isset($this->unit_type); + } + + public function clearUnitType() + { + unset($this->unit_type); + } + + /** + * The type of the goal unit for the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 2; + * @param int $var + * @return $this + */ + public function setUnitType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\UnitTypeEnum\UnitType::class); + $this->unit_type = $var; + + return $this; + } + + /** + * If this is a primary goal, it represents the number or percentage of + * impressions or clicks that will be reserved. If the line item is of type + * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP], + * it represents the percentage of available impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * or + * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY], + * it represents the number of remaining impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * or + * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE], + * it represents the percentage of remaining impressions reserved.

If this + * is an impression cap goal, it represents the number of impressions or + * conversions that the line item will stop serving at if reached. For valid + * line item types, see [LineItem.impressions_cap][]. + * + * Generated from protobuf field optional int64 units = 3; + * @return int|string + */ + public function getUnits() + { + return isset($this->units) ? $this->units : 0; + } + + public function hasUnits() + { + return isset($this->units); + } + + public function clearUnits() + { + unset($this->units); + } + + /** + * If this is a primary goal, it represents the number or percentage of + * impressions or clicks that will be reserved. If the line item is of type + * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP], + * it represents the percentage of available impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * or + * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY], + * it represents the number of remaining impressions reserved. If the line + * item is of type + * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * or + * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE], + * it represents the percentage of remaining impressions reserved.

If this + * is an impression cap goal, it represents the number of impressions or + * conversions that the line item will stop serving at if reached. For valid + * line item types, see [LineItem.impressions_cap][]. + * + * Generated from protobuf field optional int64 units = 3; + * @param int|string $var + * @return $this + */ + public function setUnits($var) + { + GPBUtil::checkInt64($var); + $this->units = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum.php new file mode 100644 index 000000000000..6a9e57210164 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.GoalTypeEnum + */ +class GoalTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GoalEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum/GoalType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum/GoalType.php new file mode 100644 index 000000000000..d5ba47489b38 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GoalTypeEnum/GoalType.php @@ -0,0 +1,93 @@ +google.ads.admanager.v1.GoalTypeEnum.GoalType + */ +class GoalType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum GOAL_TYPE_UNSPECIFIED = 0; + */ + const GOAL_TYPE_UNSPECIFIED = 0; + /** + * No goal is specified for the number of ads delivered. + * The line item [type][google.ads.admanager.v1.LineItem.line_item_type] + * must be one of: + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE] + * * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING] + * + * Generated from protobuf enum NONE = 1; + */ + const NONE = 1; + /** + * There is a goal on the number of ads delivered for this line item during + * its entire lifetime. + * The line item [type][google.ads.admanager.v1.LineItem.line_item_type] + * must be one of: + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE] + * * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE] + * * [LineItemTypeEnum.LineItemType.ADMOB][] + * * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING] + * + * Generated from protobuf enum LIFETIME = 2; + */ + const LIFETIME = 2; + /** + * There is a daily goal on the number of ads delivered for this line item. + * The line item [type][google.ads.admanager.v1.LineItem.line_item_type] + * must be one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE] + * * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE] + * * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE] + * * [LineItemTypeEnum.LineItemType.ADMOB][] + * * [LineItemTypeEnum.LineItemType.BUMPER][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BUMPER] + * + * Generated from protobuf enum DAILY = 3; + */ + const DAILY = 3; + + private static $valueToName = [ + self::GOAL_TYPE_UNSPECIFIED => 'GOAL_TYPE_UNSPECIFIED', + self::NONE => 'NONE', + self::LIFETIME => 'LIFETIME', + self::DAILY => 'DAILY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum.php new file mode 100644 index 000000000000..9ec930e6016a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.GrpProviderEnum + */ +class GrpProviderEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GrpProviderEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum/GrpProvider.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum/GrpProvider.php new file mode 100644 index 000000000000..bb2e17d58e9a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpProviderEnum/GrpProvider.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.GrpProviderEnum.GrpProvider + */ +class GrpProvider +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum GRP_PROVIDER_UNSPECIFIED = 0; + */ + const GRP_PROVIDER_UNSPECIFIED = 0; + /** + * Google's GRP provider. + * + * Generated from protobuf enum GOOGLE = 1; + */ + const GOOGLE = 1; + /** + * Nielsen's GRP provider. + * + * Generated from protobuf enum NIELSEN = 2; + */ + const NIELSEN = 2; + + private static $valueToName = [ + self::GRP_PROVIDER_UNSPECIFIED => 'GRP_PROVIDER_UNSPECIFIED', + self::GOOGLE => 'GOOGLE', + self::NIELSEN => 'NIELSEN', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpSettings.php new file mode 100644 index 000000000000..0e821f27df24 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpSettings.php @@ -0,0 +1,455 @@ +google.ads.admanager.v1.GrpSettings + */ +class GrpSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Specifies the minimum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 min_target_age = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $min_target_age = null; + /** + * Optional. Specifies the maximum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 max_target_age = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_target_age = null; + /** + * Optional. Specifies the target gender of the LineItem. This field is only + * applicable if [provider][google.ads.admanager.v1.GrpSettings.provider] is + * not null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $target_gender = null; + /** + * Optional. Specifies the GRP provider of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $provider = null; + /** + * Optional. Estimate for the in-target ratio given the line item's audience + * targeting. This field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is Nielsen, + * [LineItem.primary_goal.unit_type][] is in-target impressions, and + * [LineItemCostType] is in-target CPM. This field determines the in-target + * ratio to use for pacing Nielsen line items before Nielsen reporting data is + * available. Represented as a milli percent, so 55.7% becomes 55700. + * + * Generated from protobuf field optional int64 in_target_ratio_estimate_milli_percent = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $in_target_ratio_estimate_milli_percent = null; + /** + * Optional. Specifies which pacing computation to apply in pacing to + * impressions from connected devices. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $nielsen_ctv_pacing_type = null; + /** + * Optional. Specifies whether to use Google or Nielsen device breakdown in + * Nielsen Line Item auto pacing. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $pacing_device_categorization_type = null; + /** + * Optional. Specifies whether to apply true coviewing in Nielsen Line Item + * auto pacing. This field can only be true if + * [nielsen_ctv_pacing_type][google.ads.admanager.v1.GrpSettings.nielsen_ctv_pacing_type] + * is not NONE. + * + * Generated from protobuf field optional bool apply_true_coview = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $apply_true_coview = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $min_target_age + * Optional. Specifies the minimum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * @type int|string $max_target_age + * Optional. Specifies the maximum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * @type int $target_gender + * Optional. Specifies the target gender of the LineItem. This field is only + * applicable if [provider][google.ads.admanager.v1.GrpSettings.provider] is + * not null. + * @type int $provider + * Optional. Specifies the GRP provider of the LineItem. + * @type int|string $in_target_ratio_estimate_milli_percent + * Optional. Estimate for the in-target ratio given the line item's audience + * targeting. This field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is Nielsen, + * [LineItem.primary_goal.unit_type][] is in-target impressions, and + * [LineItemCostType] is in-target CPM. This field determines the in-target + * ratio to use for pacing Nielsen line items before Nielsen reporting data is + * available. Represented as a milli percent, so 55.7% becomes 55700. + * @type int $nielsen_ctv_pacing_type + * Optional. Specifies which pacing computation to apply in pacing to + * impressions from connected devices. + * @type int $pacing_device_categorization_type + * Optional. Specifies whether to use Google or Nielsen device breakdown in + * Nielsen Line Item auto pacing. + * @type bool $apply_true_coview + * Optional. Specifies whether to apply true coviewing in Nielsen Line Item + * auto pacing. This field can only be true if + * [nielsen_ctv_pacing_type][google.ads.admanager.v1.GrpSettings.nielsen_ctv_pacing_type] + * is not NONE. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GrpSettings::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Specifies the minimum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 min_target_age = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getMinTargetAge() + { + return isset($this->min_target_age) ? $this->min_target_age : 0; + } + + public function hasMinTargetAge() + { + return isset($this->min_target_age); + } + + public function clearMinTargetAge() + { + unset($this->min_target_age); + } + + /** + * Optional. Specifies the minimum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 min_target_age = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setMinTargetAge($var) + { + GPBUtil::checkInt64($var); + $this->min_target_age = $var; + + return $this; + } + + /** + * Optional. Specifies the maximum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 max_target_age = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getMaxTargetAge() + { + return isset($this->max_target_age) ? $this->max_target_age : 0; + } + + public function hasMaxTargetAge() + { + return isset($this->max_target_age); + } + + public function clearMaxTargetAge() + { + unset($this->max_target_age); + } + + /** + * Optional. Specifies the maximum target age (in years) of the LineItem. This + * field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is not null. + * + * Generated from protobuf field optional int64 max_target_age = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setMaxTargetAge($var) + { + GPBUtil::checkInt64($var); + $this->max_target_age = $var; + + return $this; + } + + /** + * Optional. Specifies the target gender of the LineItem. This field is only + * applicable if [provider][google.ads.admanager.v1.GrpSettings.provider] is + * not null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTargetGender() + { + return isset($this->target_gender) ? $this->target_gender : 0; + } + + public function hasTargetGender() + { + return isset($this->target_gender); + } + + public function clearTargetGender() + { + unset($this->target_gender); + } + + /** + * Optional. Specifies the target gender of the LineItem. This field is only + * applicable if [provider][google.ads.admanager.v1.GrpSettings.provider] is + * not null. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender target_gender = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTargetGender($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\GrpTargetGenderEnum\GrpTargetGender::class); + $this->target_gender = $var; + + return $this; + } + + /** + * Optional. Specifies the GRP provider of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getProvider() + { + return isset($this->provider) ? $this->provider : 0; + } + + public function hasProvider() + { + return isset($this->provider); + } + + public function clearProvider() + { + unset($this->provider); + } + + /** + * Optional. Specifies the GRP provider of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpProviderEnum.GrpProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setProvider($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\GrpProviderEnum\GrpProvider::class); + $this->provider = $var; + + return $this; + } + + /** + * Optional. Estimate for the in-target ratio given the line item's audience + * targeting. This field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is Nielsen, + * [LineItem.primary_goal.unit_type][] is in-target impressions, and + * [LineItemCostType] is in-target CPM. This field determines the in-target + * ratio to use for pacing Nielsen line items before Nielsen reporting data is + * available. Represented as a milli percent, so 55.7% becomes 55700. + * + * Generated from protobuf field optional int64 in_target_ratio_estimate_milli_percent = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getInTargetRatioEstimateMilliPercent() + { + return isset($this->in_target_ratio_estimate_milli_percent) ? $this->in_target_ratio_estimate_milli_percent : 0; + } + + public function hasInTargetRatioEstimateMilliPercent() + { + return isset($this->in_target_ratio_estimate_milli_percent); + } + + public function clearInTargetRatioEstimateMilliPercent() + { + unset($this->in_target_ratio_estimate_milli_percent); + } + + /** + * Optional. Estimate for the in-target ratio given the line item's audience + * targeting. This field is only applicable if + * [provider][google.ads.admanager.v1.GrpSettings.provider] is Nielsen, + * [LineItem.primary_goal.unit_type][] is in-target impressions, and + * [LineItemCostType] is in-target CPM. This field determines the in-target + * ratio to use for pacing Nielsen line items before Nielsen reporting data is + * available. Represented as a milli percent, so 55.7% becomes 55700. + * + * Generated from protobuf field optional int64 in_target_ratio_estimate_milli_percent = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setInTargetRatioEstimateMilliPercent($var) + { + GPBUtil::checkInt64($var); + $this->in_target_ratio_estimate_milli_percent = $var; + + return $this; + } + + /** + * Optional. Specifies which pacing computation to apply in pacing to + * impressions from connected devices. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getNielsenCtvPacingType() + { + return isset($this->nielsen_ctv_pacing_type) ? $this->nielsen_ctv_pacing_type : 0; + } + + public function hasNielsenCtvPacingType() + { + return isset($this->nielsen_ctv_pacing_type); + } + + public function clearNielsenCtvPacingType() + { + unset($this->nielsen_ctv_pacing_type); + } + + /** + * Optional. Specifies which pacing computation to apply in pacing to + * impressions from connected devices. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing nielsen_ctv_pacing_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setNielsenCtvPacingType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\NielsenCtvPacingEnum\NielsenCtvPacing::class); + $this->nielsen_ctv_pacing_type = $var; + + return $this; + } + + /** + * Optional. Specifies whether to use Google or Nielsen device breakdown in + * Nielsen Line Item auto pacing. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPacingDeviceCategorizationType() + { + return isset($this->pacing_device_categorization_type) ? $this->pacing_device_categorization_type : 0; + } + + public function hasPacingDeviceCategorizationType() + { + return isset($this->pacing_device_categorization_type); + } + + public function clearPacingDeviceCategorizationType() + { + unset($this->pacing_device_categorization_type); + } + + /** + * Optional. Specifies whether to use Google or Nielsen device breakdown in + * Nielsen Line Item auto pacing. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization pacing_device_categorization_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPacingDeviceCategorizationType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\PacingDeviceCategorizationEnum\PacingDeviceCategorization::class); + $this->pacing_device_categorization_type = $var; + + return $this; + } + + /** + * Optional. Specifies whether to apply true coviewing in Nielsen Line Item + * auto pacing. This field can only be true if + * [nielsen_ctv_pacing_type][google.ads.admanager.v1.GrpSettings.nielsen_ctv_pacing_type] + * is not NONE. + * + * Generated from protobuf field optional bool apply_true_coview = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getApplyTrueCoview() + { + return isset($this->apply_true_coview) ? $this->apply_true_coview : false; + } + + public function hasApplyTrueCoview() + { + return isset($this->apply_true_coview); + } + + public function clearApplyTrueCoview() + { + unset($this->apply_true_coview); + } + + /** + * Optional. Specifies whether to apply true coviewing in Nielsen Line Item + * auto pacing. This field can only be true if + * [nielsen_ctv_pacing_type][google.ads.admanager.v1.GrpSettings.nielsen_ctv_pacing_type] + * is not NONE. + * + * Generated from protobuf field optional bool apply_true_coview = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setApplyTrueCoview($var) + { + GPBUtil::checkBool($var); + $this->apply_true_coview = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum.php new file mode 100644 index 000000000000..47c3004e01b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.GrpTargetGenderEnum + */ +class GrpTargetGenderEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GrpTargetGenderEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum/GrpTargetGender.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum/GrpTargetGender.php new file mode 100644 index 000000000000..c3ec849d1f7f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/GrpTargetGenderEnum/GrpTargetGender.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.GrpTargetGenderEnum.GrpTargetGender + */ +class GrpTargetGender +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum GRP_TARGET_GENDER_UNSPECIFIED = 0; + */ + const GRP_TARGET_GENDER_UNSPECIFIED = 0; + /** + * Indicates that the GRP target gender is both male and female. + * + * Generated from protobuf enum BOTH = 1; + */ + const BOTH = 1; + /** + * Indicates that the GRP target gender is Female. + * + * Generated from protobuf enum FEMALE = 2; + */ + const FEMALE = 2; + /** + * Indicates that the GRP target gender is Male. + * + * Generated from protobuf enum MALE = 3; + */ + const MALE = 3; + + private static $valueToName = [ + self::GRP_TARGET_GENDER_UNSPECIFIED => 'GRP_TARGET_GENDER_UNSPECIFIED', + self::BOTH => 'BOTH', + self::FEMALE => 'FEMALE', + self::MALE => 'MALE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum.php new file mode 100644 index 000000000000..9bb7dd0865b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum + */ +class HlsMasterPlaylistRefreshTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum/HlsMasterPlaylistRefreshType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum/HlsMasterPlaylistRefreshType.php new file mode 100644 index 000000000000..4c9230a26aef --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsMasterPlaylistRefreshTypeEnum/HlsMasterPlaylistRefreshType.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType + */ +class HlsMasterPlaylistRefreshType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum HLS_MASTER_PLAYLIST_REFRESH_TYPE_UNSPECIFIED = 0; + */ + const HLS_MASTER_PLAYLIST_REFRESH_TYPE_UNSPECIFIED = 0; + /** + * The master playlist will automatically be refreshed. + * + * Generated from protobuf enum AUTOMATIC = 1; + */ + const AUTOMATIC = 1; + /** + * The master playlist will only be refreshed when requested. + * + * Generated from protobuf enum MANUAL = 2; + */ + const MANUAL = 2; + + private static $valueToName = [ + self::HLS_MASTER_PLAYLIST_REFRESH_TYPE_UNSPECIFIED => 'HLS_MASTER_PLAYLIST_REFRESH_TYPE_UNSPECIFIED', + self::AUTOMATIC => 'AUTOMATIC', + self::MANUAL => 'MANUAL', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettings.php new file mode 100644 index 000000000000..05b3b75868c5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettings.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.HlsSettings + */ +class HlsSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Immutable. Indicates the type of the playlist associated with this live + * stream. The playlist type is analogous to the `EXT-X-PLAYLIST-TYPE` HLS + * tag. Will default to + * [LIVE][google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType.LIVE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $playlist_type = null; + /** + * Optional. The settings for the master playlist. If it is + * not set will default to a `MasterPlaylistSettings` with a refresh type of + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * + * Generated from protobuf field .google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $master_playlist_settings = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $playlist_type + * Immutable. Indicates the type of the playlist associated with this live + * stream. The playlist type is analogous to the `EXT-X-PLAYLIST-TYPE` HLS + * tag. Will default to + * [LIVE][google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType.LIVE]. + * @type \Google\Ads\AdManager\V1\MasterPlaylistSettings $master_playlist_settings + * Optional. The settings for the master playlist. If it is + * not set will default to a `MasterPlaylistSettings` with a refresh type of + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Immutable. Indicates the type of the playlist associated with this live + * stream. The playlist type is analogous to the `EXT-X-PLAYLIST-TYPE` HLS + * tag. Will default to + * [LIVE][google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType.LIVE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getPlaylistType() + { + return isset($this->playlist_type) ? $this->playlist_type : 0; + } + + public function hasPlaylistType() + { + return isset($this->playlist_type); + } + + public function clearPlaylistType() + { + unset($this->playlist_type); + } + + /** + * Immutable. Indicates the type of the playlist associated with this live + * stream. The playlist type is analogous to the `EXT-X-PLAYLIST-TYPE` HLS + * tag. Will default to + * [LIVE][google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType.LIVE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setPlaylistType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\HlsSettingsPlaylistTypeEnum\HlsSettingsPlaylistType::class); + $this->playlist_type = $var; + + return $this; + } + + /** + * Optional. The settings for the master playlist. If it is + * not set will default to a `MasterPlaylistSettings` with a refresh type of + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * + * Generated from protobuf field .google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\MasterPlaylistSettings|null + */ + public function getMasterPlaylistSettings() + { + return $this->master_playlist_settings; + } + + public function hasMasterPlaylistSettings() + { + return isset($this->master_playlist_settings); + } + + public function clearMasterPlaylistSettings() + { + unset($this->master_playlist_settings); + } + + /** + * Optional. The settings for the master playlist. If it is + * not set will default to a `MasterPlaylistSettings` with a refresh type of + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * + * Generated from protobuf field .google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\MasterPlaylistSettings $var + * @return $this + */ + public function setMasterPlaylistSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MasterPlaylistSettings::class); + $this->master_playlist_settings = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum.php new file mode 100644 index 000000000000..60ed8665af0f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum + */ +class HlsSettingsPlaylistTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum/HlsSettingsPlaylistType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum/HlsSettingsPlaylistType.php new file mode 100644 index 000000000000..1bd518109c6e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/HlsSettingsPlaylistTypeEnum/HlsSettingsPlaylistType.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType + */ +class HlsSettingsPlaylistType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED = 0; + */ + const HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED = 0; + /** + * The playlist is an event, which means that media segments can only be + * added to the end of the playlist. This allows viewers to scrub back to + * the beginning of the playlist. + * + * Generated from protobuf enum EVENT = 1; + */ + const EVENT = 1; + /** + * The playlist is a live stream and there are no restrictions on whether + * media segments can be removed from the beginning of the playlist. + * + * Generated from protobuf enum LIVE = 2; + */ + const LIVE = 2; + + private static $valueToName = [ + self::HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED => 'HLS_SETTINGS_PLAYLIST_TYPE_UNSPECIFIED', + self::EVENT => 'EVENT', + self::LIVE => 'LIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/InventoryTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/InventoryTargeting.php new file mode 100644 index 000000000000..c21e845f7c4c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/InventoryTargeting.php @@ -0,0 +1,153 @@ +google.ads.admanager.v1.InventoryTargeting + */ +class InventoryTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of ad units that should be targeted/included. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $targeted_ad_units; + /** + * Optional. A list of ad units that should be excluded. + * Excluded AUs take precedence over targeted AUs. In fact an AU can be + * excluded only if one of its ancestors is targeted. Subsequently child + * AUs of an excluded AU can not be targeted (except through a Placement). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $excluded_ad_units; + /** + * Optional. The resource names of the placements that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_placements; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnitTargeting[] $targeted_ad_units + * Optional. A list of ad units that should be targeted/included. + * @type \Google\Ads\AdManager\V1\AdUnitTargeting[] $excluded_ad_units + * Optional. A list of ad units that should be excluded. + * Excluded AUs take precedence over targeted AUs. In fact an AU can be + * excluded only if one of its ancestors is targeted. Subsequently child + * AUs of an excluded AU can not be targeted (except through a Placement). + * @type string[] $targeted_placements + * Optional. The resource names of the placements that should be + * targeted/included. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of ad units that should be targeted/included. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitTargeting> + */ + public function getTargetedAdUnits() + { + return $this->targeted_ad_units; + } + + /** + * Optional. A list of ad units that should be targeted/included. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AdUnitTargeting[] $var + * @return $this + */ + public function setTargetedAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitTargeting::class); + $this->targeted_ad_units = $arr; + + return $this; + } + + /** + * Optional. A list of ad units that should be excluded. + * Excluded AUs take precedence over targeted AUs. In fact an AU can be + * excluded only if one of its ancestors is targeted. Subsequently child + * AUs of an excluded AU can not be targeted (except through a Placement). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitTargeting> + */ + public function getExcludedAdUnits() + { + return $this->excluded_ad_units; + } + + /** + * Optional. A list of ad units that should be excluded. + * Excluded AUs take precedence over targeted AUs. In fact an AU can be + * excluded only if one of its ancestors is targeted. Subsequently child + * AUs of an excluded AU can not be targeted (except through a Placement). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AdUnitTargeting[] $var + * @return $this + */ + public function setExcludedAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitTargeting::class); + $this->excluded_ad_units = $arr; + + return $this; + } + + /** + * Optional. The resource names of the placements that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedPlacements() + { + return $this->targeted_placements; + } + + /** + * Optional. The resource names of the placements that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedPlacements($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_placements = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Label.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Label.php new file mode 100644 index 000000000000..25886a2c0d21 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Label.php @@ -0,0 +1,245 @@ +google.ads.admanager.v1.Label + */ +class Label extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Label`. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Display name of the Label. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. A description of the label. This attribute has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Output only. Specifies whether or not the label is active. + * + * Generated from protobuf field optional bool active = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $active = null; + /** + * Required. Unordered list. The types of the Label. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelTypeEnum.LabelType types = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + private $types; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Label`. + * Format: `networks/{network_code}/labels/{label_id}` + * @type string $display_name + * Required. Display name of the Label. This attribute has a maximum length of + * 127 characters. + * @type string $description + * Optional. A description of the label. This attribute has a maximum length + * of 255 characters. + * @type bool $active + * Output only. Specifies whether or not the label is active. + * @type int[] $types + * Required. Unordered list. The types of the Label. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Label`. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Label`. + * Format: `networks/{network_code}/labels/{label_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Display name of the Label. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. Display name of the Label. This attribute has a maximum length of + * 127 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. A description of the label. This attribute has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. A description of the label. This attribute has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Output only. Specifies whether or not the label is active. + * + * Generated from protobuf field optional bool active = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getActive() + { + return isset($this->active) ? $this->active : false; + } + + public function hasActive() + { + return isset($this->active); + } + + public function clearActive() + { + unset($this->active); + } + + /** + * Output only. Specifies whether or not the label is active. + * + * Generated from protobuf field optional bool active = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setActive($var) + { + GPBUtil::checkBool($var); + $this->active = $var; + + return $this; + } + + /** + * Required. Unordered list. The types of the Label. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelTypeEnum.LabelType types = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @return RepeatedField + */ + public function getTypes() + { + return $this->types; + } + + /** + * Required. Unordered list. The types of the Label. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LabelTypeEnum.LabelType types = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @param int[] $var + * @return $this + */ + public function setTypes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\LabelTypeEnum\LabelType::class); + $this->types = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelFrequencyCap.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelFrequencyCap.php new file mode 100644 index 000000000000..c47a40870c54 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelFrequencyCap.php @@ -0,0 +1,125 @@ +google.ads.admanager.v1.LabelFrequencyCap + */ +class LabelFrequencyCap extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The label to used for frequency capping. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $label = null; + /** + * The frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.FrequencyCap frequency_cap = 2; + */ + protected $frequency_cap = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $label + * Required. The label to used for frequency capping. + * Format: "networks/{network_code}/labels/{label_id}" + * @type \Google\Ads\AdManager\V1\FrequencyCap $frequency_cap + * The frequency cap. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. The label to used for frequency capping. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED, (.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); + } + + /** + * Required. The label to used for frequency capping. + * Format: "networks/{network_code}/labels/{label_id}" + * + * Generated from protobuf field optional string label = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkString($var, True); + $this->label = $var; + + return $this; + } + + /** + * The frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.FrequencyCap frequency_cap = 2; + * @return \Google\Ads\AdManager\V1\FrequencyCap|null + */ + public function getFrequencyCap() + { + return $this->frequency_cap; + } + + public function hasFrequencyCap() + { + return isset($this->frequency_cap); + } + + public function clearFrequencyCap() + { + unset($this->frequency_cap); + } + + /** + * The frequency cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.FrequencyCap frequency_cap = 2; + * @param \Google\Ads\AdManager\V1\FrequencyCap $var + * @return $this + */ + public function setFrequencyCap($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\FrequencyCap::class); + $this->frequency_cap = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum.php new file mode 100644 index 000000000000..510413b565e5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LabelTypeEnum + */ +class LabelTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum/LabelType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum/LabelType.php new file mode 100644 index 000000000000..94e894e0f20b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LabelTypeEnum/LabelType.php @@ -0,0 +1,88 @@ +google.ads.admanager.v1.LabelTypeEnum.LabelType + */ +class LabelType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LABEL_TYPE_UNSPECIFIED = 0; + */ + const LABEL_TYPE_UNSPECIFIED = 0; + /** + * Allows for the creation of labels to exclude ads from showing against a + * tag that specifies the label as an exclusion. + * + * Generated from protobuf enum AD_EXCLUSION = 1; + */ + const AD_EXCLUSION = 1; + /** + * Allows for the creation of limits on the frequency that a user sees a + * particular type of creative over a portion of the inventory. + * + * Generated from protobuf enum AD_UNIT_FREQUENCY_CAP = 2; + */ + const AD_UNIT_FREQUENCY_CAP = 2; + /** + * Allows for the creation of labels mapped to a Google canonical ad + * category, which can be used for competitive exclusions and blocking + * across Google systems. + * + * Generated from protobuf enum CANONICAL_CATEGORY = 3; + */ + const CANONICAL_CATEGORY = 3; + /** + * Allows for the creation of labels to exclude competing ads from showing + * on the same page. + * + * Generated from protobuf enum COMPETITIVE_EXCLUSION = 4; + */ + const COMPETITIVE_EXCLUSION = 4; + /** + * Allows for the creation of labels that can be used to force the wrapping + * of a delivering creative with header/footer creatives. + * + * Generated from protobuf enum CREATIVE_WRAPPER = 5; + */ + const CREATIVE_WRAPPER = 5; + + private static $valueToName = [ + self::LABEL_TYPE_UNSPECIFIED => 'LABEL_TYPE_UNSPECIFIED', + self::AD_EXCLUSION => 'AD_EXCLUSION', + self::AD_UNIT_FREQUENCY_CAP => 'AD_UNIT_FREQUENCY_CAP', + self::CANONICAL_CATEGORY => 'CANONICAL_CATEGORY', + self::COMPETITIVE_EXCLUSION => 'COMPETITIVE_EXCLUSION', + self::CREATIVE_WRAPPER => 'CREATIVE_WRAPPER', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItem.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItem.php new file mode 100644 index 000000000000..118260c3e158 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItem.php @@ -0,0 +1,3283 @@ +google.ads.admanager.v1.LineItem + */ +class LineItem extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `LineItem`. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Immutable. The ID of the Order to which the LineItem belongs. + * Format: `networks/{network_code}/orders/{order}` + * + * Generated from protobuf field optional string order = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $order = null; + /** + * Required. The name of the line item. This attribute has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. An identifier for the LineItem that is meaningful to the + * publisher. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_line_item_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $external_line_item_id = null; + /** + * Output only. The name of the Order. + * + * Generated from protobuf field optional string order_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $order_display_name = null; + /** + * Required. The date and time on which the LineItem is enabled to begin + * serving. This attribute is required and must be in the future. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $start_time = null; + /** + * Optional. The target end time of the line item. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.LineItem.end_time_unlimited] + * is set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.LineItem.start_time]. This does not + * include auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp target_end_time = 95 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $target_end_time = null; + /** + * Output only. The timestamp when the LineItem will stop serving. This + * attribute includes auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $end_time = null; + /** + * Optional. The number of days to allow a line item to deliver past its + * [target_end_time][google.ads.admanager.v1.LineItem.target_end_time]. A + * maximum of 7 days is allowed. This is feature is only available for Ad + * Manager 360 accounts. + * + * Generated from protobuf field optional int32 auto_extension_days = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $auto_extension_days = null; + /** + * Optional. Non-empty default. Specifies whether or not the LineItem has an + * end time. This attribute defaults to false. It can be be set to true for + * only line items of type SPONSORSHIP, NETWORK, PRICE_PRIORITY and HOUSE. + * + * Generated from protobuf field optional bool end_time_unlimited = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $end_time_unlimited = null; + /** + * Required. The strategy used for displaying multiple Creative objects that + * are associated with the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $creative_rotation_type = null; + /** + * Optional. Non-empty default. The strategy for delivering ads over the + * course of the line item's duration. This attribute defaults to EVENLY or + * FRONTLOADED depending on the network's configuration. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $delivery_rate_type = null; + /** + * Optional. Non-empty default. Strategy for choosing forecasted traffic + * shapes to pace line items. This field defaults to HISTORICAL. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum.LineItemDeliveryForecastSource delivery_forecast_source = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $delivery_forecast_source = null; + /** + * Optional. The curve that is used to pace the line item's delivery. This + * field is required if and only if the delivery forecast source is + * CUSTOM_PACING_CURVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingCurve custom_pacing_curve = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_pacing_curve = null; + /** + * Optional. Non-empty default. The strategy for serving roadblocked + * creatives, that is, instances where multiple creatives must be served + * together on a single web page. This attribute defaults to ONE_OR_MORE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $roadblocking_type = null; + /** + * Optional. Non-empty default. The nature of the line item's creatives' + * skippability. This attribute is only applicable for video line items, and + * defaults to NOT_SKIPPABLE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SkippableAdTypeEnum.SkippableAdType skippable_ad_type = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $skippable_ad_type = null; + /** + * Optional. The set of frequency capping units for this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.FrequencyCap frequency_caps = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $frequency_caps; + /** + * Required. Indicates the line item type of a LineItem. The line item type + * determines the default priority of the line item. More information can be + * found at https://support.google.com/admanager/answer/177279. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 17 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $line_item_type = null; + /** + * Optional. Non-empty default. The priority for the line item. Valid values + * range from 1 to 16. This field defaults to the default priority of the + * LineItemType. The following list shows the default, minimum, and maximum + * priority values are for each line item type: + * - LineItemType: default priority (minimum priority, maximum priority) + * - SPONSORSHIP: 4 (2, 5) + * - STANDARD: 8 (6, 10) + * - NETWORK: 12 (11, 14) + * - BULK: 12 (11, 14) + * - PRICE_PRIORITY: 12 (11, 14) + * - HOUSE: 16 (15, 16) + * - CLICK_TRACKING: 16 (1, 16) + * - AD_EXCHANGE: 12 (1, 16) + * - ADSENSE: 12 (1, 16) + * - BUMPER: 16 (15, 16) + * - ADMOB: 21 (1, 16) + * - PREFERRED_DEAL: 12 (12, 12) + * This field can only be edited by certain networks, otherwise a + * PermissionError will occur. + * + * Generated from protobuf field optional int32 priority = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $priority = null; + /** + * Required. The amount of money to spend per impression or click. + * + * Generated from protobuf field optional .google.type.Money rate = 20 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $rate = null; + /** + * Optional. Non-empty default. An amount to help the adserver rank inventory. + * [value_cpm][google.ads.admanager.v1.LineItem.value_cpm] artificially raises + * the value of inventory over the + * [rate][google.ads.admanager.v1.LineItem.rate] but avoids raising the actual + * [rate][google.ads.admanager.v1.LineItem.rate]. This attribute defaults to a + * Money object in the local currency with units and nanos set to 0. + * + * Generated from protobuf field optional .google.type.Money value_cpm = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $value_cpm = null; + /** + * Required. The method used for billing this LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostType cost_type = 22 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $cost_type = null; + /** + * Optional. Discount information for the line item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDiscount discount = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $discount = null; + /** + * Optional. This attribute is only applicable for certain line item types and + * acts as an "FYI" or note, which does not impact adserving or other backend + * systems. For SPONSORSHIP line items, this represents the minimum quantity, + * which is a lifetime impression volume goal for reporting purposes only. For + * STANDARD line items, this represent the contracted quantity, which is the + * number of units specified in the contract the advertiser has bought for + * this LineItem. This field is just a "FYI" for traffickers to manually + * intervene with the LineItem when needed. This attribute is only available + * for STANDARD line items if you have this feature enabled on your network. + * + * Generated from protobuf field optional int64 contracted_units_bought = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $contracted_units_bought = null; + /** + * Required. Details about the creatives that are expected to serve through + * this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 25 [(.google.api.field_behavior) = REQUIRED]; + */ + private $creative_placeholders; + /** + * Optional. Non-empty default. The environment that the LineItem is + * targeting. The default value is BROWSER. If this value is VIDEO_PLAYER, + * then this line item can only target AdUnits that have AdUnitSizes whose + * environmentType is also VIDEO_PLAYER. + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $environment_type = null; + /** + * Optional. The delivery option for companions. Setting this field is only + * meaningful if the following conditions are met: + * - The "Guaranteed roadblocks" feature is enabled on your network. + * - One of the following is true (both cannot be true, these are mutually + * exclusive). + * - The environmentType is VIDEO_PLAYER. + * - The roadblockingType is CREATIVE_SET. + * This field defaults to OPTIONAL if the conditions are met. + * In all other cases it defaults to UNKNOWN and is not meaningful. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanionDeliveryOptionEnum.CompanionDeliveryOption companion_delivery_option = 27 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $companion_delivery_option = null; + /** + * Input only. The flag indicates whether overbooking should be allowed when + * creating or updating reservations of line item types SPONSORSHIP and + * STANDARD. When true, operations on this line item will never + * trigger a ForecastError, which corresponds to an overbook warning in the + * UI. The default value is false. Note: this field won't persist on the + * line item itself, and the value will only affect the current request. + * + * Generated from protobuf field optional bool allow_overbook = 28 [(.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $allow_overbook = null; + /** + * Input only. The flag indicates whether the inventory check should be + * skipped when creating or updating a line item. The default value is false. + * Note: this field won't persist on the line item itself, and the value will + * only affect the current request. + * + * Generated from protobuf field optional bool skip_inventory_check = 29 [(.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $skip_inventory_check = null; + /** + * Input only. True to skip checks for warnings from rules applied to line + * items targeting inventory shared by a distributor partner for cross selling + * when performing an action on this line item. The default is false. Note: + * this field won't persist on the line item itself, and the value will only + * affect the current request. + * + * Generated from protobuf field optional bool skip_cross_selling_rule_warning_checks = 30 [(.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $skip_cross_selling_rule_warning_checks = null; + /** + * Input only. The flag indicates whether inventory should be reserved when + * creating a line item of types SPONSORSHIP and STANDARD in an unapproved + * Order. The default value is false. + * + * Generated from protobuf field optional bool reserve_on_creation = 31 [(.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $reserve_on_creation = null; + /** + * Output only. Contains trafficking statistics for the line item. This will + * be empty in case there are no statistics for a line item yet. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemStats stats = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $stats = null; + /** + * Output only. Indicates how well the line item has been performing. This + * will be empty if the delivery indicator information is not available due to + * one of the following reasons: + * - The line item is not delivering. + * - The line item has an unlimited goal or cap. + * - The line item has a percentage based goal or cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DeliveryIndicator delivery_indicator = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $delivery_indicator = null; + /** + * Output only. The amount of money allocated to the LineItem. This attribute + * is readonly and is populated by Google. The currency code is readonly. + * + * Generated from protobuf field optional .google.type.Money budget = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $budget = null; + /** + * Output only. The status of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Output only. Describes whether or not inventory has been reserved for the + * LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatus reservation_status = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $reservation_status = null; + /** + * Output only. The archival status of the LineItem. + * + * Generated from protobuf field optional bool archived = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $archived = null; + /** + * Optional. The web property code used for dynamic allocation line items. + * This web property is only required with line item types AD_EXCHANGE and + * ADSENSE. + * + * Generated from protobuf field optional string web_property_code = 49 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $web_property_code = null; + /** + * Optional. The set of labels applied directly to this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 50 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_labels; + /** + * Output only. Contains the set of labels inherited from the order that + * contains this line item and the advertiser that owns the order. If a label + * has been negated, only the negated label is returned. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $effective_applied_labels; + /** + * Optional. If a line item has a series of competitive exclusions on it, it + * could be blocked from serving with line items from the same advertiser. + * Setting this to true will allow line items from the same advertiser to + * serve regardless of the other competitive exclusion labels being applied. + * + * Generated from protobuf field optional bool same_advertiser_exception_enabled = 52 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $same_advertiser_exception_enabled = null; + /** + * Output only. The application that last modified this line item. + * + * Generated from protobuf field optional string update_source = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_source = null; + /** + * Optional. Provides any additional notes that may annotate the LineItem. + * This attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 54 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $notes = null; + /** + * Optional. Non-empty default. The CompetitiveConstraintScope for the + * competitive exclusion labels assigned to this line item. This field + * defaults to POD. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ExclusionScopeEnum.ExclusionScope competitive_constraint_scope = 56 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $competitive_constraint_scope = null; + /** + * Output only. The time this line item was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. The time this line item was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 58 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Optional. The values of the custom fields associated with this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 59 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_field_values; + /** + * Output only. Indicates if a LineItem is missing any Creative creatives for + * the creativePlaceholders specified. Creative Creatives can be considered + * missing for several reasons including: + * - Not enough Creative creatives of a certain size have been uploaded, as + * determined by + * [expected_creative_count][google.ads.admanager.v1.CreativePlaceholder.expected_creative_count]. + * For example a LineItem specifies 750x350, 400x200 but only a 750x350 was + * uploaded. Or LineItem specifies 750x350 with an expected count of 2, but + * only one was uploaded. + * - The [Creative.applied_labels][] of an associated Creative don't match + * the + * [CreativePlaceholder.applied_labels][google.ads.admanager.v1.CreativePlaceholder.applied_labels] + * of the LineItem. For example LineItem specifies 750x350 with a Foo + * AppliedLabel but a 750x350 creative without a AppliedLabel was uploaded. + * + * Generated from protobuf field optional bool missing_creatives = 61 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $missing_creatives = null; + /** + * Optional. Third party auto-pixeling settings for cross-sell Partners. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyMeasurementSettings third_party_measurement_settings = 67 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $third_party_measurement_settings = null; + /** + * Optional. Designates this line item as intended for YT Kids app. If true, + * all creatives associated with this line item must be reviewed and approved. + * See the help center article for more information: + * https://support.google.com/yt-partner-sales/answer/10015534. + * + * Generated from protobuf field optional bool youtube_kids_restricted = 74 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $youtube_kids_restricted = null; + /** + * Optional. The max duration of a video creative associated with this + * LineItem. This attribute is only meaningful for video line items. This + * attribute is required for video line items and must be greater than 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_creative_duration = 75 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_video_creative_duration = null; + /** + * Optional. The primary goal that this LineItem is associated with, which is + * used in its pacing and budgeting. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Goal goal = 76 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $goal = null; + /** + * Optional. The secondary goals that this LineItem is associated with. This + * is required and meaningful only if the + * [line_item_type][google.ads.admanager.v1.LineItem.line_item_type] is + * SPONSORSHIP and [cost_type][google.ads.admanager.v1.LineItem.cost_type] is + * CPM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Goal secondary_goals = 100 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $secondary_goals; + /** + * Optional. Contains the information for a line item which has a target GRP + * demographic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpSettings grp_settings = 78 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $grp_settings = null; + /** + * Optional. The deal information associated with this line item, if it is + * programmatic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDealInfo deal_info = 79 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $deal_info = null; + /** + * Optional. Optional IDs of the Company that provide ad verification for this + * line item. + * + * Generated from protobuf field repeated string viewability_provider_companies = 85 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $viewability_provider_companies; + /** + * Optional. Non-empty default. Child content eligibility designation for this + * line item. This field defaults to DISALLOWED. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ChildContentEligibilityEnum.ChildContentEligibility child_content_eligibility = 86 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + */ + protected $child_content_eligibility = null; + /** + * Optional. Custom XML to be rendered in a custom VAST response at serving + * time. + * + * Generated from protobuf field optional string custom_vast_extension = 88 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_vast_extension = null; + /** + * Optional. Whether the line item is enabled for sponsorship exclusivity. If + * true, only exclusive sponsorships can be served on inventory targeted by + * this LineItem. This control should only be available for 100% video + * sponsorships. + * + * Generated from protobuf field optional bool sponsorship_exclusivity_enabled = 89 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sponsorship_exclusivity_enabled = null; + /** + * Optional. Indicates whether repeated creative serving is enabled for this + * line item. + * + * Generated from protobuf field optional bool repeated_creative_serving_enabled = 90 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $repeated_creative_serving_enabled = null; + /** + * Required. Contains the targeting criteria for the ad campaign. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 93 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting = null; + /** + * Optional. A list of CreativeTargeting objects that can be used to specify + * creative level targeting for this line item. Creative level targeting is + * specified in a + * [CreativePlaceholder.creative_targeting_display_name][google.ads.admanager.v1.CreativePlaceholder.creative_targeting_display_name] + * field by referencing the [CreativeTargeting.display_name][] field. It also + * needs to be re-specified in the + * [LineItemCreativeAssociation.targeting_display_name][] field when + * associating a line item with a creative that fits into that placeholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTargeting creative_targetings = 94 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $creative_targetings; + /** + * Optional. The set of allowed formats for this line item. + * If empty, all formats are allowed. This property only applies + * to programmatic video line items. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemAllowedFormatEnum.LineItemAllowedFormat allowed_formats = 112 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $allowed_formats; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `LineItem`. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * @type string $order + * Required. Immutable. The ID of the Order to which the LineItem belongs. + * Format: `networks/{network_code}/orders/{order}` + * @type string $display_name + * Required. The name of the line item. This attribute has a maximum length of + * 255 characters. + * @type string $external_line_item_id + * Optional. An identifier for the LineItem that is meaningful to the + * publisher. This attribute has a maximum length of 255 characters. + * @type string $order_display_name + * Output only. The name of the Order. + * @type \Google\Protobuf\Timestamp $start_time + * Required. The date and time on which the LineItem is enabled to begin + * serving. This attribute is required and must be in the future. + * @type \Google\Protobuf\Timestamp $target_end_time + * Optional. The target end time of the line item. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.LineItem.end_time_unlimited] + * is set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.LineItem.start_time]. This does not + * include auto extension days. + * @type \Google\Protobuf\Timestamp $end_time + * Output only. The timestamp when the LineItem will stop serving. This + * attribute includes auto extension days. + * @type int $auto_extension_days + * Optional. The number of days to allow a line item to deliver past its + * [target_end_time][google.ads.admanager.v1.LineItem.target_end_time]. A + * maximum of 7 days is allowed. This is feature is only available for Ad + * Manager 360 accounts. + * @type bool $end_time_unlimited + * Optional. Non-empty default. Specifies whether or not the LineItem has an + * end time. This attribute defaults to false. It can be be set to true for + * only line items of type SPONSORSHIP, NETWORK, PRICE_PRIORITY and HOUSE. + * @type int $creative_rotation_type + * Required. The strategy used for displaying multiple Creative objects that + * are associated with the LineItem. + * @type int $delivery_rate_type + * Optional. Non-empty default. The strategy for delivering ads over the + * course of the line item's duration. This attribute defaults to EVENLY or + * FRONTLOADED depending on the network's configuration. + * @type int $delivery_forecast_source + * Optional. Non-empty default. Strategy for choosing forecasted traffic + * shapes to pace line items. This field defaults to HISTORICAL. + * @type \Google\Ads\AdManager\V1\CustomPacingCurve $custom_pacing_curve + * Optional. The curve that is used to pace the line item's delivery. This + * field is required if and only if the delivery forecast source is + * CUSTOM_PACING_CURVE. + * @type int $roadblocking_type + * Optional. Non-empty default. The strategy for serving roadblocked + * creatives, that is, instances where multiple creatives must be served + * together on a single web page. This attribute defaults to ONE_OR_MORE. + * @type int $skippable_ad_type + * Optional. Non-empty default. The nature of the line item's creatives' + * skippability. This attribute is only applicable for video line items, and + * defaults to NOT_SKIPPABLE. + * @type \Google\Ads\AdManager\V1\FrequencyCap[] $frequency_caps + * Optional. The set of frequency capping units for this LineItem. + * @type int $line_item_type + * Required. Indicates the line item type of a LineItem. The line item type + * determines the default priority of the line item. More information can be + * found at https://support.google.com/admanager/answer/177279. + * @type int $priority + * Optional. Non-empty default. The priority for the line item. Valid values + * range from 1 to 16. This field defaults to the default priority of the + * LineItemType. The following list shows the default, minimum, and maximum + * priority values are for each line item type: + * - LineItemType: default priority (minimum priority, maximum priority) + * - SPONSORSHIP: 4 (2, 5) + * - STANDARD: 8 (6, 10) + * - NETWORK: 12 (11, 14) + * - BULK: 12 (11, 14) + * - PRICE_PRIORITY: 12 (11, 14) + * - HOUSE: 16 (15, 16) + * - CLICK_TRACKING: 16 (1, 16) + * - AD_EXCHANGE: 12 (1, 16) + * - ADSENSE: 12 (1, 16) + * - BUMPER: 16 (15, 16) + * - ADMOB: 21 (1, 16) + * - PREFERRED_DEAL: 12 (12, 12) + * This field can only be edited by certain networks, otherwise a + * PermissionError will occur. + * @type \Google\Type\Money $rate + * Required. The amount of money to spend per impression or click. + * @type \Google\Type\Money $value_cpm + * Optional. Non-empty default. An amount to help the adserver rank inventory. + * [value_cpm][google.ads.admanager.v1.LineItem.value_cpm] artificially raises + * the value of inventory over the + * [rate][google.ads.admanager.v1.LineItem.rate] but avoids raising the actual + * [rate][google.ads.admanager.v1.LineItem.rate]. This attribute defaults to a + * Money object in the local currency with units and nanos set to 0. + * @type int $cost_type + * Required. The method used for billing this LineItem. + * @type \Google\Ads\AdManager\V1\LineItemDiscount $discount + * Optional. Discount information for the line item. + * @type int|string $contracted_units_bought + * Optional. This attribute is only applicable for certain line item types and + * acts as an "FYI" or note, which does not impact adserving or other backend + * systems. For SPONSORSHIP line items, this represents the minimum quantity, + * which is a lifetime impression volume goal for reporting purposes only. For + * STANDARD line items, this represent the contracted quantity, which is the + * number of units specified in the contract the advertiser has bought for + * this LineItem. This field is just a "FYI" for traffickers to manually + * intervene with the LineItem when needed. This attribute is only available + * for STANDARD line items if you have this feature enabled on your network. + * @type \Google\Ads\AdManager\V1\CreativePlaceholder[] $creative_placeholders + * Required. Details about the creatives that are expected to serve through + * this LineItem. + * @type int $environment_type + * Optional. Non-empty default. The environment that the LineItem is + * targeting. The default value is BROWSER. If this value is VIDEO_PLAYER, + * then this line item can only target AdUnits that have AdUnitSizes whose + * environmentType is also VIDEO_PLAYER. + * @type int $companion_delivery_option + * Optional. The delivery option for companions. Setting this field is only + * meaningful if the following conditions are met: + * - The "Guaranteed roadblocks" feature is enabled on your network. + * - One of the following is true (both cannot be true, these are mutually + * exclusive). + * - The environmentType is VIDEO_PLAYER. + * - The roadblockingType is CREATIVE_SET. + * This field defaults to OPTIONAL if the conditions are met. + * In all other cases it defaults to UNKNOWN and is not meaningful. + * @type bool $allow_overbook + * Input only. The flag indicates whether overbooking should be allowed when + * creating or updating reservations of line item types SPONSORSHIP and + * STANDARD. When true, operations on this line item will never + * trigger a ForecastError, which corresponds to an overbook warning in the + * UI. The default value is false. Note: this field won't persist on the + * line item itself, and the value will only affect the current request. + * @type bool $skip_inventory_check + * Input only. The flag indicates whether the inventory check should be + * skipped when creating or updating a line item. The default value is false. + * Note: this field won't persist on the line item itself, and the value will + * only affect the current request. + * @type bool $skip_cross_selling_rule_warning_checks + * Input only. True to skip checks for warnings from rules applied to line + * items targeting inventory shared by a distributor partner for cross selling + * when performing an action on this line item. The default is false. Note: + * this field won't persist on the line item itself, and the value will only + * affect the current request. + * @type bool $reserve_on_creation + * Input only. The flag indicates whether inventory should be reserved when + * creating a line item of types SPONSORSHIP and STANDARD in an unapproved + * Order. The default value is false. + * @type \Google\Ads\AdManager\V1\LineItemStats $stats + * Output only. Contains trafficking statistics for the line item. This will + * be empty in case there are no statistics for a line item yet. + * @type \Google\Ads\AdManager\V1\DeliveryIndicator $delivery_indicator + * Output only. Indicates how well the line item has been performing. This + * will be empty if the delivery indicator information is not available due to + * one of the following reasons: + * - The line item is not delivering. + * - The line item has an unlimited goal or cap. + * - The line item has a percentage based goal or cap. + * @type \Google\Type\Money $budget + * Output only. The amount of money allocated to the LineItem. This attribute + * is readonly and is populated by Google. The currency code is readonly. + * @type int $status + * Output only. The status of the LineItem. + * @type int $reservation_status + * Output only. Describes whether or not inventory has been reserved for the + * LineItem. + * @type bool $archived + * Output only. The archival status of the LineItem. + * @type string $web_property_code + * Optional. The web property code used for dynamic allocation line items. + * This web property is only required with line item types AD_EXCHANGE and + * ADSENSE. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $applied_labels + * Optional. The set of labels applied directly to this line item. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $effective_applied_labels + * Output only. Contains the set of labels inherited from the order that + * contains this line item and the advertiser that owns the order. If a label + * has been negated, only the negated label is returned. + * @type bool $same_advertiser_exception_enabled + * Optional. If a line item has a series of competitive exclusions on it, it + * could be blocked from serving with line items from the same advertiser. + * Setting this to true will allow line items from the same advertiser to + * serve regardless of the other competitive exclusion labels being applied. + * @type string $update_source + * Output only. The application that last modified this line item. + * @type string $notes + * Optional. Provides any additional notes that may annotate the LineItem. + * This attribute has a maximum length of 65,535 characters. + * @type int $competitive_constraint_scope + * Optional. Non-empty default. The CompetitiveConstraintScope for the + * competitive exclusion labels assigned to this line item. This field + * defaults to POD. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The time this line item was last modified. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The time this line item was created. + * @type \Google\Ads\AdManager\V1\CustomFieldValue[] $custom_field_values + * Optional. The values of the custom fields associated with this line item. + * @type bool $missing_creatives + * Output only. Indicates if a LineItem is missing any Creative creatives for + * the creativePlaceholders specified. Creative Creatives can be considered + * missing for several reasons including: + * - Not enough Creative creatives of a certain size have been uploaded, as + * determined by + * [expected_creative_count][google.ads.admanager.v1.CreativePlaceholder.expected_creative_count]. + * For example a LineItem specifies 750x350, 400x200 but only a 750x350 was + * uploaded. Or LineItem specifies 750x350 with an expected count of 2, but + * only one was uploaded. + * - The [Creative.applied_labels][] of an associated Creative don't match + * the + * [CreativePlaceholder.applied_labels][google.ads.admanager.v1.CreativePlaceholder.applied_labels] + * of the LineItem. For example LineItem specifies 750x350 with a Foo + * AppliedLabel but a 750x350 creative without a AppliedLabel was uploaded. + * @type \Google\Ads\AdManager\V1\ThirdPartyMeasurementSettings $third_party_measurement_settings + * Optional. Third party auto-pixeling settings for cross-sell Partners. + * @type bool $youtube_kids_restricted + * Optional. Designates this line item as intended for YT Kids app. If true, + * all creatives associated with this line item must be reviewed and approved. + * See the help center article for more information: + * https://support.google.com/yt-partner-sales/answer/10015534. + * @type \Google\Protobuf\Duration $max_video_creative_duration + * Optional. The max duration of a video creative associated with this + * LineItem. This attribute is only meaningful for video line items. This + * attribute is required for video line items and must be greater than 0. + * @type \Google\Ads\AdManager\V1\Goal $goal + * Optional. The primary goal that this LineItem is associated with, which is + * used in its pacing and budgeting. + * @type \Google\Ads\AdManager\V1\Goal[] $secondary_goals + * Optional. The secondary goals that this LineItem is associated with. This + * is required and meaningful only if the + * [line_item_type][google.ads.admanager.v1.LineItem.line_item_type] is + * SPONSORSHIP and [cost_type][google.ads.admanager.v1.LineItem.cost_type] is + * CPM. + * @type \Google\Ads\AdManager\V1\GrpSettings $grp_settings + * Optional. Contains the information for a line item which has a target GRP + * demographic. + * @type \Google\Ads\AdManager\V1\LineItemDealInfo $deal_info + * Optional. The deal information associated with this line item, if it is + * programmatic. + * @type string[] $viewability_provider_companies + * Optional. Optional IDs of the Company that provide ad verification for this + * line item. + * @type int $child_content_eligibility + * Optional. Non-empty default. Child content eligibility designation for this + * line item. This field defaults to DISALLOWED. + * @type string $custom_vast_extension + * Optional. Custom XML to be rendered in a custom VAST response at serving + * time. + * @type bool $sponsorship_exclusivity_enabled + * Optional. Whether the line item is enabled for sponsorship exclusivity. If + * true, only exclusive sponsorships can be served on inventory targeted by + * this LineItem. This control should only be available for 100% video + * sponsorships. + * @type bool $repeated_creative_serving_enabled + * Optional. Indicates whether repeated creative serving is enabled for this + * line item. + * @type \Google\Ads\AdManager\V1\Targeting $targeting + * Required. Contains the targeting criteria for the ad campaign. + * @type \Google\Ads\AdManager\V1\CreativeTargeting[] $creative_targetings + * Optional. A list of CreativeTargeting objects that can be used to specify + * creative level targeting for this line item. Creative level targeting is + * specified in a + * [CreativePlaceholder.creative_targeting_display_name][google.ads.admanager.v1.CreativePlaceholder.creative_targeting_display_name] + * field by referencing the [CreativeTargeting.display_name][] field. It also + * needs to be re-specified in the + * [LineItemCreativeAssociation.targeting_display_name][] field when + * associating a line item with a creative that fits into that placeholder. + * @type int[] $allowed_formats + * Optional. The set of allowed formats for this line item. + * If empty, all formats are allowed. This property only applies + * to programmatic video line items. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `LineItem`. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `LineItem`. + * Format: `networks/{network_code}/lineItems/{line_item_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Immutable. The ID of the Order to which the LineItem belongs. + * Format: `networks/{network_code}/orders/{order}` + * + * Generated from protobuf field optional string order = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getOrder() + { + return isset($this->order) ? $this->order : ''; + } + + public function hasOrder() + { + return isset($this->order); + } + + public function clearOrder() + { + unset($this->order); + } + + /** + * Required. Immutable. The ID of the Order to which the LineItem belongs. + * Format: `networks/{network_code}/orders/{order}` + * + * Generated from protobuf field optional string order = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setOrder($var) + { + GPBUtil::checkString($var, True); + $this->order = $var; + + return $this; + } + + /** + * Required. The name of the line item. This attribute has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the line item. This attribute has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. An identifier for the LineItem that is meaningful to the + * publisher. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_line_item_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getExternalLineItemId() + { + return isset($this->external_line_item_id) ? $this->external_line_item_id : ''; + } + + public function hasExternalLineItemId() + { + return isset($this->external_line_item_id); + } + + public function clearExternalLineItemId() + { + unset($this->external_line_item_id); + } + + /** + * Optional. An identifier for the LineItem that is meaningful to the + * publisher. This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_line_item_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setExternalLineItemId($var) + { + GPBUtil::checkString($var, True); + $this->external_line_item_id = $var; + + return $this; + } + + /** + * Output only. The name of the Order. + * + * Generated from protobuf field optional string order_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getOrderDisplayName() + { + return isset($this->order_display_name) ? $this->order_display_name : ''; + } + + public function hasOrderDisplayName() + { + return isset($this->order_display_name); + } + + public function clearOrderDisplayName() + { + unset($this->order_display_name); + } + + /** + * Output only. The name of the Order. + * + * Generated from protobuf field optional string order_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setOrderDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->order_display_name = $var; + + return $this; + } + + /** + * Required. The date and time on which the LineItem is enabled to begin + * serving. This attribute is required and must be in the future. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Required. The date and time on which the LineItem is enabled to begin + * serving. This attribute is required and must be in the future. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->start_time = $var; + + return $this; + } + + /** + * Optional. The target end time of the line item. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.LineItem.end_time_unlimited] + * is set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.LineItem.start_time]. This does not + * include auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp target_end_time = 95 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getTargetEndTime() + { + return $this->target_end_time; + } + + public function hasTargetEndTime() + { + return isset($this->target_end_time); + } + + public function clearTargetEndTime() + { + unset($this->target_end_time); + } + + /** + * Optional. The target end time of the line item. This attribute is required + * unless + * [end_time_unlimited][google.ads.admanager.v1.LineItem.end_time_unlimited] + * is set to true. If specified, it must be after the + * [start_time][google.ads.admanager.v1.LineItem.start_time]. This does not + * include auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp target_end_time = 95 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setTargetEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->target_end_time = $var; + + return $this; + } + + /** + * Output only. The timestamp when the LineItem will stop serving. This + * attribute includes auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEndTime() + { + return $this->end_time; + } + + public function hasEndTime() + { + return isset($this->end_time); + } + + public function clearEndTime() + { + unset($this->end_time); + } + + /** + * Output only. The timestamp when the LineItem will stop serving. This + * attribute includes auto extension days. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->end_time = $var; + + return $this; + } + + /** + * Optional. The number of days to allow a line item to deliver past its + * [target_end_time][google.ads.admanager.v1.LineItem.target_end_time]. A + * maximum of 7 days is allowed. This is feature is only available for Ad + * Manager 360 accounts. + * + * Generated from protobuf field optional int32 auto_extension_days = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getAutoExtensionDays() + { + return isset($this->auto_extension_days) ? $this->auto_extension_days : 0; + } + + public function hasAutoExtensionDays() + { + return isset($this->auto_extension_days); + } + + public function clearAutoExtensionDays() + { + unset($this->auto_extension_days); + } + + /** + * Optional. The number of days to allow a line item to deliver past its + * [target_end_time][google.ads.admanager.v1.LineItem.target_end_time]. A + * maximum of 7 days is allowed. This is feature is only available for Ad + * Manager 360 accounts. + * + * Generated from protobuf field optional int32 auto_extension_days = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setAutoExtensionDays($var) + { + GPBUtil::checkInt32($var); + $this->auto_extension_days = $var; + + return $this; + } + + /** + * Optional. Non-empty default. Specifies whether or not the LineItem has an + * end time. This attribute defaults to false. It can be be set to true for + * only line items of type SPONSORSHIP, NETWORK, PRICE_PRIORITY and HOUSE. + * + * Generated from protobuf field optional bool end_time_unlimited = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return bool + */ + public function getEndTimeUnlimited() + { + return isset($this->end_time_unlimited) ? $this->end_time_unlimited : false; + } + + public function hasEndTimeUnlimited() + { + return isset($this->end_time_unlimited); + } + + public function clearEndTimeUnlimited() + { + unset($this->end_time_unlimited); + } + + /** + * Optional. Non-empty default. Specifies whether or not the LineItem has an + * end time. This attribute defaults to false. It can be be set to true for + * only line items of type SPONSORSHIP, NETWORK, PRICE_PRIORITY and HOUSE. + * + * Generated from protobuf field optional bool end_time_unlimited = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param bool $var + * @return $this + */ + public function setEndTimeUnlimited($var) + { + GPBUtil::checkBool($var); + $this->end_time_unlimited = $var; + + return $this; + } + + /** + * Required. The strategy used for displaying multiple Creative objects that + * are associated with the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCreativeRotationType() + { + return isset($this->creative_rotation_type) ? $this->creative_rotation_type : 0; + } + + public function hasCreativeRotationType() + { + return isset($this->creative_rotation_type); + } + + public function clearCreativeRotationType() + { + unset($this->creative_rotation_type); + } + + /** + * Required. The strategy used for displaying multiple Creative objects that + * are associated with the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCreativeRotationType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CreativeRotationTypeEnum\CreativeRotationType::class); + $this->creative_rotation_type = $var; + + return $this; + } + + /** + * Optional. Non-empty default. The strategy for delivering ads over the + * course of the line item's duration. This attribute defaults to EVENLY or + * FRONTLOADED depending on the network's configuration. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getDeliveryRateType() + { + return isset($this->delivery_rate_type) ? $this->delivery_rate_type : 0; + } + + public function hasDeliveryRateType() + { + return isset($this->delivery_rate_type); + } + + public function clearDeliveryRateType() + { + unset($this->delivery_rate_type); + } + + /** + * Optional. Non-empty default. The strategy for delivering ads over the + * course of the line item's duration. This attribute defaults to EVENLY or + * FRONTLOADED depending on the network's configuration. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setDeliveryRateType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemDeliveryRateTypeEnum\LineItemDeliveryRateType::class); + $this->delivery_rate_type = $var; + + return $this; + } + + /** + * Optional. Non-empty default. Strategy for choosing forecasted traffic + * shapes to pace line items. This field defaults to HISTORICAL. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum.LineItemDeliveryForecastSource delivery_forecast_source = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getDeliveryForecastSource() + { + return isset($this->delivery_forecast_source) ? $this->delivery_forecast_source : 0; + } + + public function hasDeliveryForecastSource() + { + return isset($this->delivery_forecast_source); + } + + public function clearDeliveryForecastSource() + { + unset($this->delivery_forecast_source); + } + + /** + * Optional. Non-empty default. Strategy for choosing forecasted traffic + * shapes to pace line items. This field defaults to HISTORICAL. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum.LineItemDeliveryForecastSource delivery_forecast_source = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setDeliveryForecastSource($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemDeliveryForecastSourceEnum\LineItemDeliveryForecastSource::class); + $this->delivery_forecast_source = $var; + + return $this; + } + + /** + * Optional. The curve that is used to pace the line item's delivery. This + * field is required if and only if the delivery forecast source is + * CUSTOM_PACING_CURVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingCurve custom_pacing_curve = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CustomPacingCurve|null + */ + public function getCustomPacingCurve() + { + return $this->custom_pacing_curve; + } + + public function hasCustomPacingCurve() + { + return isset($this->custom_pacing_curve); + } + + public function clearCustomPacingCurve() + { + unset($this->custom_pacing_curve); + } + + /** + * Optional. The curve that is used to pace the line item's delivery. This + * field is required if and only if the delivery forecast source is + * CUSTOM_PACING_CURVE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CustomPacingCurve custom_pacing_curve = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomPacingCurve $var + * @return $this + */ + public function setCustomPacingCurve($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomPacingCurve::class); + $this->custom_pacing_curve = $var; + + return $this; + } + + /** + * Optional. Non-empty default. The strategy for serving roadblocked + * creatives, that is, instances where multiple creatives must be served + * together on a single web page. This attribute defaults to ONE_OR_MORE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getRoadblockingType() + { + return isset($this->roadblocking_type) ? $this->roadblocking_type : 0; + } + + public function hasRoadblockingType() + { + return isset($this->roadblocking_type); + } + + public function clearRoadblockingType() + { + unset($this->roadblocking_type); + } + + /** + * Optional. Non-empty default. The strategy for serving roadblocked + * creatives, that is, instances where multiple creatives must be served + * together on a single web page. This attribute defaults to ONE_OR_MORE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setRoadblockingType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\RoadblockingTypeEnum\RoadblockingType::class); + $this->roadblocking_type = $var; + + return $this; + } + + /** + * Optional. Non-empty default. The nature of the line item's creatives' + * skippability. This attribute is only applicable for video line items, and + * defaults to NOT_SKIPPABLE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SkippableAdTypeEnum.SkippableAdType skippable_ad_type = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getSkippableAdType() + { + return isset($this->skippable_ad_type) ? $this->skippable_ad_type : 0; + } + + public function hasSkippableAdType() + { + return isset($this->skippable_ad_type); + } + + public function clearSkippableAdType() + { + unset($this->skippable_ad_type); + } + + /** + * Optional. Non-empty default. The nature of the line item's creatives' + * skippability. This attribute is only applicable for video line items, and + * defaults to NOT_SKIPPABLE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SkippableAdTypeEnum.SkippableAdType skippable_ad_type = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setSkippableAdType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SkippableAdTypeEnum\SkippableAdType::class); + $this->skippable_ad_type = $var; + + return $this; + } + + /** + * Optional. The set of frequency capping units for this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.FrequencyCap frequency_caps = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\FrequencyCap> + */ + public function getFrequencyCaps() + { + return $this->frequency_caps; + } + + /** + * Optional. The set of frequency capping units for this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.FrequencyCap frequency_caps = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\FrequencyCap[] $var + * @return $this + */ + public function setFrequencyCaps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\FrequencyCap::class); + $this->frequency_caps = $arr; + + return $this; + } + + /** + * Required. Indicates the line item type of a LineItem. The line item type + * determines the default priority of the line item. More information can be + * found at https://support.google.com/admanager/answer/177279. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 17 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getLineItemType() + { + return isset($this->line_item_type) ? $this->line_item_type : 0; + } + + public function hasLineItemType() + { + return isset($this->line_item_type); + } + + public function clearLineItemType() + { + unset($this->line_item_type); + } + + /** + * Required. Indicates the line item type of a LineItem. The line item type + * determines the default priority of the line item. More information can be + * found at https://support.google.com/admanager/answer/177279. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 17 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setLineItemType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemTypeEnum\LineItemType::class); + $this->line_item_type = $var; + + return $this; + } + + /** + * Optional. Non-empty default. The priority for the line item. Valid values + * range from 1 to 16. This field defaults to the default priority of the + * LineItemType. The following list shows the default, minimum, and maximum + * priority values are for each line item type: + * - LineItemType: default priority (minimum priority, maximum priority) + * - SPONSORSHIP: 4 (2, 5) + * - STANDARD: 8 (6, 10) + * - NETWORK: 12 (11, 14) + * - BULK: 12 (11, 14) + * - PRICE_PRIORITY: 12 (11, 14) + * - HOUSE: 16 (15, 16) + * - CLICK_TRACKING: 16 (1, 16) + * - AD_EXCHANGE: 12 (1, 16) + * - ADSENSE: 12 (1, 16) + * - BUMPER: 16 (15, 16) + * - ADMOB: 21 (1, 16) + * - PREFERRED_DEAL: 12 (12, 12) + * This field can only be edited by certain networks, otherwise a + * PermissionError will occur. + * + * Generated from protobuf field optional int32 priority = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getPriority() + { + return isset($this->priority) ? $this->priority : 0; + } + + public function hasPriority() + { + return isset($this->priority); + } + + public function clearPriority() + { + unset($this->priority); + } + + /** + * Optional. Non-empty default. The priority for the line item. Valid values + * range from 1 to 16. This field defaults to the default priority of the + * LineItemType. The following list shows the default, minimum, and maximum + * priority values are for each line item type: + * - LineItemType: default priority (minimum priority, maximum priority) + * - SPONSORSHIP: 4 (2, 5) + * - STANDARD: 8 (6, 10) + * - NETWORK: 12 (11, 14) + * - BULK: 12 (11, 14) + * - PRICE_PRIORITY: 12 (11, 14) + * - HOUSE: 16 (15, 16) + * - CLICK_TRACKING: 16 (1, 16) + * - AD_EXCHANGE: 12 (1, 16) + * - ADSENSE: 12 (1, 16) + * - BUMPER: 16 (15, 16) + * - ADMOB: 21 (1, 16) + * - PREFERRED_DEAL: 12 (12, 12) + * This field can only be edited by certain networks, otherwise a + * PermissionError will occur. + * + * Generated from protobuf field optional int32 priority = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setPriority($var) + { + GPBUtil::checkInt32($var); + $this->priority = $var; + + return $this; + } + + /** + * Required. The amount of money to spend per impression or click. + * + * Generated from protobuf field optional .google.type.Money rate = 20 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Money|null + */ + public function getRate() + { + return $this->rate; + } + + public function hasRate() + { + return isset($this->rate); + } + + public function clearRate() + { + unset($this->rate); + } + + /** + * Required. The amount of money to spend per impression or click. + * + * Generated from protobuf field optional .google.type.Money rate = 20 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setRate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->rate = $var; + + return $this; + } + + /** + * Optional. Non-empty default. An amount to help the adserver rank inventory. + * [value_cpm][google.ads.admanager.v1.LineItem.value_cpm] artificially raises + * the value of inventory over the + * [rate][google.ads.admanager.v1.LineItem.rate] but avoids raising the actual + * [rate][google.ads.admanager.v1.LineItem.rate]. This attribute defaults to a + * Money object in the local currency with units and nanos set to 0. + * + * Generated from protobuf field optional .google.type.Money value_cpm = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return \Google\Type\Money|null + */ + public function getValueCpm() + { + return $this->value_cpm; + } + + public function hasValueCpm() + { + return isset($this->value_cpm); + } + + public function clearValueCpm() + { + unset($this->value_cpm); + } + + /** + * Optional. Non-empty default. An amount to help the adserver rank inventory. + * [value_cpm][google.ads.admanager.v1.LineItem.value_cpm] artificially raises + * the value of inventory over the + * [rate][google.ads.admanager.v1.LineItem.rate] but avoids raising the actual + * [rate][google.ads.admanager.v1.LineItem.rate]. This attribute defaults to a + * Money object in the local currency with units and nanos set to 0. + * + * Generated from protobuf field optional .google.type.Money value_cpm = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setValueCpm($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->value_cpm = $var; + + return $this; + } + + /** + * Required. The method used for billing this LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostType cost_type = 22 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCostType() + { + return isset($this->cost_type) ? $this->cost_type : 0; + } + + public function hasCostType() + { + return isset($this->cost_type); + } + + public function clearCostType() + { + unset($this->cost_type); + } + + /** + * Required. The method used for billing this LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostType cost_type = 22 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCostType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemCostTypeEnum\LineItemCostType::class); + $this->cost_type = $var; + + return $this; + } + + /** + * Optional. Discount information for the line item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDiscount discount = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\LineItemDiscount|null + */ + public function getDiscount() + { + return $this->discount; + } + + public function hasDiscount() + { + return isset($this->discount); + } + + public function clearDiscount() + { + unset($this->discount); + } + + /** + * Optional. Discount information for the line item. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDiscount discount = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\LineItemDiscount $var + * @return $this + */ + public function setDiscount($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LineItemDiscount::class); + $this->discount = $var; + + return $this; + } + + /** + * Optional. This attribute is only applicable for certain line item types and + * acts as an "FYI" or note, which does not impact adserving or other backend + * systems. For SPONSORSHIP line items, this represents the minimum quantity, + * which is a lifetime impression volume goal for reporting purposes only. For + * STANDARD line items, this represent the contracted quantity, which is the + * number of units specified in the contract the advertiser has bought for + * this LineItem. This field is just a "FYI" for traffickers to manually + * intervene with the LineItem when needed. This attribute is only available + * for STANDARD line items if you have this feature enabled on your network. + * + * Generated from protobuf field optional int64 contracted_units_bought = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getContractedUnitsBought() + { + return isset($this->contracted_units_bought) ? $this->contracted_units_bought : 0; + } + + public function hasContractedUnitsBought() + { + return isset($this->contracted_units_bought); + } + + public function clearContractedUnitsBought() + { + unset($this->contracted_units_bought); + } + + /** + * Optional. This attribute is only applicable for certain line item types and + * acts as an "FYI" or note, which does not impact adserving or other backend + * systems. For SPONSORSHIP line items, this represents the minimum quantity, + * which is a lifetime impression volume goal for reporting purposes only. For + * STANDARD line items, this represent the contracted quantity, which is the + * number of units specified in the contract the advertiser has bought for + * this LineItem. This field is just a "FYI" for traffickers to manually + * intervene with the LineItem when needed. This attribute is only available + * for STANDARD line items if you have this feature enabled on your network. + * + * Generated from protobuf field optional int64 contracted_units_bought = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setContractedUnitsBought($var) + { + GPBUtil::checkInt64($var); + $this->contracted_units_bought = $var; + + return $this; + } + + /** + * Required. Details about the creatives that are expected to serve through + * this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 25 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativePlaceholder> + */ + public function getCreativePlaceholders() + { + return $this->creative_placeholders; + } + + /** + * Required. Details about the creatives that are expected to serve through + * this LineItem. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativePlaceholder creative_placeholders = 25 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreativePlaceholder[] $var + * @return $this + */ + public function setCreativePlaceholders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativePlaceholder::class); + $this->creative_placeholders = $arr; + + return $this; + } + + /** + * Optional. Non-empty default. The environment that the LineItem is + * targeting. The default value is BROWSER. If this value is VIDEO_PLAYER, + * then this line item can only target AdUnits that have AdUnitSizes whose + * environmentType is also VIDEO_PLAYER. + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getEnvironmentType() + { + return isset($this->environment_type) ? $this->environment_type : 0; + } + + public function hasEnvironmentType() + { + return isset($this->environment_type); + } + + public function clearEnvironmentType() + { + unset($this->environment_type); + } + + /** + * Optional. Non-empty default. The environment that the LineItem is + * targeting. The default value is BROWSER. If this value is VIDEO_PLAYER, + * then this line item can only target AdUnits that have AdUnitSizes whose + * environmentType is also VIDEO_PLAYER. + * + * Generated from protobuf field optional .google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType environment_type = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setEnvironmentType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\EnvironmentTypeEnum\EnvironmentType::class); + $this->environment_type = $var; + + return $this; + } + + /** + * Optional. The delivery option for companions. Setting this field is only + * meaningful if the following conditions are met: + * - The "Guaranteed roadblocks" feature is enabled on your network. + * - One of the following is true (both cannot be true, these are mutually + * exclusive). + * - The environmentType is VIDEO_PLAYER. + * - The roadblockingType is CREATIVE_SET. + * This field defaults to OPTIONAL if the conditions are met. + * In all other cases it defaults to UNKNOWN and is not meaningful. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanionDeliveryOptionEnum.CompanionDeliveryOption companion_delivery_option = 27 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCompanionDeliveryOption() + { + return isset($this->companion_delivery_option) ? $this->companion_delivery_option : 0; + } + + public function hasCompanionDeliveryOption() + { + return isset($this->companion_delivery_option); + } + + public function clearCompanionDeliveryOption() + { + unset($this->companion_delivery_option); + } + + /** + * Optional. The delivery option for companions. Setting this field is only + * meaningful if the following conditions are met: + * - The "Guaranteed roadblocks" feature is enabled on your network. + * - One of the following is true (both cannot be true, these are mutually + * exclusive). + * - The environmentType is VIDEO_PLAYER. + * - The roadblockingType is CREATIVE_SET. + * This field defaults to OPTIONAL if the conditions are met. + * In all other cases it defaults to UNKNOWN and is not meaningful. + * + * Generated from protobuf field optional .google.ads.admanager.v1.CompanionDeliveryOptionEnum.CompanionDeliveryOption companion_delivery_option = 27 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCompanionDeliveryOption($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\CompanionDeliveryOptionEnum\CompanionDeliveryOption::class); + $this->companion_delivery_option = $var; + + return $this; + } + + /** + * Input only. The flag indicates whether overbooking should be allowed when + * creating or updating reservations of line item types SPONSORSHIP and + * STANDARD. When true, operations on this line item will never + * trigger a ForecastError, which corresponds to an overbook warning in the + * UI. The default value is false. Note: this field won't persist on the + * line item itself, and the value will only affect the current request. + * + * Generated from protobuf field optional bool allow_overbook = 28 [(.google.api.field_behavior) = INPUT_ONLY]; + * @return bool + */ + public function getAllowOverbook() + { + return isset($this->allow_overbook) ? $this->allow_overbook : false; + } + + public function hasAllowOverbook() + { + return isset($this->allow_overbook); + } + + public function clearAllowOverbook() + { + unset($this->allow_overbook); + } + + /** + * Input only. The flag indicates whether overbooking should be allowed when + * creating or updating reservations of line item types SPONSORSHIP and + * STANDARD. When true, operations on this line item will never + * trigger a ForecastError, which corresponds to an overbook warning in the + * UI. The default value is false. Note: this field won't persist on the + * line item itself, and the value will only affect the current request. + * + * Generated from protobuf field optional bool allow_overbook = 28 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setAllowOverbook($var) + { + GPBUtil::checkBool($var); + $this->allow_overbook = $var; + + return $this; + } + + /** + * Input only. The flag indicates whether the inventory check should be + * skipped when creating or updating a line item. The default value is false. + * Note: this field won't persist on the line item itself, and the value will + * only affect the current request. + * + * Generated from protobuf field optional bool skip_inventory_check = 29 [(.google.api.field_behavior) = INPUT_ONLY]; + * @return bool + */ + public function getSkipInventoryCheck() + { + return isset($this->skip_inventory_check) ? $this->skip_inventory_check : false; + } + + public function hasSkipInventoryCheck() + { + return isset($this->skip_inventory_check); + } + + public function clearSkipInventoryCheck() + { + unset($this->skip_inventory_check); + } + + /** + * Input only. The flag indicates whether the inventory check should be + * skipped when creating or updating a line item. The default value is false. + * Note: this field won't persist on the line item itself, and the value will + * only affect the current request. + * + * Generated from protobuf field optional bool skip_inventory_check = 29 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSkipInventoryCheck($var) + { + GPBUtil::checkBool($var); + $this->skip_inventory_check = $var; + + return $this; + } + + /** + * Input only. True to skip checks for warnings from rules applied to line + * items targeting inventory shared by a distributor partner for cross selling + * when performing an action on this line item. The default is false. Note: + * this field won't persist on the line item itself, and the value will only + * affect the current request. + * + * Generated from protobuf field optional bool skip_cross_selling_rule_warning_checks = 30 [(.google.api.field_behavior) = INPUT_ONLY]; + * @return bool + */ + public function getSkipCrossSellingRuleWarningChecks() + { + return isset($this->skip_cross_selling_rule_warning_checks) ? $this->skip_cross_selling_rule_warning_checks : false; + } + + public function hasSkipCrossSellingRuleWarningChecks() + { + return isset($this->skip_cross_selling_rule_warning_checks); + } + + public function clearSkipCrossSellingRuleWarningChecks() + { + unset($this->skip_cross_selling_rule_warning_checks); + } + + /** + * Input only. True to skip checks for warnings from rules applied to line + * items targeting inventory shared by a distributor partner for cross selling + * when performing an action on this line item. The default is false. Note: + * this field won't persist on the line item itself, and the value will only + * affect the current request. + * + * Generated from protobuf field optional bool skip_cross_selling_rule_warning_checks = 30 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSkipCrossSellingRuleWarningChecks($var) + { + GPBUtil::checkBool($var); + $this->skip_cross_selling_rule_warning_checks = $var; + + return $this; + } + + /** + * Input only. The flag indicates whether inventory should be reserved when + * creating a line item of types SPONSORSHIP and STANDARD in an unapproved + * Order. The default value is false. + * + * Generated from protobuf field optional bool reserve_on_creation = 31 [(.google.api.field_behavior) = INPUT_ONLY]; + * @return bool + */ + public function getReserveOnCreation() + { + return isset($this->reserve_on_creation) ? $this->reserve_on_creation : false; + } + + public function hasReserveOnCreation() + { + return isset($this->reserve_on_creation); + } + + public function clearReserveOnCreation() + { + unset($this->reserve_on_creation); + } + + /** + * Input only. The flag indicates whether inventory should be reserved when + * creating a line item of types SPONSORSHIP and STANDARD in an unapproved + * Order. The default value is false. + * + * Generated from protobuf field optional bool reserve_on_creation = 31 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setReserveOnCreation($var) + { + GPBUtil::checkBool($var); + $this->reserve_on_creation = $var; + + return $this; + } + + /** + * Output only. Contains trafficking statistics for the line item. This will + * be empty in case there are no statistics for a line item yet. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemStats stats = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Ads\AdManager\V1\LineItemStats|null + */ + public function getStats() + { + return $this->stats; + } + + public function hasStats() + { + return isset($this->stats); + } + + public function clearStats() + { + unset($this->stats); + } + + /** + * Output only. Contains trafficking statistics for the line item. This will + * be empty in case there are no statistics for a line item yet. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemStats stats = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\LineItemStats $var + * @return $this + */ + public function setStats($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LineItemStats::class); + $this->stats = $var; + + return $this; + } + + /** + * Output only. Indicates how well the line item has been performing. This + * will be empty if the delivery indicator information is not available due to + * one of the following reasons: + * - The line item is not delivering. + * - The line item has an unlimited goal or cap. + * - The line item has a percentage based goal or cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DeliveryIndicator delivery_indicator = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Ads\AdManager\V1\DeliveryIndicator|null + */ + public function getDeliveryIndicator() + { + return $this->delivery_indicator; + } + + public function hasDeliveryIndicator() + { + return isset($this->delivery_indicator); + } + + public function clearDeliveryIndicator() + { + unset($this->delivery_indicator); + } + + /** + * Output only. Indicates how well the line item has been performing. This + * will be empty if the delivery indicator information is not available due to + * one of the following reasons: + * - The line item is not delivering. + * - The line item has an unlimited goal or cap. + * - The line item has a percentage based goal or cap. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DeliveryIndicator delivery_indicator = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\DeliveryIndicator $var + * @return $this + */ + public function setDeliveryIndicator($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DeliveryIndicator::class); + $this->delivery_indicator = $var; + + return $this; + } + + /** + * Output only. The amount of money allocated to the LineItem. This attribute + * is readonly and is populated by Google. The currency code is readonly. + * + * Generated from protobuf field optional .google.type.Money budget = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Money|null + */ + public function getBudget() + { + return $this->budget; + } + + public function hasBudget() + { + return isset($this->budget); + } + + public function clearBudget() + { + unset($this->budget); + } + + /** + * Output only. The amount of money allocated to the LineItem. This attribute + * is readonly and is populated by Google. The currency code is readonly. + * + * Generated from protobuf field optional .google.type.Money budget = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setBudget($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->budget = $var; + + return $this; + } + + /** + * Output only. The status of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemComputedStatusEnum\LineItemComputedStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. Describes whether or not inventory has been reserved for the + * LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatus reservation_status = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getReservationStatus() + { + return isset($this->reservation_status) ? $this->reservation_status : 0; + } + + public function hasReservationStatus() + { + return isset($this->reservation_status); + } + + public function clearReservationStatus() + { + unset($this->reservation_status); + } + + /** + * Output only. Describes whether or not inventory has been reserved for the + * LineItem. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatus reservation_status = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setReservationStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LineItemReservationStatusEnum\LineItemReservationStatus::class); + $this->reservation_status = $var; + + return $this; + } + + /** + * Output only. The archival status of the LineItem. + * + * Generated from protobuf field optional bool archived = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getArchived() + { + return isset($this->archived) ? $this->archived : false; + } + + public function hasArchived() + { + return isset($this->archived); + } + + public function clearArchived() + { + unset($this->archived); + } + + /** + * Output only. The archival status of the LineItem. + * + * Generated from protobuf field optional bool archived = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setArchived($var) + { + GPBUtil::checkBool($var); + $this->archived = $var; + + return $this; + } + + /** + * Optional. The web property code used for dynamic allocation line items. + * This web property is only required with line item types AD_EXCHANGE and + * ADSENSE. + * + * Generated from protobuf field optional string web_property_code = 49 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getWebPropertyCode() + { + return isset($this->web_property_code) ? $this->web_property_code : ''; + } + + public function hasWebPropertyCode() + { + return isset($this->web_property_code); + } + + public function clearWebPropertyCode() + { + unset($this->web_property_code); + } + + /** + * Optional. The web property code used for dynamic allocation line items. + * This web property is only required with line item types AD_EXCHANGE and + * ADSENSE. + * + * Generated from protobuf field optional string web_property_code = 49 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setWebPropertyCode($var) + { + GPBUtil::checkString($var, True); + $this->web_property_code = $var; + + return $this; + } + + /** + * Optional. The set of labels applied directly to this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 50 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getAppliedLabels() + { + return $this->applied_labels; + } + + /** + * Optional. The set of labels applied directly to this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 50 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->applied_labels = $arr; + + return $this; + } + + /** + * Output only. Contains the set of labels inherited from the order that + * contains this line item and the advertiser that owns the order. If a label + * has been negated, only the negated label is returned. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getEffectiveAppliedLabels() + { + return $this->effective_applied_labels; + } + + /** + * Output only. Contains the set of labels inherited from the order that + * contains this line item and the advertiser that owns the order. If a label + * has been negated, only the negated label is returned. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setEffectiveAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->effective_applied_labels = $arr; + + return $this; + } + + /** + * Optional. If a line item has a series of competitive exclusions on it, it + * could be blocked from serving with line items from the same advertiser. + * Setting this to true will allow line items from the same advertiser to + * serve regardless of the other competitive exclusion labels being applied. + * + * Generated from protobuf field optional bool same_advertiser_exception_enabled = 52 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSameAdvertiserExceptionEnabled() + { + return isset($this->same_advertiser_exception_enabled) ? $this->same_advertiser_exception_enabled : false; + } + + public function hasSameAdvertiserExceptionEnabled() + { + return isset($this->same_advertiser_exception_enabled); + } + + public function clearSameAdvertiserExceptionEnabled() + { + unset($this->same_advertiser_exception_enabled); + } + + /** + * Optional. If a line item has a series of competitive exclusions on it, it + * could be blocked from serving with line items from the same advertiser. + * Setting this to true will allow line items from the same advertiser to + * serve regardless of the other competitive exclusion labels being applied. + * + * Generated from protobuf field optional bool same_advertiser_exception_enabled = 52 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSameAdvertiserExceptionEnabled($var) + { + GPBUtil::checkBool($var); + $this->same_advertiser_exception_enabled = $var; + + return $this; + } + + /** + * Output only. The application that last modified this line item. + * + * Generated from protobuf field optional string update_source = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getUpdateSource() + { + return isset($this->update_source) ? $this->update_source : ''; + } + + public function hasUpdateSource() + { + return isset($this->update_source); + } + + public function clearUpdateSource() + { + unset($this->update_source); + } + + /** + * Output only. The application that last modified this line item. + * + * Generated from protobuf field optional string update_source = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setUpdateSource($var) + { + GPBUtil::checkString($var, True); + $this->update_source = $var; + + return $this; + } + + /** + * Optional. Provides any additional notes that may annotate the LineItem. + * This attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 54 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getNotes() + { + return isset($this->notes) ? $this->notes : ''; + } + + public function hasNotes() + { + return isset($this->notes); + } + + public function clearNotes() + { + unset($this->notes); + } + + /** + * Optional. Provides any additional notes that may annotate the LineItem. + * This attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 54 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setNotes($var) + { + GPBUtil::checkString($var, True); + $this->notes = $var; + + return $this; + } + + /** + * Optional. Non-empty default. The CompetitiveConstraintScope for the + * competitive exclusion labels assigned to this line item. This field + * defaults to POD. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ExclusionScopeEnum.ExclusionScope competitive_constraint_scope = 56 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getCompetitiveConstraintScope() + { + return isset($this->competitive_constraint_scope) ? $this->competitive_constraint_scope : 0; + } + + public function hasCompetitiveConstraintScope() + { + return isset($this->competitive_constraint_scope); + } + + public function clearCompetitiveConstraintScope() + { + unset($this->competitive_constraint_scope); + } + + /** + * Optional. Non-empty default. The CompetitiveConstraintScope for the + * competitive exclusion labels assigned to this line item. This field + * defaults to POD. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ExclusionScopeEnum.ExclusionScope competitive_constraint_scope = 56 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setCompetitiveConstraintScope($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ExclusionScopeEnum\ExclusionScope::class); + $this->competitive_constraint_scope = $var; + + return $this; + } + + /** + * Output only. The time this line item was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The time this line item was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Output only. The time this line item was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 58 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The time this line item was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 58 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Optional. The values of the custom fields associated with this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 59 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomFieldValue> + */ + public function getCustomFieldValues() + { + return $this->custom_field_values; + } + + /** + * Optional. The values of the custom fields associated with this line item. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 59 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomFieldValue[] $var + * @return $this + */ + public function setCustomFieldValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomFieldValue::class); + $this->custom_field_values = $arr; + + return $this; + } + + /** + * Output only. Indicates if a LineItem is missing any Creative creatives for + * the creativePlaceholders specified. Creative Creatives can be considered + * missing for several reasons including: + * - Not enough Creative creatives of a certain size have been uploaded, as + * determined by + * [expected_creative_count][google.ads.admanager.v1.CreativePlaceholder.expected_creative_count]. + * For example a LineItem specifies 750x350, 400x200 but only a 750x350 was + * uploaded. Or LineItem specifies 750x350 with an expected count of 2, but + * only one was uploaded. + * - The [Creative.applied_labels][] of an associated Creative don't match + * the + * [CreativePlaceholder.applied_labels][google.ads.admanager.v1.CreativePlaceholder.applied_labels] + * of the LineItem. For example LineItem specifies 750x350 with a Foo + * AppliedLabel but a 750x350 creative without a AppliedLabel was uploaded. + * + * Generated from protobuf field optional bool missing_creatives = 61 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getMissingCreatives() + { + return isset($this->missing_creatives) ? $this->missing_creatives : false; + } + + public function hasMissingCreatives() + { + return isset($this->missing_creatives); + } + + public function clearMissingCreatives() + { + unset($this->missing_creatives); + } + + /** + * Output only. Indicates if a LineItem is missing any Creative creatives for + * the creativePlaceholders specified. Creative Creatives can be considered + * missing for several reasons including: + * - Not enough Creative creatives of a certain size have been uploaded, as + * determined by + * [expected_creative_count][google.ads.admanager.v1.CreativePlaceholder.expected_creative_count]. + * For example a LineItem specifies 750x350, 400x200 but only a 750x350 was + * uploaded. Or LineItem specifies 750x350 with an expected count of 2, but + * only one was uploaded. + * - The [Creative.applied_labels][] of an associated Creative don't match + * the + * [CreativePlaceholder.applied_labels][google.ads.admanager.v1.CreativePlaceholder.applied_labels] + * of the LineItem. For example LineItem specifies 750x350 with a Foo + * AppliedLabel but a 750x350 creative without a AppliedLabel was uploaded. + * + * Generated from protobuf field optional bool missing_creatives = 61 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setMissingCreatives($var) + { + GPBUtil::checkBool($var); + $this->missing_creatives = $var; + + return $this; + } + + /** + * Optional. Third party auto-pixeling settings for cross-sell Partners. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyMeasurementSettings third_party_measurement_settings = 67 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ThirdPartyMeasurementSettings|null + */ + public function getThirdPartyMeasurementSettings() + { + return $this->third_party_measurement_settings; + } + + public function hasThirdPartyMeasurementSettings() + { + return isset($this->third_party_measurement_settings); + } + + public function clearThirdPartyMeasurementSettings() + { + unset($this->third_party_measurement_settings); + } + + /** + * Optional. Third party auto-pixeling settings for cross-sell Partners. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyMeasurementSettings third_party_measurement_settings = 67 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ThirdPartyMeasurementSettings $var + * @return $this + */ + public function setThirdPartyMeasurementSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ThirdPartyMeasurementSettings::class); + $this->third_party_measurement_settings = $var; + + return $this; + } + + /** + * Optional. Designates this line item as intended for YT Kids app. If true, + * all creatives associated with this line item must be reviewed and approved. + * See the help center article for more information: + * https://support.google.com/yt-partner-sales/answer/10015534. + * + * Generated from protobuf field optional bool youtube_kids_restricted = 74 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getYoutubeKidsRestricted() + { + return isset($this->youtube_kids_restricted) ? $this->youtube_kids_restricted : false; + } + + public function hasYoutubeKidsRestricted() + { + return isset($this->youtube_kids_restricted); + } + + public function clearYoutubeKidsRestricted() + { + unset($this->youtube_kids_restricted); + } + + /** + * Optional. Designates this line item as intended for YT Kids app. If true, + * all creatives associated with this line item must be reviewed and approved. + * See the help center article for more information: + * https://support.google.com/yt-partner-sales/answer/10015534. + * + * Generated from protobuf field optional bool youtube_kids_restricted = 74 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setYoutubeKidsRestricted($var) + { + GPBUtil::checkBool($var); + $this->youtube_kids_restricted = $var; + + return $this; + } + + /** + * Optional. The max duration of a video creative associated with this + * LineItem. This attribute is only meaningful for video line items. This + * attribute is required for video line items and must be greater than 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_creative_duration = 75 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxVideoCreativeDuration() + { + return $this->max_video_creative_duration; + } + + public function hasMaxVideoCreativeDuration() + { + return isset($this->max_video_creative_duration); + } + + public function clearMaxVideoCreativeDuration() + { + unset($this->max_video_creative_duration); + } + + /** + * Optional. The max duration of a video creative associated with this + * LineItem. This attribute is only meaningful for video line items. This + * attribute is required for video line items and must be greater than 0. + * + * Generated from protobuf field optional .google.protobuf.Duration max_video_creative_duration = 75 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxVideoCreativeDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_video_creative_duration = $var; + + return $this; + } + + /** + * Optional. The primary goal that this LineItem is associated with, which is + * used in its pacing and budgeting. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Goal goal = 76 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\Goal|null + */ + public function getGoal() + { + return $this->goal; + } + + public function hasGoal() + { + return isset($this->goal); + } + + public function clearGoal() + { + unset($this->goal); + } + + /** + * Optional. The primary goal that this LineItem is associated with, which is + * used in its pacing and budgeting. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Goal goal = 76 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\Goal $var + * @return $this + */ + public function setGoal($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Goal::class); + $this->goal = $var; + + return $this; + } + + /** + * Optional. The secondary goals that this LineItem is associated with. This + * is required and meaningful only if the + * [line_item_type][google.ads.admanager.v1.LineItem.line_item_type] is + * SPONSORSHIP and [cost_type][google.ads.admanager.v1.LineItem.cost_type] is + * CPM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Goal secondary_goals = 100 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\Goal> + */ + public function getSecondaryGoals() + { + return $this->secondary_goals; + } + + /** + * Optional. The secondary goals that this LineItem is associated with. This + * is required and meaningful only if the + * [line_item_type][google.ads.admanager.v1.LineItem.line_item_type] is + * SPONSORSHIP and [cost_type][google.ads.admanager.v1.LineItem.cost_type] is + * CPM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Goal secondary_goals = 100 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\Goal[] $var + * @return $this + */ + public function setSecondaryGoals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Goal::class); + $this->secondary_goals = $arr; + + return $this; + } + + /** + * Optional. Contains the information for a line item which has a target GRP + * demographic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpSettings grp_settings = 78 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\GrpSettings|null + */ + public function getGrpSettings() + { + return $this->grp_settings; + } + + public function hasGrpSettings() + { + return isset($this->grp_settings); + } + + public function clearGrpSettings() + { + unset($this->grp_settings); + } + + /** + * Optional. Contains the information for a line item which has a target GRP + * demographic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.GrpSettings grp_settings = 78 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\GrpSettings $var + * @return $this + */ + public function setGrpSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\GrpSettings::class); + $this->grp_settings = $var; + + return $this; + } + + /** + * Optional. The deal information associated with this line item, if it is + * programmatic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDealInfo deal_info = 79 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\LineItemDealInfo|null + */ + public function getDealInfo() + { + return $this->deal_info; + } + + public function hasDealInfo() + { + return isset($this->deal_info); + } + + public function clearDealInfo() + { + unset($this->deal_info); + } + + /** + * Optional. The deal information associated with this line item, if it is + * programmatic. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LineItemDealInfo deal_info = 79 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\LineItemDealInfo $var + * @return $this + */ + public function setDealInfo($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LineItemDealInfo::class); + $this->deal_info = $var; + + return $this; + } + + /** + * Optional. Optional IDs of the Company that provide ad verification for this + * line item. + * + * Generated from protobuf field repeated string viewability_provider_companies = 85 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getViewabilityProviderCompanies() + { + return $this->viewability_provider_companies; + } + + /** + * Optional. Optional IDs of the Company that provide ad verification for this + * line item. + * + * Generated from protobuf field repeated string viewability_provider_companies = 85 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setViewabilityProviderCompanies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->viewability_provider_companies = $arr; + + return $this; + } + + /** + * Optional. Non-empty default. Child content eligibility designation for this + * line item. This field defaults to DISALLOWED. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ChildContentEligibilityEnum.ChildContentEligibility child_content_eligibility = 86 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @return int + */ + public function getChildContentEligibility() + { + return isset($this->child_content_eligibility) ? $this->child_content_eligibility : 0; + } + + public function hasChildContentEligibility() + { + return isset($this->child_content_eligibility); + } + + public function clearChildContentEligibility() + { + unset($this->child_content_eligibility); + } + + /** + * Optional. Non-empty default. Child content eligibility designation for this + * line item. This field defaults to DISALLOWED. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ChildContentEligibilityEnum.ChildContentEligibility child_content_eligibility = 86 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT]; + * @param int $var + * @return $this + */ + public function setChildContentEligibility($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ChildContentEligibilityEnum\ChildContentEligibility::class); + $this->child_content_eligibility = $var; + + return $this; + } + + /** + * Optional. Custom XML to be rendered in a custom VAST response at serving + * time. + * + * Generated from protobuf field optional string custom_vast_extension = 88 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCustomVastExtension() + { + return isset($this->custom_vast_extension) ? $this->custom_vast_extension : ''; + } + + public function hasCustomVastExtension() + { + return isset($this->custom_vast_extension); + } + + public function clearCustomVastExtension() + { + unset($this->custom_vast_extension); + } + + /** + * Optional. Custom XML to be rendered in a custom VAST response at serving + * time. + * + * Generated from protobuf field optional string custom_vast_extension = 88 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCustomVastExtension($var) + { + GPBUtil::checkString($var, True); + $this->custom_vast_extension = $var; + + return $this; + } + + /** + * Optional. Whether the line item is enabled for sponsorship exclusivity. If + * true, only exclusive sponsorships can be served on inventory targeted by + * this LineItem. This control should only be available for 100% video + * sponsorships. + * + * Generated from protobuf field optional bool sponsorship_exclusivity_enabled = 89 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSponsorshipExclusivityEnabled() + { + return isset($this->sponsorship_exclusivity_enabled) ? $this->sponsorship_exclusivity_enabled : false; + } + + public function hasSponsorshipExclusivityEnabled() + { + return isset($this->sponsorship_exclusivity_enabled); + } + + public function clearSponsorshipExclusivityEnabled() + { + unset($this->sponsorship_exclusivity_enabled); + } + + /** + * Optional. Whether the line item is enabled for sponsorship exclusivity. If + * true, only exclusive sponsorships can be served on inventory targeted by + * this LineItem. This control should only be available for 100% video + * sponsorships. + * + * Generated from protobuf field optional bool sponsorship_exclusivity_enabled = 89 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSponsorshipExclusivityEnabled($var) + { + GPBUtil::checkBool($var); + $this->sponsorship_exclusivity_enabled = $var; + + return $this; + } + + /** + * Optional. Indicates whether repeated creative serving is enabled for this + * line item. + * + * Generated from protobuf field optional bool repeated_creative_serving_enabled = 90 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRepeatedCreativeServingEnabled() + { + return isset($this->repeated_creative_serving_enabled) ? $this->repeated_creative_serving_enabled : false; + } + + public function hasRepeatedCreativeServingEnabled() + { + return isset($this->repeated_creative_serving_enabled); + } + + public function clearRepeatedCreativeServingEnabled() + { + unset($this->repeated_creative_serving_enabled); + } + + /** + * Optional. Indicates whether repeated creative serving is enabled for this + * line item. + * + * Generated from protobuf field optional bool repeated_creative_serving_enabled = 90 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRepeatedCreativeServingEnabled($var) + { + GPBUtil::checkBool($var); + $this->repeated_creative_serving_enabled = $var; + + return $this; + } + + /** + * Required. Contains the targeting criteria for the ad campaign. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 93 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Targeting|null + */ + public function getTargeting() + { + return $this->targeting; + } + + public function hasTargeting() + { + return isset($this->targeting); + } + + public function clearTargeting() + { + unset($this->targeting); + } + + /** + * Required. Contains the targeting criteria for the ad campaign. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 93 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Targeting $var + * @return $this + */ + public function setTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Targeting::class); + $this->targeting = $var; + + return $this; + } + + /** + * Optional. A list of CreativeTargeting objects that can be used to specify + * creative level targeting for this line item. Creative level targeting is + * specified in a + * [CreativePlaceholder.creative_targeting_display_name][google.ads.admanager.v1.CreativePlaceholder.creative_targeting_display_name] + * field by referencing the [CreativeTargeting.display_name][] field. It also + * needs to be re-specified in the + * [LineItemCreativeAssociation.targeting_display_name][] field when + * associating a line item with a creative that fits into that placeholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTargeting creative_targetings = 94 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativeTargeting> + */ + public function getCreativeTargetings() + { + return $this->creative_targetings; + } + + /** + * Optional. A list of CreativeTargeting objects that can be used to specify + * creative level targeting for this line item. Creative level targeting is + * specified in a + * [CreativePlaceholder.creative_targeting_display_name][google.ads.admanager.v1.CreativePlaceholder.creative_targeting_display_name] + * field by referencing the [CreativeTargeting.display_name][] field. It also + * needs to be re-specified in the + * [LineItemCreativeAssociation.targeting_display_name][] field when + * associating a line item with a creative that fits into that placeholder. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTargeting creative_targetings = 94 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CreativeTargeting[] $var + * @return $this + */ + public function setCreativeTargetings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativeTargeting::class); + $this->creative_targetings = $arr; + + return $this; + } + + /** + * Optional. The set of allowed formats for this line item. + * If empty, all formats are allowed. This property only applies + * to programmatic video line items. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemAllowedFormatEnum.LineItemAllowedFormat allowed_formats = 112 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAllowedFormats() + { + return $this->allowed_formats; + } + + /** + * Optional. The set of allowed formats for this line item. + * If empty, all formats are allowed. This property only applies + * to programmatic video line items. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItemAllowedFormatEnum.LineItemAllowedFormat allowed_formats = 112 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setAllowedFormats($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\LineItemAllowedFormatEnum\LineItemAllowedFormat::class); + $this->allowed_formats = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum.php new file mode 100644 index 000000000000..dead5e895cdd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemAllowedFormatEnum + */ +class LineItemAllowedFormatEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemAllowedFormatEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum/LineItemAllowedFormat.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum/LineItemAllowedFormat.php new file mode 100644 index 000000000000..a0006d898669 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemAllowedFormatEnum/LineItemAllowedFormat.php @@ -0,0 +1,69 @@ +google.ads.admanager.v1.LineItemAllowedFormatEnum.LineItemAllowedFormat + */ +class LineItemAllowedFormat +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LINE_ITEM_ALLOWED_FORMAT_UNSPECIFIED = 0; + */ + const LINE_ITEM_ALLOWED_FORMAT_UNSPECIFIED = 0; + /** + * Audio format. + * + * Generated from protobuf enum AUDIO = 1; + */ + const AUDIO = 1; + /** + * Video format. + * + * Generated from protobuf enum VIDEO = 2; + */ + const VIDEO = 2; + /** + * Display format. + * + * Generated from protobuf enum DISPLAY = 3; + */ + const DISPLAY = 3; + + private static $valueToName = [ + self::LINE_ITEM_ALLOWED_FORMAT_UNSPECIFIED => 'LINE_ITEM_ALLOWED_FORMAT_UNSPECIFIED', + self::AUDIO => 'AUDIO', + self::VIDEO => 'VIDEO', + self::DISPLAY => 'DISPLAY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum.php new file mode 100644 index 000000000000..c5f0afea0a1e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemComputedStatusEnum + */ +class LineItemComputedStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum/LineItemComputedStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum/LineItemComputedStatus.php new file mode 100644 index 000000000000..142e7c710fbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemComputedStatusEnum/LineItemComputedStatus.php @@ -0,0 +1,129 @@ +google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatus + */ +class LineItemComputedStatus +{ + /** + * No value specified. + * + * Generated from protobuf enum LINE_ITEM_COMPUTED_STATUS_UNSPECIFIED = 0; + */ + const LINE_ITEM_COMPUTED_STATUS_UNSPECIFIED = 0; + /** + * The LineItem has been canceled and is no longer eligible to serve. This + * is a legacy status. + * + * Generated from protobuf enum CANCELED = 1; + */ + const CANCELED = 1; + /** + * The LineItem has completed its run. + * + * Generated from protobuf enum COMPLETED = 2; + */ + const COMPLETED = 2; + /** + * The LineItem has begun serving. + * + * Generated from protobuf enum DELIVERING = 3; + */ + const DELIVERING = 3; + /** + * The LineItem has past its endDateTime with an auto extension, but hasn't + * met its goal. + * + * Generated from protobuf enum DELIVERY_EXTENDED = 4; + */ + const DELIVERY_EXTENDED = 4; + /** + * The LineItem has been disapproved and is not eligible to serve. + * + * Generated from protobuf enum DISAPPROVED = 5; + */ + const DISAPPROVED = 5; + /** + * The LineItem is still being drafted. + * + * Generated from protobuf enum DRAFT = 6; + */ + const DRAFT = 6; + /** + * The LineItem is inactive. It is either caused by missing creatives or the + * network disabling auto-activation. + * + * Generated from protobuf enum INACTIVE = 7; + */ + const INACTIVE = 7; + /** + * The LineItem has been paused from serving. + * + * Generated from protobuf enum PAUSED = 8; + */ + const PAUSED = 8; + /** + * The LineItem has been paused and its reserved inventory has been + * released. The LineItem will not serve. + * + * Generated from protobuf enum PAUSED_INVENTORY_RELEASED = 9; + */ + const PAUSED_INVENTORY_RELEASED = 9; + /** + * The LineItem has been submitted for approval. + * + * Generated from protobuf enum PENDING_APPROVAL = 10; + */ + const PENDING_APPROVAL = 10; + /** + * The LineItem has been activated and is ready to serve. + * + * Generated from protobuf enum READY = 11; + */ + const READY = 11; + + private static $valueToName = [ + self::LINE_ITEM_COMPUTED_STATUS_UNSPECIFIED => 'LINE_ITEM_COMPUTED_STATUS_UNSPECIFIED', + self::CANCELED => 'CANCELED', + self::COMPLETED => 'COMPLETED', + self::DELIVERING => 'DELIVERING', + self::DELIVERY_EXTENDED => 'DELIVERY_EXTENDED', + self::DISAPPROVED => 'DISAPPROVED', + self::DRAFT => 'DRAFT', + self::INACTIVE => 'INACTIVE', + self::PAUSED => 'PAUSED', + self::PAUSED_INVENTORY_RELEASED => 'PAUSED_INVENTORY_RELEASED', + self::PENDING_APPROVAL => 'PENDING_APPROVAL', + self::READY => 'READY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum.php new file mode 100644 index 000000000000..acedec7883cb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemCostTypeEnum + */ +class LineItemCostTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum/LineItemCostType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum/LineItemCostType.php new file mode 100644 index 000000000000..7c479717fc4b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemCostTypeEnum/LineItemCostType.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostType + */ +class LineItemCostType +{ + /** + * Not specified value. + * + * Generated from protobuf enum LINE_ITEM_COST_TYPE_UNSPECIFIED = 0; + */ + const LINE_ITEM_COST_TYPE_UNSPECIFIED = 0; + /** + * Starting February 22, 2024 the CPA LineItemCostType will only be read as + * part of Spotlight deprecation, learn more at: + * https://support.google.com/admanager/answer/7519021#spotlight + * Cost per action. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * + * Generated from protobuf enum CPA = 1 [deprecated = true]; + */ + const CPA = 1; + /** + * Cost per click. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE] + * + * Generated from protobuf enum CPC = 2; + */ + const CPC = 2; + /** + * Cost per day. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * + * Generated from protobuf enum CPD = 3; + */ + const CPD = 3; + /** + * Cost per mille (thousand) impressions. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK] + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE] + * + * Generated from protobuf enum CPM = 4; + */ + const CPM = 4; + /** + * Cost per mille (thousand) Active View viewable impressions. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * + * Generated from protobuf enum VCPM = 5; + */ + const VCPM = 5; + /** + * Cost per millie (thousand) in-target impressions. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * + * Generated from protobuf enum CPM_IN_TARGET = 6; + */ + const CPM_IN_TARGET = 6; + /** + * Cost for the entire flight of the deal. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be must be + * one of: + * * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP] + * + * Generated from protobuf enum CPF = 7; + */ + const CPF = 7; + /** + * Cost per completed view. The line item + * [type][google.ads.admanager.v1.LineItem.line_item_type] must be one of: + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]. + * + * Generated from protobuf enum CPCV = 8; + */ + const CPCV = 8; + + private static $valueToName = [ + self::LINE_ITEM_COST_TYPE_UNSPECIFIED => 'LINE_ITEM_COST_TYPE_UNSPECIFIED', + self::CPA => 'CPA', + self::CPC => 'CPC', + self::CPD => 'CPD', + self::CPM => 'CPM', + self::VCPM => 'VCPM', + self::CPM_IN_TARGET => 'CPM_IN_TARGET', + self::CPF => 'CPF', + self::CPCV => 'CPCV', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDealInfo.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDealInfo.php new file mode 100644 index 000000000000..6092fcf5d00e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDealInfo.php @@ -0,0 +1,81 @@ +google.ads.admanager.v1.LineItemDealInfo + */ +class LineItemDealInfo extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The external deal ID shared between seller and buyer. This field + * is only present if the deal has been finalized. + * + * Generated from protobuf field optional int64 external_deal_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $external_deal_id = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $external_deal_id + * Optional. The external deal ID shared between seller and buyer. This field + * is only present if the deal has been finalized. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemDealInfo::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The external deal ID shared between seller and buyer. This field + * is only present if the deal has been finalized. + * + * Generated from protobuf field optional int64 external_deal_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getExternalDealId() + { + return isset($this->external_deal_id) ? $this->external_deal_id : 0; + } + + public function hasExternalDealId() + { + return isset($this->external_deal_id); + } + + public function clearExternalDealId() + { + unset($this->external_deal_id); + } + + /** + * Optional. The external deal ID shared between seller and buyer. This field + * is only present if the deal has been finalized. + * + * Generated from protobuf field optional int64 external_deal_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setExternalDealId($var) + { + GPBUtil::checkInt64($var); + $this->external_deal_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum.php new file mode 100644 index 000000000000..f4bd40bb6156 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum + */ +class LineItemDeliveryForecastSourceEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemDeliveryForecastSourceEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum/LineItemDeliveryForecastSource.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum/LineItemDeliveryForecastSource.php new file mode 100644 index 000000000000..092f670a0b2e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryForecastSourceEnum/LineItemDeliveryForecastSource.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.LineItemDeliveryForecastSourceEnum.LineItemDeliveryForecastSource + */ +class LineItemDeliveryForecastSource +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LINE_ITEM_DELIVERY_FORECAST_SOURCE_UNSPECIFIED = 0; + */ + const LINE_ITEM_DELIVERY_FORECAST_SOURCE_UNSPECIFIED = 0; + /** + * A user specified custom pacing curve will be used to pace line item + * delivery. + * + * Generated from protobuf enum CUSTOM_PACING_CURVE = 1; + */ + const CUSTOM_PACING_CURVE = 1; + /** + * The line item's projected future traffic will be used to pace line item + * delivery. + * + * Generated from protobuf enum FORECASTING = 2; + */ + const FORECASTING = 2; + /** + * The line item's historical traffic shape will be used to pace line item + * delivery. + * + * Generated from protobuf enum HISTORICAL = 3; + */ + const HISTORICAL = 3; + + private static $valueToName = [ + self::LINE_ITEM_DELIVERY_FORECAST_SOURCE_UNSPECIFIED => 'LINE_ITEM_DELIVERY_FORECAST_SOURCE_UNSPECIFIED', + self::CUSTOM_PACING_CURVE => 'CUSTOM_PACING_CURVE', + self::FORECASTING => 'FORECASTING', + self::HISTORICAL => 'HISTORICAL', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum.php new file mode 100644 index 000000000000..1673fa2464a9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemDeliveryRateTypeEnum + */ +class LineItemDeliveryRateTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeliveryEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum/LineItemDeliveryRateType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum/LineItemDeliveryRateType.php new file mode 100644 index 000000000000..1d66851f0ef8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDeliveryRateTypeEnum/LineItemDeliveryRateType.php @@ -0,0 +1,74 @@ +google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType + */ +class LineItemDeliveryRateType +{ + /** + * No value specified. + * + * Generated from protobuf enum LINE_ITEM_DELIVERY_RATE_TYPE_UNSPECIFIED = 0; + */ + const LINE_ITEM_DELIVERY_RATE_TYPE_UNSPECIFIED = 0; + /** + * The booked impressions may delivered well before the end time. Other + * lower-priority or lower-value LineItems will be stopped from delivering + * until the LineItem meets the number of impressions or clicks it is + * booked for. + * + * Generated from protobuf enum AS_FAST_AS_POSSIBLE = 3; + */ + const AS_FAST_AS_POSSIBLE = 3; + /** + * LineItems are served as evenly as possible across the number of days + * specified in a LineItem's duration. + * + * Generated from protobuf enum EVENLY = 1; + */ + const EVENLY = 1; + /** + * LineItems are served more aggressively in the beginning of the flight + * date. + * + * Generated from protobuf enum FRONTLOADED = 2; + */ + const FRONTLOADED = 2; + + private static $valueToName = [ + self::LINE_ITEM_DELIVERY_RATE_TYPE_UNSPECIFIED => 'LINE_ITEM_DELIVERY_RATE_TYPE_UNSPECIFIED', + self::AS_FAST_AS_POSSIBLE => 'AS_FAST_AS_POSSIBLE', + self::EVENLY => 'EVENLY', + self::FRONTLOADED => 'FRONTLOADED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDiscount.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDiscount.php new file mode 100644 index 000000000000..bf429b6ed29d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemDiscount.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.LineItemDiscount + */ +class LineItemDiscount extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The type of discount being applied to a LineItem, either + * percentage based or absolute. This attribute is optional and defaults to + * PERCENTAGE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DiscountTypeEnum.DiscountType discount_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $discount_type = null; + /** + * Optional. The number here is either a percentage or an absolute value + * depending on the DiscountType. If the DiscountType is PERCENTAGE, then only + * non-fractional values are supported. + * + * Generated from protobuf field optional double discount = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $discount = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $discount_type + * Optional. The type of discount being applied to a LineItem, either + * percentage based or absolute. This attribute is optional and defaults to + * PERCENTAGE. + * @type float $discount + * Optional. The number here is either a percentage or an absolute value + * depending on the DiscountType. If the DiscountType is PERCENTAGE, then only + * non-fractional values are supported. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemDiscount::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The type of discount being applied to a LineItem, either + * percentage based or absolute. This attribute is optional and defaults to + * PERCENTAGE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DiscountTypeEnum.DiscountType discount_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getDiscountType() + { + return isset($this->discount_type) ? $this->discount_type : 0; + } + + public function hasDiscountType() + { + return isset($this->discount_type); + } + + public function clearDiscountType() + { + unset($this->discount_type); + } + + /** + * Optional. The type of discount being applied to a LineItem, either + * percentage based or absolute. This attribute is optional and defaults to + * PERCENTAGE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DiscountTypeEnum.DiscountType discount_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setDiscountType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DiscountTypeEnum\DiscountType::class); + $this->discount_type = $var; + + return $this; + } + + /** + * Optional. The number here is either a percentage or an absolute value + * depending on the DiscountType. If the DiscountType is PERCENTAGE, then only + * non-fractional values are supported. + * + * Generated from protobuf field optional double discount = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return float + */ + public function getDiscount() + { + return isset($this->discount) ? $this->discount : 0.0; + } + + public function hasDiscount() + { + return isset($this->discount); + } + + public function clearDiscount() + { + unset($this->discount); + } + + /** + * Optional. The number here is either a percentage or an absolute value + * depending on the DiscountType. If the DiscountType is PERCENTAGE, then only + * non-fractional values are supported. + * + * Generated from protobuf field optional double discount = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param float $var + * @return $this + */ + public function setDiscount($var) + { + GPBUtil::checkDouble($var); + $this->discount = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum.php new file mode 100644 index 000000000000..56798c245581 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemReservationStatusEnum + */ +class LineItemReservationStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum/LineItemReservationStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum/LineItemReservationStatus.php new file mode 100644 index 000000000000..a125bf8effe8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemReservationStatusEnum/LineItemReservationStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatus + */ +class LineItemReservationStatus +{ + /** + * No value specified + * + * Generated from protobuf enum LINE_ITEM_RESERVATION_STATUS_UNSPECIFIED = 0; + */ + const LINE_ITEM_RESERVATION_STATUS_UNSPECIFIED = 0; + /** + * Indicates that inventory has been reserved for the line item. + * + * Generated from protobuf enum RESERVED = 1; + */ + const RESERVED = 1; + /** + * Indicates that inventory has not been reserved for the line item. + * + * Generated from protobuf enum UNRESERVED = 2; + */ + const UNRESERVED = 2; + + private static $valueToName = [ + self::LINE_ITEM_RESERVATION_STATUS_UNSPECIFIED => 'LINE_ITEM_RESERVATION_STATUS_UNSPECIFIED', + self::RESERVED => 'RESERVED', + self::UNRESERVED => 'UNRESERVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemStats.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemStats.php new file mode 100644 index 000000000000..f42e10da686d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemStats.php @@ -0,0 +1,291 @@ +google.ads.admanager.v1.LineItemStats + */ +class LineItemStats extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The number of impressions delivered. + * + * Generated from protobuf field optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $impressions_delivered = null; + /** + * Output only. The number of clicks delivered + * + * Generated from protobuf field optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $clicks_delivered = null; + /** + * Output only. The number of video completions delivered. + * + * Generated from protobuf field optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $video_completions_delivered = null; + /** + * Output only. The number of video starts delivered. + * + * Generated from protobuf field optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $video_starts_delivered = null; + /** + * Output only. The number of viewable impressions delivered. + * + * Generated from protobuf field optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $viewable_impressions_delivered = null; + /** + * Output only. Clicks or impressions delivered for each of the last 7 days. + * Values are in chronological order (oldest to newest). + * + * Generated from protobuf field repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $delivery_data; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $impressions_delivered + * Output only. The number of impressions delivered. + * @type int|string $clicks_delivered + * Output only. The number of clicks delivered + * @type int|string $video_completions_delivered + * Output only. The number of video completions delivered. + * @type int|string $video_starts_delivered + * Output only. The number of video starts delivered. + * @type int|string $viewable_impressions_delivered + * Output only. The number of viewable impressions delivered. + * @type int[]|string[] $delivery_data + * Output only. Clicks or impressions delivered for each of the last 7 days. + * Values are in chronological order (oldest to newest). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemStats::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The number of impressions delivered. + * + * Generated from protobuf field optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getImpressionsDelivered() + { + return isset($this->impressions_delivered) ? $this->impressions_delivered : 0; + } + + public function hasImpressionsDelivered() + { + return isset($this->impressions_delivered); + } + + public function clearImpressionsDelivered() + { + unset($this->impressions_delivered); + } + + /** + * Output only. The number of impressions delivered. + * + * Generated from protobuf field optional int64 impressions_delivered = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setImpressionsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->impressions_delivered = $var; + + return $this; + } + + /** + * Output only. The number of clicks delivered + * + * Generated from protobuf field optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getClicksDelivered() + { + return isset($this->clicks_delivered) ? $this->clicks_delivered : 0; + } + + public function hasClicksDelivered() + { + return isset($this->clicks_delivered); + } + + public function clearClicksDelivered() + { + unset($this->clicks_delivered); + } + + /** + * Output only. The number of clicks delivered + * + * Generated from protobuf field optional int64 clicks_delivered = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setClicksDelivered($var) + { + GPBUtil::checkInt64($var); + $this->clicks_delivered = $var; + + return $this; + } + + /** + * Output only. The number of video completions delivered. + * + * Generated from protobuf field optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getVideoCompletionsDelivered() + { + return isset($this->video_completions_delivered) ? $this->video_completions_delivered : 0; + } + + public function hasVideoCompletionsDelivered() + { + return isset($this->video_completions_delivered); + } + + public function clearVideoCompletionsDelivered() + { + unset($this->video_completions_delivered); + } + + /** + * Output only. The number of video completions delivered. + * + * Generated from protobuf field optional int64 video_completions_delivered = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setVideoCompletionsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->video_completions_delivered = $var; + + return $this; + } + + /** + * Output only. The number of video starts delivered. + * + * Generated from protobuf field optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getVideoStartsDelivered() + { + return isset($this->video_starts_delivered) ? $this->video_starts_delivered : 0; + } + + public function hasVideoStartsDelivered() + { + return isset($this->video_starts_delivered); + } + + public function clearVideoStartsDelivered() + { + unset($this->video_starts_delivered); + } + + /** + * Output only. The number of video starts delivered. + * + * Generated from protobuf field optional int64 video_starts_delivered = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setVideoStartsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->video_starts_delivered = $var; + + return $this; + } + + /** + * Output only. The number of viewable impressions delivered. + * + * Generated from protobuf field optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getViewableImpressionsDelivered() + { + return isset($this->viewable_impressions_delivered) ? $this->viewable_impressions_delivered : 0; + } + + public function hasViewableImpressionsDelivered() + { + return isset($this->viewable_impressions_delivered); + } + + public function clearViewableImpressionsDelivered() + { + unset($this->viewable_impressions_delivered); + } + + /** + * Output only. The number of viewable impressions delivered. + * + * Generated from protobuf field optional int64 viewable_impressions_delivered = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setViewableImpressionsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->viewable_impressions_delivered = $var; + + return $this; + } + + /** + * Output only. Clicks or impressions delivered for each of the last 7 days. + * Values are in chronological order (oldest to newest). + * + * Generated from protobuf field repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField|RepeatedField + */ + public function getDeliveryData() + { + return $this->delivery_data; + } + + /** + * Output only. Clicks or impressions delivered for each of the last 7 days. + * Values are in chronological order (oldest to newest). + * + * Generated from protobuf field repeated int64 delivery_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int[]|string[] $var + * @return $this + */ + public function setDeliveryData($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->delivery_data = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum.php new file mode 100644 index 000000000000..31bf11e24020 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LineItemTypeEnum + */ +class LineItemTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum/LineItemType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum/LineItemType.php new file mode 100644 index 000000000000..b81aa2e61f51 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LineItemTypeEnum/LineItemType.php @@ -0,0 +1,146 @@ +google.ads.admanager.v1.LineItemTypeEnum.LineItemType + */ +class LineItemType +{ + /** + * Not specified value. + * + * Generated from protobuf enum LINE_ITEM_TYPE_UNSPECIFIED = 0; + */ + const LINE_ITEM_TYPE_UNSPECIFIED = 0; + /** + * The type of LineItem for which a percentage of all the impressions that + * are being sold are reserved. + * + * Generated from protobuf enum SPONSORSHIP = 12; + */ + const SPONSORSHIP = 12; + /** + * The type of LineItem for which a fixed quantity of impressions or + * clicks are reserved. + * + * Generated from protobuf enum STANDARD = 13; + */ + const STANDARD = 13; + /** + * The type of LineItem most commonly used to fill a site's unsold + * inventory if not contractually obligated to deliver a requested number + * of impressions. Uses daily percentage of unsold impressions or clicks. + * + * Generated from protobuf enum NETWORK = 9; + */ + const NETWORK = 9; + /** + * The type of LineItem for which a fixed quantity of impressions or + * clicks will be delivered at a priority lower than the STANDARD type. + * + * Generated from protobuf enum BULK = 4; + */ + const BULK = 4; + /** + * The type of LineItem most commonly used to fill a site's unsold + * inventory if not contractually obligated to deliver a requested number + * of impressions. Uses fixed quantity percentage of unsold impressions or + * clicks. + * + * Generated from protobuf enum PRICE_PRIORITY = 11; + */ + const PRICE_PRIORITY = 11; + /** + * The type of LineItem typically used for ads that promote products and + * services chosen by the publisher. + * + * Generated from protobuf enum HOUSE = 7; + */ + const HOUSE = 7; + /** + * The type of LineItem used for ads that track ads being served + * externally of Ad Manager. + * + * Generated from protobuf enum CLICK_TRACKING = 6; + */ + const CLICK_TRACKING = 6; + /** + * Targets the LineItem to specific inventory available to AdSense buyers. + * + * Generated from protobuf enum ADSENSE = 2; + */ + const ADSENSE = 2; + /** + * Targets the LineItem to specific inventory available to Authorized Buyers + * and the Open Auction. + * + * Generated from protobuf enum AD_EXCHANGE = 3; + */ + const AD_EXCHANGE = 3; + /** + * Represents a non-monetizable video LineItem that targets one or more + * bumper positions, which are short house video messages used by + * publishers to separate content from ad breaks. + * + * Generated from protobuf enum BUMPER = 5; + */ + const BUMPER = 5; + /** + * The type of LineItem for which there are no impressions reserved, and + * will serve for a second price bid. + * + * Generated from protobuf enum PREFERRED_DEAL = 10; + */ + const PREFERRED_DEAL = 10; + /** + * The type of LineItem used for configuring audience extension campaigns. + * + * Generated from protobuf enum AUDIENCE_EXTENSION = 14; + */ + const AUDIENCE_EXTENSION = 14; + + private static $valueToName = [ + self::LINE_ITEM_TYPE_UNSPECIFIED => 'LINE_ITEM_TYPE_UNSPECIFIED', + self::SPONSORSHIP => 'SPONSORSHIP', + self::STANDARD => 'STANDARD', + self::NETWORK => 'NETWORK', + self::BULK => 'BULK', + self::PRICE_PRIORITY => 'PRICE_PRIORITY', + self::HOUSE => 'HOUSE', + self::CLICK_TRACKING => 'CLICK_TRACKING', + self::ADSENSE => 'ADSENSE', + self::AD_EXCHANGE => 'AD_EXCHANGE', + self::BUMPER => 'BUMPER', + self::PREFERRED_DEAL => 'PREFERRED_DEAL', + self::AUDIENCE_EXTENSION => 'AUDIENCE_EXTENSION', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDevice.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDevice.php new file mode 100644 index 000000000000..9c27bada0fb1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDevice.php @@ -0,0 +1,208 @@ +google.ads.admanager.v1.LinkedDevice + */ +class LinkedDevice extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `LinkedDevice`. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The display name of the LinkedDevice. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Output only. The user who owns this device linking. + * Format: `networks/{network_code}/users/{user}` + * + * Generated from protobuf field optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $owner = null; + /** + * Optional. The visibility of the device. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $visibility = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `LinkedDevice`. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * @type string $display_name + * Required. The display name of the LinkedDevice. + * @type string $owner + * Output only. The user who owns this device linking. + * Format: `networks/{network_code}/users/{user}` + * @type int $visibility + * Optional. The visibility of the device. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LinkedDeviceMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `LinkedDevice`. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `LinkedDevice`. + * Format: `networks/{network_code}/linkedDevices/{linked_device_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The display name of the LinkedDevice. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the LinkedDevice. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The user who owns this device linking. + * Format: `networks/{network_code}/users/{user}` + * + * Generated from protobuf field optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getOwner() + { + return isset($this->owner) ? $this->owner : ''; + } + + public function hasOwner() + { + return isset($this->owner); + } + + public function clearOwner() + { + unset($this->owner); + } + + /** + * Output only. The user who owns this device linking. + * Format: `networks/{network_code}/users/{user}` + * + * Generated from protobuf field optional string owner = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setOwner($var) + { + GPBUtil::checkString($var, True); + $this->owner = $var; + + return $this; + } + + /** + * Optional. The visibility of the device. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVisibility() + { + return isset($this->visibility) ? $this->visibility : 0; + } + + public function hasVisibility() + { + return isset($this->visibility); + } + + public function clearVisibility() + { + unset($this->visibility); + } + + /** + * Optional. The visibility of the device. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVisibility($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LinkedDeviceVisibilityEnum\LinkedDeviceVisibility::class); + $this->visibility = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum.php new file mode 100644 index 000000000000..81b758e22caa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LinkedDeviceVisibilityEnum + */ +class LinkedDeviceVisibilityEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LinkedDeviceEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum/LinkedDeviceVisibility.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum/LinkedDeviceVisibility.php new file mode 100644 index 000000000000..31a0fd6bf79b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LinkedDeviceVisibilityEnum/LinkedDeviceVisibility.php @@ -0,0 +1,66 @@ +google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility + */ +class LinkedDeviceVisibility +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LINKED_DEVICE_VISIBILITY_UNSPECIFIED = 0; + */ + const LINKED_DEVICE_VISIBILITY_UNSPECIFIED = 0; + /** + * The linked device can only be used by the user who owns the device + * linking. + * + * Generated from protobuf enum PRIVATE = 2; + */ + const PBPRIVATE = 2; + /** + * The linked device can be used by anyone on the network. + * + * Generated from protobuf enum PUBLIC = 3; + */ + const PBPUBLIC = 3; + + private static $valueToName = [ + self::LINKED_DEVICE_VISIBILITY_UNSPECIFIED => 'LINKED_DEVICE_VISIBILITY_UNSPECIFIED', + self::PBPRIVATE => 'PRIVATE', + self::PBPUBLIC => 'PUBLIC', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksRequest.php new file mode 100644 index 000000000000..54e55128fe59 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksRequest.php @@ -0,0 +1,307 @@ +google.ads.admanager.v1.ListAdBreaksRequest + */ +class ListAdBreaksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdBreaks. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `AdBreaks` to return. The service might + * return fewer than this value. If unspecified, at most 10 ad breaks are + * returned. The maximum value is `100`. Values above `100` are coerced to + * `100`. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAdBreaks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdBreaks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of AdBreaks. + * + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * Please see {@see AdBreakServiceClient::liveStreamEventName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAdBreaksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdBreaks. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * @type int $page_size + * Optional. The maximum number of `AdBreaks` to return. The service might + * return fewer than this value. If unspecified, at most 10 ad breaks are + * returned. The maximum value is `100`. Values above `100` are coerced to + * `100`. + * @type string $page_token + * Optional. A page token, received from a previous `ListAdBreaks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdBreaks` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdBreaks. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdBreaks. + * Formats: + * `networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}` + * `networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `AdBreaks` to return. The service might + * return fewer than this value. If unspecified, at most 10 ad breaks are + * returned. The maximum value is `100`. Values above `100` are coerced to + * `100`. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `AdBreaks` to return. The service might + * return fewer than this value. If unspecified, at most 10 ad breaks are + * returned. The maximum value is `100`. Values above `100` are coerced to + * `100`. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAdBreaks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdBreaks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAdBreaks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdBreaks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksResponse.php new file mode 100644 index 000000000000..4820ed50997c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdBreaksResponse.php @@ -0,0 +1,176 @@ +google.ads.admanager.v1.ListAdBreaksResponse + */ +class ListAdBreaksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdBreak` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreak ad_breaks = 1; + */ + private $ad_breaks; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. This field expires + * after five minutes. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `AdBreak` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdBreak[] $ad_breaks + * The `AdBreak` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. This field expires + * after five minutes. + * @type int $total_size + * Total number of `AdBreak` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdBreak` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreak ad_breaks = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdBreak> + */ + public function getAdBreaks() + { + return $this->ad_breaks; + } + + /** + * The `AdBreak` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreak ad_breaks = 1; + * @param \Google\Ads\AdManager\V1\AdBreak[] $var + * @return $this + */ + public function setAdBreaks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdBreak::class); + $this->ad_breaks = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. This field expires + * after five minutes. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. This field expires + * after five minutes. + * + * 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 `AdBreak` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `AdBreak` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesRequest.php new file mode 100644 index 000000000000..94a64b8876a1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListAdRulesRequest + */ +class ListAdRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdRules. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `AdRules` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdRules` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAdRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdRules` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *

    + *
  • displayName
  • + *
  • name
  • + *
  • priority
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of AdRules. + * Format: `networks/{network_code}` + * Please see {@see AdRuleServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAdRulesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdRules. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `AdRules` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdRules` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListAdRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdRules` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • priority
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdRules. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdRules. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `AdRules` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdRules` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `AdRules` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdRules` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAdRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdRules` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAdRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdRules` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • priority
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • priority
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesResponse.php new file mode 100644 index 000000000000..d8ce9f82c343 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdRulesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListAdRulesResponse + */ +class ListAdRulesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdRule` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + */ + private $ad_rules; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `AdRule` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdRule[] $ad_rules + * The `AdRule` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `AdRule` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdRule` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdRule> + */ + public function getAdRules() + { + return $this->ad_rules; + } + + /** + * The `AdRule` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdRule ad_rules = 1; + * @param \Google\Ads\AdManager\V1\AdRule[] $var + * @return $this + */ + public function setAdRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdRule::class); + $this->ad_rules = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `AdRule` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `AdRule` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsRequest.php new file mode 100644 index 000000000000..df9f3ed79dec --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListAdSpotsRequest + */ +class ListAdSpotsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdSpots. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `AdSpots` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdSpots` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAdSpots` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSpots` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalDisplayName
  • + *
  • customSpot
  • + *
  • displayName
  • + *
  • flexible
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of AdSpots. + * Format: `networks/{network_code}` + * Please see {@see AdSpotServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAdSpotsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdSpots. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `AdSpots` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdSpots` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListAdSpots` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSpots` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalDisplayName
  • + *
  • customSpot
  • + *
  • displayName
  • + *
  • flexible
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdSpots. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdSpots. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `AdSpots` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdSpots` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `AdSpots` to return. The service may return + * fewer than this value. If unspecified, at most 50 `AdSpots` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAdSpots` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSpots` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAdSpots` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSpots` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalDisplayName
  • + *
  • customSpot
  • + *
  • displayName
  • + *
  • flexible
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalDisplayName
  • + *
  • customSpot
  • + *
  • displayName
  • + *
  • flexible
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsResponse.php new file mode 100644 index 000000000000..c2d9ba3a2d13 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdSpotsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListAdSpotsResponse + */ +class ListAdSpotsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AdSpot` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + */ + private $ad_spots; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `AdSpot` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdSpot[] $ad_spots + * The `AdSpot` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `AdSpot` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * The `AdSpot` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdSpot> + */ + public function getAdSpots() + { + return $this->ad_spots; + } + + /** + * The `AdSpot` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdSpot ad_spots = 1; + * @param \Google\Ads\AdManager\V1\AdSpot[] $var + * @return $this + */ + public function setAdSpots($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdSpot::class); + $this->ad_spots = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `AdSpot` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `AdSpot` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesRequest.php new file mode 100644 index 000000000000..78fe0a02ced3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesRequest.php @@ -0,0 +1,296 @@ +google.ads.admanager.v1.ListAdUnitSizesRequest + */ +class ListAdUnitSizesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdUnitSizes. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of AdUnitSizes to return. The service may + * return fewer than this value. If unspecified, at most 50 ad unit sizes will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAdUnitSizes` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnitSizes` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of AdUnitSizes. + * Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAdUnitSizesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdUnitSizes. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of AdUnitSizes to return. The service may + * return fewer than this value. If unspecified, at most 50 ad unit sizes will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListAdUnitSizes` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnitSizes` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdUnitSizes. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdUnitSizes. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of AdUnitSizes to return. The service may + * return fewer than this value. If unspecified, at most 50 ad unit sizes will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of AdUnitSizes to return. The service may + * return fewer than this value. If unspecified, at most 50 ad unit sizes will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAdUnitSizes` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnitSizes` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAdUnitSizes` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnitSizes` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesResponse.php new file mode 100644 index 000000000000..2bf23bc275cf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitSizesResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListAdUnitSizesResponse + */ +class ListAdUnitSizesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The AdUnitSizes from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 1; + */ + private $ad_unit_sizes; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of AdUnitSizes. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnitSize[] $ad_unit_sizes + * The AdUnitSizes from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of AdUnitSizes. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The AdUnitSizes from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitSize> + */ + public function getAdUnitSizes() + { + return $this->ad_unit_sizes; + } + + /** + * The AdUnitSizes from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 1; + * @param \Google\Ads\AdManager\V1\AdUnitSize[] $var + * @return $this + */ + public function setAdUnitSizes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitSize::class); + $this->ad_unit_sizes = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 AdUnitSizes. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of AdUnitSizes. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsRequest.php new file mode 100644 index 000000000000..d22031dacd2f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsRequest.php @@ -0,0 +1,356 @@ +google.ads.admanager.v1.ListAdUnitsRequest + */ +class ListAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of AdUnits to return. The service may return + * fewer than this value. If unspecified, at most 50 ad units will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAdUnits` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnits` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adUnitCode
  • + *
  • adUnitSizes.canonicalName
  • + *
  • displayName
  • + *
  • effectiveAdsenseEnabled
  • + *
  • explicitlyTargeted
  • + *
  • externalSetTopBoxChannelId
  • + *
  • hasChildren
  • + *
  • name
  • + *
  • parentAdUnit
  • + *
  • status
  • + *
  • teams
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of AdUnits. + * Format: `networks/{network_code}` + * Please see {@see AdUnitServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of AdUnits. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of AdUnits to return. The service may return + * fewer than this value. If unspecified, at most 50 ad units will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListAdUnits` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnits` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adUnitCode
  • + *
  • adUnitSizes.canonicalName
  • + *
  • displayName
  • + *
  • effectiveAdsenseEnabled
  • + *
  • explicitlyTargeted
  • + *
  • externalSetTopBoxChannelId
  • + *
  • hasChildren
  • + *
  • name
  • + *
  • parentAdUnit
  • + *
  • status
  • + *
  • teams
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of AdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of AdUnits to return. The service may return + * fewer than this value. If unspecified, at most 50 ad units will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of AdUnits to return. The service may return + * fewer than this value. If unspecified, at most 50 ad units will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAdUnits` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnits` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAdUnits` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdUnits` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adUnitCode
  • + *
  • adUnitSizes.canonicalName
  • + *
  • displayName
  • + *
  • effectiveAdsenseEnabled
  • + *
  • explicitlyTargeted
  • + *
  • externalSetTopBoxChannelId
  • + *
  • hasChildren
  • + *
  • name
  • + *
  • parentAdUnit
  • + *
  • status
  • + *
  • teams
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adUnitCode
  • + *
  • adUnitSizes.canonicalName
  • + *
  • displayName
  • + *
  • effectiveAdsenseEnabled
  • + *
  • explicitlyTargeted
  • + *
  • externalSetTopBoxChannelId
  • + *
  • hasChildren
  • + *
  • name
  • + *
  • parentAdUnit
  • + *
  • status
  • + *
  • teams
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsResponse.php new file mode 100644 index 000000000000..4873e2044081 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAdUnitsResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListAdUnitsResponse + */ +class ListAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The AdUnit from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + */ + private $ad_units; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of AdUnits. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnit[] $ad_units + * The AdUnit from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of AdUnits. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The AdUnit from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnit> + */ + public function getAdUnits() + { + return $this->ad_units; + } + + /** + * The AdUnit from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnit ad_units = 1; + * @param \Google\Ads\AdManager\V1\AdUnit[] $var + * @return $this + */ + public function setAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnit::class); + $this->ad_units = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 AdUnits. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of AdUnits. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsRequest.php new file mode 100644 index 000000000000..901aceae6687 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsRequest.php @@ -0,0 +1,344 @@ +google.ads.admanager.v1.ListApplicationsRequest + */ +class ListApplicationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Applications. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Applications` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Applications` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListApplications` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListApplications` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • appStoreId
  • + *
  • appStores
  • + *
  • applicationCode
  • + *
  • approvalStatus
  • + *
  • archived
  • + *
  • displayName
  • + *
  • name
  • + *
  • platform
  • + *
  • webviewClaimingStatus
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Applications. + * Format: `networks/{network_code}` + * Please see {@see ApplicationServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListApplicationsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Applications. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Applications` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Applications` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListApplications` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListApplications` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • appStoreId
  • + *
  • appStores
  • + *
  • applicationCode
  • + *
  • approvalStatus
  • + *
  • archived
  • + *
  • displayName
  • + *
  • name
  • + *
  • platform
  • + *
  • webviewClaimingStatus
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Applications. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Applications. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Applications` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Applications` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Applications` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Applications` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListApplications` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListApplications` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListApplications` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListApplications` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • appStoreId
  • + *
  • appStores
  • + *
  • applicationCode
  • + *
  • approvalStatus
  • + *
  • archived
  • + *
  • displayName
  • + *
  • name
  • + *
  • platform
  • + *
  • webviewClaimingStatus
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • appStoreId
  • + *
  • appStores
  • + *
  • applicationCode
  • + *
  • approvalStatus
  • + *
  • archived
  • + *
  • displayName
  • + *
  • name
  • + *
  • platform
  • + *
  • webviewClaimingStatus
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsResponse.php new file mode 100644 index 000000000000..3ffd59760304 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListApplicationsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListApplicationsResponse + */ +class ListApplicationsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Application` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + */ + private $applications; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Application` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Application[] $applications + * The `Application` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Application` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * The `Application` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Application> + */ + public function getApplications() + { + return $this->applications; + } + + /** + * The `Application` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Application applications = 1; + * @param \Google\Ads\AdManager\V1\Application[] $var + * @return $this + */ + public function setApplications($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Application::class); + $this->applications = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Application` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Application` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsRequest.php new file mode 100644 index 000000000000..71abcf871a4e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsRequest.php @@ -0,0 +1,312 @@ +google.ads.admanager.v1.ListAudienceSegmentsRequest + */ +class ListAudienceSegmentsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent publisher network associated with these audience + * segments. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `AudienceSegments` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `AudienceSegments` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAudienceSegments` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceSegments` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent publisher network associated with these audience + * segments. Format: `networks/{network_code}` + * Please see {@see AudienceSegmentServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListAudienceSegmentsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent publisher network associated with these audience + * segments. Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `AudienceSegments` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `AudienceSegments` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListAudienceSegments` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceSegments` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AudienceSegmentService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent publisher network associated with these audience + * segments. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent publisher network associated with these audience + * segments. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `AudienceSegments` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `AudienceSegments` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `AudienceSegments` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `AudienceSegments` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAudienceSegments` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceSegments` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAudienceSegments` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudienceSegments` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsResponse.php new file mode 100644 index 000000000000..e4dbc8fcd608 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListAudienceSegmentsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListAudienceSegmentsResponse + */ +class ListAudienceSegmentsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `AudienceSegment` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegment audience_segments = 1; + */ + private $audience_segments; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `AudienceSegment` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AudienceSegment[] $audience_segments + * The `AudienceSegment` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `AudienceSegment` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AudienceSegmentService::initOnce(); + parent::__construct($data); + } + + /** + * The `AudienceSegment` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegment audience_segments = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AudienceSegment> + */ + public function getAudienceSegments() + { + return $this->audience_segments; + } + + /** + * The `AudienceSegment` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AudienceSegment audience_segments = 1; + * @param \Google\Ads\AdManager\V1\AudienceSegment[] $var + * @return $this + */ + public function setAudienceSegments($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AudienceSegment::class); + $this->audience_segments = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `AudienceSegment` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `AudienceSegment` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsRequest.php new file mode 100644 index 000000000000..04473a6ccd7b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListBandwidthGroupsRequest + */ +class ListBandwidthGroupsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of BandwidthGroups. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `BandwidthGroups` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BandwidthGroups` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListBandwidthGroups` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBandwidthGroups` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of BandwidthGroups. + * Format: `networks/{network_code}` + * Please see {@see BandwidthGroupServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListBandwidthGroupsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of BandwidthGroups. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `BandwidthGroups` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BandwidthGroups` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListBandwidthGroups` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBandwidthGroups` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BandwidthGroupService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of BandwidthGroups. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of BandwidthGroups. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `BandwidthGroups` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BandwidthGroups` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `BandwidthGroups` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BandwidthGroups` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListBandwidthGroups` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBandwidthGroups` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListBandwidthGroups` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBandwidthGroups` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsResponse.php new file mode 100644 index 000000000000..9f638242339b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBandwidthGroupsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListBandwidthGroupsResponse + */ +class ListBandwidthGroupsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `BandwidthGroup` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1; + */ + private $bandwidth_groups; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `BandwidthGroup` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\BandwidthGroup[] $bandwidth_groups + * The `BandwidthGroup` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `BandwidthGroup` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BandwidthGroupService::initOnce(); + parent::__construct($data); + } + + /** + * The `BandwidthGroup` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\BandwidthGroup> + */ + public function getBandwidthGroups() + { + return $this->bandwidth_groups; + } + + /** + * The `BandwidthGroup` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BandwidthGroup bandwidth_groups = 1; + * @param \Google\Ads\AdManager\V1\BandwidthGroup[] $var + * @return $this + */ + public function setBandwidthGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\BandwidthGroup::class); + $this->bandwidth_groups = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `BandwidthGroup` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `BandwidthGroup` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesRequest.php new file mode 100644 index 000000000000..028805836891 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListBrowserLanguagesRequest + */ +class ListBrowserLanguagesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of BrowserLanguages. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `BrowserLanguages` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BrowserLanguages` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListBrowserLanguages` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowserLanguages` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of BrowserLanguages. + * Format: `networks/{network_code}` + * Please see {@see BrowserLanguageServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListBrowserLanguagesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of BrowserLanguages. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `BrowserLanguages` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BrowserLanguages` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListBrowserLanguages` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowserLanguages` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserLanguageService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of BrowserLanguages. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of BrowserLanguages. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `BrowserLanguages` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BrowserLanguages` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `BrowserLanguages` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `BrowserLanguages` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListBrowserLanguages` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowserLanguages` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListBrowserLanguages` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowserLanguages` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesResponse.php new file mode 100644 index 000000000000..b0f6d9d27234 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowserLanguagesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListBrowserLanguagesResponse + */ +class ListBrowserLanguagesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `BrowserLanguage` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BrowserLanguage browser_languages = 1; + */ + private $browser_languages; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `BrowserLanguage` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\BrowserLanguage[] $browser_languages + * The `BrowserLanguage` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `BrowserLanguage` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserLanguageService::initOnce(); + parent::__construct($data); + } + + /** + * The `BrowserLanguage` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BrowserLanguage browser_languages = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\BrowserLanguage> + */ + public function getBrowserLanguages() + { + return $this->browser_languages; + } + + /** + * The `BrowserLanguage` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.BrowserLanguage browser_languages = 1; + * @param \Google\Ads\AdManager\V1\BrowserLanguage[] $var + * @return $this + */ + public function setBrowserLanguages($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\BrowserLanguage::class); + $this->browser_languages = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `BrowserLanguage` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `BrowserLanguage` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersRequest.php new file mode 100644 index 000000000000..5f591320bfe2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListBrowsersRequest + */ +class ListBrowsersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Browsers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Browsers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Browsers` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListBrowsers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowsers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • majorVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Browsers. + * Format: `networks/{network_code}` + * Please see {@see BrowserServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListBrowsersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Browsers. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Browsers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Browsers` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListBrowsers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowsers` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • majorVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Browsers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Browsers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Browsers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Browsers` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Browsers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Browsers` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListBrowsers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowsers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListBrowsers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListBrowsers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • majorVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • majorVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersResponse.php new file mode 100644 index 000000000000..e5f46385ec01 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListBrowsersResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListBrowsersResponse + */ +class ListBrowsersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Browser` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Browser browsers = 1; + */ + private $browsers; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Browser` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Browser[] $browsers + * The `Browser` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Browser` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\BrowserService::initOnce(); + parent::__construct($data); + } + + /** + * The `Browser` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Browser browsers = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Browser> + */ + public function getBrowsers() + { + return $this->browsers; + } + + /** + * The `Browser` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Browser browsers = 1; + * @param \Google\Ads\AdManager\V1\Browser[] $var + * @return $this + */ + public function setBrowsers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Browser::class); + $this->browsers = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Browser` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Browser` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsRequest.php new file mode 100644 index 000000000000..67ab5a6f7c02 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListCdnConfigsRequest + */ +class ListCdnConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CdnConfigs. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CdnConfigs` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CdnConfigs` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCdnConfigs` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCdnConfigs` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cdnConfigStatus
  • + *
  • cdnConfigType
  • + *
  • displayName
  • + *
  • name
  • + *
  • sourceContentConfig.ingestSettings.urlPrefix
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CdnConfigs. + * Format: `networks/{network_code}` + * Please see {@see CdnConfigServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCdnConfigsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CdnConfigs. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CdnConfigs` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CdnConfigs` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCdnConfigs` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCdnConfigs` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cdnConfigStatus
  • + *
  • cdnConfigType
  • + *
  • displayName
  • + *
  • name
  • + *
  • sourceContentConfig.ingestSettings.urlPrefix
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CdnConfigs. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CdnConfigs. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CdnConfigs` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CdnConfigs` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CdnConfigs` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CdnConfigs` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCdnConfigs` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCdnConfigs` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCdnConfigs` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCdnConfigs` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cdnConfigStatus
  • + *
  • cdnConfigType
  • + *
  • displayName
  • + *
  • name
  • + *
  • sourceContentConfig.ingestSettings.urlPrefix
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cdnConfigStatus
  • + *
  • cdnConfigType
  • + *
  • displayName
  • + *
  • name
  • + *
  • sourceContentConfig.ingestSettings.urlPrefix
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsResponse.php new file mode 100644 index 000000000000..710784a9931f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCdnConfigsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCdnConfigsResponse + */ +class ListCdnConfigsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CdnConfig` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + */ + private $cdn_configs; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CdnConfig` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CdnConfig[] $cdn_configs + * The `CdnConfig` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CdnConfig` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * The `CdnConfig` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CdnConfig> + */ + public function getCdnConfigs() + { + return $this->cdn_configs; + } + + /** + * The `CdnConfig` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CdnConfig cdn_configs = 1; + * @param \Google\Ads\AdManager\V1\CdnConfig[] $var + * @return $this + */ + public function setCdnConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CdnConfig::class); + $this->cdn_configs = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CdnConfig` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CdnConfig` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysRequest.php new file mode 100644 index 000000000000..3bdd4e57e26d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysRequest.php @@ -0,0 +1,320 @@ +google.ads.admanager.v1.ListCmsMetadataKeysRequest + */ +class ListCmsMetadataKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CmsMetadataKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CmsMetadataKeys` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataKeys` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCmsMetadataKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CmsMetadataKeys. + * Format: `networks/{network_code}` + * Please see {@see CmsMetadataKeyServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCmsMetadataKeysRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CmsMetadataKeys. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CmsMetadataKeys` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataKeys` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCmsMetadataKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataKeys` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CmsMetadataKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CmsMetadataKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CmsMetadataKeys` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataKeys` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CmsMetadataKeys` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataKeys` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCmsMetadataKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCmsMetadataKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysResponse.php new file mode 100644 index 000000000000..9edf96b152e2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataKeysResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCmsMetadataKeysResponse + */ +class ListCmsMetadataKeysResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CmsMetadataKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataKey cms_metadata_keys = 1; + */ + private $cms_metadata_keys; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CmsMetadataKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CmsMetadataKey[] $cms_metadata_keys + * The `CmsMetadataKey` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CmsMetadataKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataKeyService::initOnce(); + parent::__construct($data); + } + + /** + * The `CmsMetadataKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataKey cms_metadata_keys = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CmsMetadataKey> + */ + public function getCmsMetadataKeys() + { + return $this->cms_metadata_keys; + } + + /** + * The `CmsMetadataKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataKey cms_metadata_keys = 1; + * @param \Google\Ads\AdManager\V1\CmsMetadataKey[] $var + * @return $this + */ + public function setCmsMetadataKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CmsMetadataKey::class); + $this->cms_metadata_keys = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CmsMetadataKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CmsMetadataKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesRequest.php new file mode 100644 index 000000000000..5650983a585b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListCmsMetadataValuesRequest + */ +class ListCmsMetadataValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CmsMetadataValues. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CmsMetadataValues` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataValues` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCmsMetadataValues` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataValues` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • key
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CmsMetadataValues. + * Format: `networks/{network_code}` + * Please see {@see CmsMetadataValueServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCmsMetadataValuesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CmsMetadataValues. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CmsMetadataValues` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataValues` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCmsMetadataValues` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataValues` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • key
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CmsMetadataValues. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CmsMetadataValues. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CmsMetadataValues` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataValues` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CmsMetadataValues` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CmsMetadataValues` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCmsMetadataValues` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataValues` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCmsMetadataValues` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCmsMetadataValues` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • key
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • key
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesResponse.php new file mode 100644 index 000000000000..97a72580274b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCmsMetadataValuesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCmsMetadataValuesResponse + */ +class ListCmsMetadataValuesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CmsMetadataValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataValue cms_metadata_values = 1; + */ + private $cms_metadata_values; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CmsMetadataValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CmsMetadataValue[] $cms_metadata_values + * The `CmsMetadataValue` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CmsMetadataValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CmsMetadataValueService::initOnce(); + parent::__construct($data); + } + + /** + * The `CmsMetadataValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataValue cms_metadata_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CmsMetadataValue> + */ + public function getCmsMetadataValues() + { + return $this->cms_metadata_values; + } + + /** + * The `CmsMetadataValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CmsMetadataValue cms_metadata_values = 1; + * @param \Google\Ads\AdManager\V1\CmsMetadataValue[] $var + * @return $this + */ + public function setCmsMetadataValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CmsMetadataValue::class); + $this->cms_metadata_values = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CmsMetadataValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CmsMetadataValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesRequest.php new file mode 100644 index 000000000000..04bce32119f5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesRequest.php @@ -0,0 +1,360 @@ +google.ads.admanager.v1.ListCompaniesRequest + */ +class ListCompaniesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Companies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Companies` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Companies` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCompanies` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCompanies` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • comment
  • + *
  • companyId
  • + *
  • creditStatus
  • + *
  • displayName
  • + *
  • email
  • + *
  • externalId
  • + *
  • fax
  • + *
  • name
  • + *
  • phone
  • + *
  • thirdPartyCompanyId
  • + *
  • type
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Companies. + * Format: `networks/{network_code}` + * Please see {@see CompanyServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCompaniesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Companies. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Companies` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Companies` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCompanies` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCompanies` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • comment
  • + *
  • companyId
  • + *
  • creditStatus
  • + *
  • displayName
  • + *
  • email
  • + *
  • externalId
  • + *
  • fax
  • + *
  • name
  • + *
  • phone
  • + *
  • thirdPartyCompanyId
  • + *
  • type
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Companies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Companies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Companies` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Companies` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Companies` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Companies` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCompanies` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCompanies` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCompanies` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCompanies` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • comment
  • + *
  • companyId
  • + *
  • creditStatus
  • + *
  • displayName
  • + *
  • email
  • + *
  • externalId
  • + *
  • fax
  • + *
  • name
  • + *
  • phone
  • + *
  • thirdPartyCompanyId
  • + *
  • type
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • comment
  • + *
  • companyId
  • + *
  • creditStatus
  • + *
  • displayName
  • + *
  • email
  • + *
  • externalId
  • + *
  • fax
  • + *
  • name
  • + *
  • phone
  • + *
  • thirdPartyCompanyId
  • + *
  • type
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesResponse.php new file mode 100644 index 000000000000..f727c7d1b02b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCompaniesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCompaniesResponse + */ +class ListCompaniesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Company` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Company companies = 1; + */ + private $companies; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Company` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Company[] $companies + * The `Company` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Company` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CompanyService::initOnce(); + parent::__construct($data); + } + + /** + * The `Company` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Company companies = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Company> + */ + public function getCompanies() + { + return $this->companies; + } + + /** + * The `Company` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Company companies = 1; + * @param \Google\Ads\AdManager\V1\Company[] $var + * @return $this + */ + public function setCompanies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Company::class); + $this->companies = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Company` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Company` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsRequest.php new file mode 100644 index 000000000000..30b4fd8df21b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsRequest.php @@ -0,0 +1,352 @@ +google.ads.admanager.v1.ListContactsRequest + */ +class ListContactsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Contacts. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Contacts` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Contacts` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListContacts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContacts` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • cellPhone
  • + *
  • comment
  • + *
  • company
  • + *
  • displayName
  • + *
  • email
  • + *
  • fax
  • + *
  • name
  • + *
  • status
  • + *
  • title
  • + *
  • workPhone
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Contacts. + * Format: `networks/{network_code}` + * Please see {@see ContactServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListContactsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Contacts. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Contacts` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Contacts` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListContacts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContacts` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • cellPhone
  • + *
  • comment
  • + *
  • company
  • + *
  • displayName
  • + *
  • email
  • + *
  • fax
  • + *
  • name
  • + *
  • status
  • + *
  • title
  • + *
  • workPhone
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Contacts. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Contacts. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Contacts` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Contacts` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Contacts` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Contacts` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListContacts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContacts` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListContacts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContacts` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • cellPhone
  • + *
  • comment
  • + *
  • company
  • + *
  • displayName
  • + *
  • email
  • + *
  • fax
  • + *
  • name
  • + *
  • status
  • + *
  • title
  • + *
  • workPhone
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • address
  • + *
  • cellPhone
  • + *
  • comment
  • + *
  • company
  • + *
  • displayName
  • + *
  • email
  • + *
  • fax
  • + *
  • name
  • + *
  • status
  • + *
  • title
  • + *
  • workPhone
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsResponse.php new file mode 100644 index 000000000000..aac76ce204b1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContactsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListContactsResponse + */ +class ListContactsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Contact` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + */ + private $contacts; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Contact` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Contact[] $contacts + * The `Contact` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Contact` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * The `Contact` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Contact> + */ + public function getContacts() + { + return $this->contacts; + } + + /** + * The `Contact` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Contact contacts = 1; + * @param \Google\Ads\AdManager\V1\Contact[] $var + * @return $this + */ + public function setContacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Contact::class); + $this->contacts = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Contact` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Contact` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesRequest.php new file mode 100644 index 000000000000..fdf6f1c5269e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListContentBundlesRequest + */ +class ListContentBundlesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of ContentBundles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `ContentBundles` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentBundles` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListContentBundles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentBundles` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of ContentBundles. + * Format: `networks/{network_code}` + * Please see {@see ContentBundleServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListContentBundlesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of ContentBundles. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `ContentBundles` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentBundles` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListContentBundles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentBundles` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of ContentBundles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of ContentBundles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `ContentBundles` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentBundles` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `ContentBundles` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentBundles` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListContentBundles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentBundles` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListContentBundles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentBundles` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesResponse.php new file mode 100644 index 000000000000..798b0f68e770 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentBundlesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListContentBundlesResponse + */ +class ListContentBundlesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `ContentBundle` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1; + */ + private $content_bundles; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `ContentBundle` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ContentBundle[] $content_bundles + * The `ContentBundle` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `ContentBundle` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentBundleService::initOnce(); + parent::__construct($data); + } + + /** + * The `ContentBundle` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ContentBundle> + */ + public function getContentBundles() + { + return $this->content_bundles; + } + + /** + * The `ContentBundle` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentBundle content_bundles = 1; + * @param \Google\Ads\AdManager\V1\ContentBundle[] $var + * @return $this + */ + public function setContentBundles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ContentBundle::class); + $this->content_bundles = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `ContentBundle` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `ContentBundle` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsRequest.php new file mode 100644 index 000000000000..f2d9f29a435f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListContentLabelsRequest + */ +class ListContentLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of ContentLabels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `ContentLabels` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentLabels` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListContentLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentLabels` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of ContentLabels. + * Format: `networks/{network_code}` + * Please see {@see ContentLabelServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListContentLabelsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of ContentLabels. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `ContentLabels` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentLabels` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListContentLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentLabels` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentLabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of ContentLabels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of ContentLabels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `ContentLabels` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentLabels` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `ContentLabels` to return. The service may + * return fewer than this value. If unspecified, at most 50 `ContentLabels` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListContentLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentLabels` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListContentLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContentLabels` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsResponse.php new file mode 100644 index 000000000000..25037395553e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentLabelsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListContentLabelsResponse + */ +class ListContentLabelsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `ContentLabel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentLabel content_labels = 1; + */ + private $content_labels; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `ContentLabel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ContentLabel[] $content_labels + * The `ContentLabel` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `ContentLabel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentLabelService::initOnce(); + parent::__construct($data); + } + + /** + * The `ContentLabel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentLabel content_labels = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ContentLabel> + */ + public function getContentLabels() + { + return $this->content_labels; + } + + /** + * The `ContentLabel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ContentLabel content_labels = 1; + * @param \Google\Ads\AdManager\V1\ContentLabel[] $var + * @return $this + */ + public function setContentLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ContentLabel::class); + $this->content_labels = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `ContentLabel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `ContentLabel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentRequest.php new file mode 100644 index 000000000000..c57fcd9d0e94 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentRequest.php @@ -0,0 +1,368 @@ +google.ads.admanager.v1.ListContentRequest + */ +class ListContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Content. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Content` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Content` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListContent` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContent` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cmsMetadataValues
  • + *
  • cmsSources.contentSource
  • + *
  • cmsSources.contentSourceDisplayName
  • + *
  • contentBundles
  • + *
  • contentStatusSource
  • + *
  • dashIngestStatus
  • + *
  • displayName
  • + *
  • duration
  • + *
  • hlsIngestStatus
  • + *
  • importTime
  • + *
  • lastDashIngestTime
  • + *
  • lastHlsIngestTime
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Content. + * Format: `networks/{network_code}` + * Please see {@see ContentServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListContentRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Content. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Content` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Content` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListContent` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContent` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cmsMetadataValues
  • + *
  • cmsSources.contentSource
  • + *
  • cmsSources.contentSourceDisplayName
  • + *
  • contentBundles
  • + *
  • contentStatusSource
  • + *
  • dashIngestStatus
  • + *
  • displayName
  • + *
  • duration
  • + *
  • hlsIngestStatus
  • + *
  • importTime
  • + *
  • lastDashIngestTime
  • + *
  • lastHlsIngestTime
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Content. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Content. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Content` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Content` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Content` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Content` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListContent` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContent` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListContent` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListContent` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cmsMetadataValues
  • + *
  • cmsSources.contentSource
  • + *
  • cmsSources.contentSourceDisplayName
  • + *
  • contentBundles
  • + *
  • contentStatusSource
  • + *
  • dashIngestStatus
  • + *
  • displayName
  • + *
  • duration
  • + *
  • hlsIngestStatus
  • + *
  • importTime
  • + *
  • lastDashIngestTime
  • + *
  • lastHlsIngestTime
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • cmsMetadataValues
  • + *
  • cmsSources.contentSource
  • + *
  • cmsSources.contentSourceDisplayName
  • + *
  • contentBundles
  • + *
  • contentStatusSource
  • + *
  • dashIngestStatus
  • + *
  • displayName
  • + *
  • duration
  • + *
  • hlsIngestStatus
  • + *
  • importTime
  • + *
  • lastDashIngestTime
  • + *
  • lastHlsIngestTime
  • + *
  • name
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentResponse.php new file mode 100644 index 000000000000..10677635f365 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListContentResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListContentResponse + */ +class ListContentResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Content` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Content content = 1; + */ + private $content; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Content` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Content[] $content + * The `Content` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Content` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContentService::initOnce(); + parent::__construct($data); + } + + /** + * The `Content` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Content content = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Content> + */ + public function getContent() + { + return $this->content; + } + + /** + * The `Content` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Content content = 1; + * @param \Google\Ads\AdManager\V1\Content[] $var + * @return $this + */ + public function setContent($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Content::class); + $this->content = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Content` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Content` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsRequest.php new file mode 100644 index 000000000000..a429130cdcbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListCreativeSetsRequest + */ +class ListCreativeSetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CreativeSets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CreativeSets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CreativeSets` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCreativeSets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeSets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companionCreatives
  • + *
  • displayName
  • + *
  • masterCreative
  • + *
  • name
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CreativeSets. + * Format: `networks/{network_code}` + * Please see {@see CreativeSetServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCreativeSetsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CreativeSets. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CreativeSets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CreativeSets` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCreativeSets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeSets` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companionCreatives
  • + *
  • displayName
  • + *
  • masterCreative
  • + *
  • name
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CreativeSets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CreativeSets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CreativeSets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CreativeSets` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CreativeSets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CreativeSets` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCreativeSets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeSets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCreativeSets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeSets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companionCreatives
  • + *
  • displayName
  • + *
  • masterCreative
  • + *
  • name
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companionCreatives
  • + *
  • displayName
  • + *
  • masterCreative
  • + *
  • name
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsResponse.php new file mode 100644 index 000000000000..96a4d4e66598 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeSetsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCreativeSetsResponse + */ +class ListCreativeSetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CreativeSet` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1; + */ + private $creative_sets; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CreativeSet` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CreativeSet[] $creative_sets + * The `CreativeSet` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CreativeSet` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetService::initOnce(); + parent::__construct($data); + } + + /** + * The `CreativeSet` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativeSet> + */ + public function getCreativeSets() + { + return $this->creative_sets; + } + + /** + * The `CreativeSet` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeSet creative_sets = 1; + * @param \Google\Ads\AdManager\V1\CreativeSet[] $var + * @return $this + */ + public function setCreativeSets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativeSet::class); + $this->creative_sets = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CreativeSet` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CreativeSet` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesRequest.php new file mode 100644 index 000000000000..11313961621b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesRequest.php @@ -0,0 +1,344 @@ +google.ads.admanager.v1.ListCreativeTemplatesRequest + */ +class ListCreativeTemplatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CreativeTemplates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CreativeTemplates` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CreativeTemplates` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCreativeTemplates` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeTemplates` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • interstitial
  • + *
  • name
  • + *
  • nativeEligible
  • + *
  • nativeVideoEligible
  • + *
  • safeFrameCompatible
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CreativeTemplates. + * Format: `networks/{network_code}` + * Please see {@see CreativeTemplateServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCreativeTemplatesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CreativeTemplates. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CreativeTemplates` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CreativeTemplates` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCreativeTemplates` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeTemplates` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • interstitial
  • + *
  • name
  • + *
  • nativeEligible
  • + *
  • nativeVideoEligible
  • + *
  • safeFrameCompatible
  • + *
  • status
  • + *
  • type
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CreativeTemplates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CreativeTemplates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CreativeTemplates` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CreativeTemplates` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CreativeTemplates` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `CreativeTemplates` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCreativeTemplates` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeTemplates` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCreativeTemplates` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCreativeTemplates` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • interstitial
  • + *
  • name
  • + *
  • nativeEligible
  • + *
  • nativeVideoEligible
  • + *
  • safeFrameCompatible
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • interstitial
  • + *
  • name
  • + *
  • nativeEligible
  • + *
  • nativeVideoEligible
  • + *
  • safeFrameCompatible
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesResponse.php new file mode 100644 index 000000000000..6a7a09ec9b31 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCreativeTemplatesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCreativeTemplatesResponse + */ +class ListCreativeTemplatesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CreativeTemplate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplate creative_templates = 1; + */ + private $creative_templates; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CreativeTemplate` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CreativeTemplate[] $creative_templates + * The `CreativeTemplate` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CreativeTemplate` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeTemplateService::initOnce(); + parent::__construct($data); + } + + /** + * The `CreativeTemplate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplate creative_templates = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CreativeTemplate> + */ + public function getCreativeTemplates() + { + return $this->creative_templates; + } + + /** + * The `CreativeTemplate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CreativeTemplate creative_templates = 1; + * @param \Google\Ads\AdManager\V1\CreativeTemplate[] $var + * @return $this + */ + public function setCreativeTemplates($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CreativeTemplate::class); + $this->creative_templates = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CreativeTemplate` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CreativeTemplate` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsRequest.php new file mode 100644 index 000000000000..4d4834926004 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsRequest.php @@ -0,0 +1,344 @@ +google.ads.admanager.v1.ListCustomFieldsRequest + */ +class ListCustomFieldsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomFields. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CustomFields` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CustomFields` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCustomFields` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomFields` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • dataType
  • + *
  • description
  • + *
  • displayName
  • + *
  • entityType
  • + *
  • name
  • + *
  • options.customFieldOptionId
  • + *
  • options.displayName
  • + *
  • status
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomFields. + * Format: `networks/{network_code}` + * Please see {@see CustomFieldServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCustomFieldsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomFields. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CustomFields` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CustomFields` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCustomFields` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomFields` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • dataType
  • + *
  • description
  • + *
  • displayName
  • + *
  • entityType
  • + *
  • name
  • + *
  • options.customFieldOptionId
  • + *
  • options.displayName
  • + *
  • status
  • + *
  • visibility
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomFields. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomFields. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CustomFields` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CustomFields` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CustomFields` to return. The service may + * return fewer than this value. If unspecified, at most 50 `CustomFields` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCustomFields` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomFields` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCustomFields` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomFields` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • dataType
  • + *
  • description
  • + *
  • displayName
  • + *
  • entityType
  • + *
  • name
  • + *
  • options.customFieldOptionId
  • + *
  • options.displayName
  • + *
  • status
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • dataType
  • + *
  • description
  • + *
  • displayName
  • + *
  • entityType
  • + *
  • name
  • + *
  • options.customFieldOptionId
  • + *
  • options.displayName
  • + *
  • status
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsResponse.php new file mode 100644 index 000000000000..53c390809f56 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomFieldsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCustomFieldsResponse + */ +class ListCustomFieldsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomField` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + */ + private $custom_fields; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CustomField` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomField[] $custom_fields + * The `CustomField` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CustomField` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomField` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomField> + */ + public function getCustomFields() + { + return $this->custom_fields; + } + + /** + * The `CustomField` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomField custom_fields = 1; + * @param \Google\Ads\AdManager\V1\CustomField[] $var + * @return $this + */ + public function setCustomFields($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomField::class); + $this->custom_fields = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CustomField` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CustomField` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysRequest.php new file mode 100644 index 000000000000..399b1c66df69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysRequest.php @@ -0,0 +1,332 @@ +google.ads.admanager.v1.ListCustomTargetingKeysRequest + */ +class ListCustomTargetingKeysRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CustomTargetingKeys` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingKeys` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCustomTargetingKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomTargetingKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • displayName
  • + *
  • name
  • + *
  • reportableType
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingKeys. + * Format: `networks/{network_code}` + * Please see {@see CustomTargetingKeyServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCustomTargetingKeysRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingKeys. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CustomTargetingKeys` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingKeys` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListCustomTargetingKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomTargetingKeys` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • displayName
  • + *
  • name
  • + *
  • reportableType
  • + *
  • status
  • + *
  • type
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingKeys. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CustomTargetingKeys` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingKeys` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CustomTargetingKeys` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingKeys` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCustomTargetingKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomTargetingKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCustomTargetingKeys` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomTargetingKeys` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • displayName
  • + *
  • name
  • + *
  • reportableType
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • displayName
  • + *
  • name
  • + *
  • reportableType
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysResponse.php new file mode 100644 index 000000000000..a1af486a9f08 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingKeysResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCustomTargetingKeysResponse + */ +class ListCustomTargetingKeysResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + */ + private $custom_targeting_keys; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CustomTargetingKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingKey[] $custom_targeting_keys + * The `CustomTargetingKey` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CustomTargetingKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingKey> + */ + public function getCustomTargetingKeys() + { + return $this->custom_targeting_keys; + } + + /** + * The `CustomTargetingKey` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingKey[] $var + * @return $this + */ + public function setCustomTargetingKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingKey::class); + $this->custom_targeting_keys = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CustomTargetingKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CustomTargetingKey` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesRequest.php new file mode 100644 index 000000000000..0b46b44f4952 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesRequest.php @@ -0,0 +1,345 @@ +google.ads.admanager.v1.ListCustomTargetingValuesRequest + */ +class ListCustomTargetingValuesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `CustomTargetingValues` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingValues` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListCustomTargetingValues` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • customTargetingKey
  • + *
  • displayName
  • + *
  • matchType
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * Please see {@see CustomTargetingValueServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListCustomTargetingValuesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `CustomTargetingValues` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingValues` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListCustomTargetingValues` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • customTargetingKey
  • + *
  • displayName
  • + *
  • matchType
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of CustomTargetingValues. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `CustomTargetingValues` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingValues` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `CustomTargetingValues` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `CustomTargetingValues` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListCustomTargetingValues` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListCustomTargetingValues` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • customTargetingKey
  • + *
  • displayName
  • + *
  • matchType
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • adTagName
  • + *
  • customTargetingKey
  • + *
  • displayName
  • + *
  • matchType
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesResponse.php new file mode 100644 index 000000000000..e08b328a5474 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListCustomTargetingValuesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListCustomTargetingValuesResponse + */ +class ListCustomTargetingValuesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `CustomTargetingValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + */ + private $custom_targeting_values; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `CustomTargetingValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingValue[] $custom_targeting_values + * The `CustomTargetingValue` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `CustomTargetingValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * The `CustomTargetingValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomTargetingValue> + */ + public function getCustomTargetingValues() + { + return $this->custom_targeting_values; + } + + /** + * The `CustomTargetingValue` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomTargetingValue custom_targeting_values = 1; + * @param \Google\Ads\AdManager\V1\CustomTargetingValue[] $var + * @return $this + */ + public function setCustomTargetingValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomTargetingValue::class); + $this->custom_targeting_values = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `CustomTargetingValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `CustomTargetingValue` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesRequest.php new file mode 100644 index 000000000000..6a2bd0536fdc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListDeviceCapabilitiesRequest + */ +class ListDeviceCapabilitiesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of DeviceCapabilities. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `DeviceCapabilities` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCapabilities` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListDeviceCapabilities` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCapabilities` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of DeviceCapabilities. + * Format: `networks/{network_code}` + * Please see {@see DeviceCapabilityServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListDeviceCapabilitiesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of DeviceCapabilities. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `DeviceCapabilities` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCapabilities` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListDeviceCapabilities` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCapabilities` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCapabilityService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of DeviceCapabilities. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of DeviceCapabilities. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `DeviceCapabilities` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCapabilities` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `DeviceCapabilities` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCapabilities` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListDeviceCapabilities` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCapabilities` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListDeviceCapabilities` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCapabilities` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesResponse.php new file mode 100644 index 000000000000..1a105e3f21df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCapabilitiesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListDeviceCapabilitiesResponse + */ +class ListDeviceCapabilitiesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `DeviceCapability` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCapability device_capabilities = 1; + */ + private $device_capabilities; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `DeviceCapability` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\DeviceCapability[] $device_capabilities + * The `DeviceCapability` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `DeviceCapability` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCapabilityService::initOnce(); + parent::__construct($data); + } + + /** + * The `DeviceCapability` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCapability device_capabilities = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\DeviceCapability> + */ + public function getDeviceCapabilities() + { + return $this->device_capabilities; + } + + /** + * The `DeviceCapability` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCapability device_capabilities = 1; + * @param \Google\Ads\AdManager\V1\DeviceCapability[] $var + * @return $this + */ + public function setDeviceCapabilities($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DeviceCapability::class); + $this->device_capabilities = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `DeviceCapability` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `DeviceCapability` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesRequest.php new file mode 100644 index 000000000000..fd5e5ecbb20c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListDeviceCategoriesRequest + */ +class ListDeviceCategoriesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of DeviceCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `DeviceCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCategories` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListDeviceCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of DeviceCategories. + * Format: `networks/{network_code}` + * Please see {@see DeviceCategoryServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListDeviceCategoriesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of DeviceCategories. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `DeviceCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCategories` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListDeviceCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCategories` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of DeviceCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of DeviceCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `DeviceCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCategories` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `DeviceCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `DeviceCategories` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListDeviceCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListDeviceCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesResponse.php new file mode 100644 index 000000000000..1a5546ac67d9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceCategoriesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListDeviceCategoriesResponse + */ +class ListDeviceCategoriesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `DeviceCategory` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCategory device_categories = 1; + */ + private $device_categories; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `DeviceCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\DeviceCategory[] $device_categories + * The `DeviceCategory` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `DeviceCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * The `DeviceCategory` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCategory device_categories = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\DeviceCategory> + */ + public function getDeviceCategories() + { + return $this->device_categories; + } + + /** + * The `DeviceCategory` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceCategory device_categories = 1; + * @param \Google\Ads\AdManager\V1\DeviceCategory[] $var + * @return $this + */ + public function setDeviceCategories($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DeviceCategory::class); + $this->device_categories = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `DeviceCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `DeviceCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersRequest.php new file mode 100644 index 000000000000..d1d7ed5627c4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListDeviceManufacturersRequest + */ +class ListDeviceManufacturersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of DeviceManufacturers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `DeviceManufacturers` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `DeviceManufacturers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListDeviceManufacturers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceManufacturers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of DeviceManufacturers. + * Format: `networks/{network_code}` + * Please see {@see DeviceManufacturerServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListDeviceManufacturersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of DeviceManufacturers. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `DeviceManufacturers` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `DeviceManufacturers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListDeviceManufacturers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceManufacturers` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceManufacturerService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of DeviceManufacturers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of DeviceManufacturers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `DeviceManufacturers` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `DeviceManufacturers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `DeviceManufacturers` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `DeviceManufacturers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListDeviceManufacturers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceManufacturers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListDeviceManufacturers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDeviceManufacturers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersResponse.php new file mode 100644 index 000000000000..4346bc72a61a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListDeviceManufacturersResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListDeviceManufacturersResponse + */ +class ListDeviceManufacturersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `DeviceManufacturer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceManufacturer device_manufacturers = 1; + */ + private $device_manufacturers; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `DeviceManufacturer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\DeviceManufacturer[] $device_manufacturers + * The `DeviceManufacturer` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `DeviceManufacturer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeviceManufacturerService::initOnce(); + parent::__construct($data); + } + + /** + * The `DeviceManufacturer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceManufacturer device_manufacturers = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\DeviceManufacturer> + */ + public function getDeviceManufacturers() + { + return $this->device_manufacturers; + } + + /** + * The `DeviceManufacturer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DeviceManufacturer device_manufacturers = 1; + * @param \Google\Ads\AdManager\V1\DeviceManufacturer[] $var + * @return $this + */ + public function setDeviceManufacturers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DeviceManufacturer::class); + $this->device_manufacturers = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `DeviceManufacturer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `DeviceManufacturer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsRequest.php new file mode 100644 index 000000000000..25661b7b65be --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsRequest.php @@ -0,0 +1,304 @@ +google.ads.admanager.v1.ListEntitySignalsMappingsRequest + */ +class ListEntitySignalsMappingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of EntitySignalsMappings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `EntitySignalsMappings` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `EntitySignalsMappings` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListEntitySignalsMappings` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of EntitySignalsMappings. + * Format: `networks/{network_code}` + * Please see {@see EntitySignalsMappingServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListEntitySignalsMappingsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of EntitySignalsMappings. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `EntitySignalsMappings` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `EntitySignalsMappings` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListEntitySignalsMappings` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of EntitySignalsMappings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of EntitySignalsMappings. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `EntitySignalsMappings` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `EntitySignalsMappings` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `EntitySignalsMappings` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `EntitySignalsMappings` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListEntitySignalsMappings` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListEntitySignalsMappings` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListEntitySignalsMappings` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsResponse.php new file mode 100644 index 000000000000..87c0727a0c25 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListEntitySignalsMappingsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListEntitySignalsMappingsResponse + */ +class ListEntitySignalsMappingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `EntitySignalsMapping` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + */ + private $entity_signals_mappings; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `EntitySignalsMappings`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\EntitySignalsMapping[] $entity_signals_mappings + * The `EntitySignalsMapping` from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `EntitySignalsMappings`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * The `EntitySignalsMapping` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\EntitySignalsMapping> + */ + public function getEntitySignalsMappings() + { + return $this->entity_signals_mappings; + } + + /** + * The `EntitySignalsMapping` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mappings = 1; + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping[] $var + * @return $this + */ + public function setEntitySignalsMappings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\EntitySignalsMapping::class); + $this->entity_signals_mappings = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `EntitySignalsMappings`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `EntitySignalsMappings`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsRequest.php new file mode 100644 index 000000000000..2289bf068c50 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListGeoTargetsRequest + */ +class ListGeoTargetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of GeoTargets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `GeoTargets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `GeoTargets` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListGeoTargets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGeoTargets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalParent
  • + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of GeoTargets. + * Format: `networks/{network_code}` + * Please see {@see GeoTargetServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListGeoTargetsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of GeoTargets. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `GeoTargets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `GeoTargets` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListGeoTargets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGeoTargets` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalParent
  • + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
  • type
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GeoTargetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of GeoTargets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of GeoTargets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `GeoTargets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `GeoTargets` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `GeoTargets` to return. The service may + * return fewer than this value. If unspecified, at most 50 `GeoTargets` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListGeoTargets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGeoTargets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListGeoTargets` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGeoTargets` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalParent
  • + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • canonicalParent
  • + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsResponse.php new file mode 100644 index 000000000000..de7301fadc63 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListGeoTargetsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListGeoTargetsResponse + */ +class ListGeoTargetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `GeoTarget` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.GeoTarget geo_targets = 1; + */ + private $geo_targets; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `GeoTarget` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\GeoTarget[] $geo_targets + * The `GeoTarget` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `GeoTarget` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GeoTargetService::initOnce(); + parent::__construct($data); + } + + /** + * The `GeoTarget` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.GeoTarget geo_targets = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\GeoTarget> + */ + public function getGeoTargets() + { + return $this->geo_targets; + } + + /** + * The `GeoTarget` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.GeoTarget geo_targets = 1; + * @param \Google\Ads\AdManager\V1\GeoTarget[] $var + * @return $this + */ + public function setGeoTargets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\GeoTarget::class); + $this->geo_targets = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `GeoTarget` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `GeoTarget` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsRequest.php new file mode 100644 index 000000000000..5a97958c2096 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListLabelsRequest + */ +class ListLabelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Labels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Labels` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Labels` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLabels` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • active
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • types
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Labels. + * Format: `networks/{network_code}` + * Please see {@see LabelServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListLabelsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Labels. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Labels` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Labels` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLabels` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • active
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • types
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Labels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Labels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Labels` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Labels` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Labels` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Labels` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLabels` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListLabels` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLabels` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • active
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • types
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • active
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • types
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsResponse.php new file mode 100644 index 000000000000..884d68cf8027 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLabelsResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListLabelsResponse + */ +class ListLabelsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Label` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + */ + private $labels; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Label` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Label[] $labels + * The `Label` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Label` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * The `Label` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Label> + */ + public function getLabels() + { + return $this->labels; + } + + /** + * The `Label` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Label labels = 1; + * @param \Google\Ads\AdManager\V1\Label[] $var + * @return $this + */ + public function setLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Label::class); + $this->labels = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Label` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Label` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsRequest.php new file mode 100644 index 000000000000..220a936c47cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsRequest.php @@ -0,0 +1,444 @@ +google.ads.admanager.v1.ListLineItemsRequest + */ +class ListLineItemsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of LineItems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `LineItems` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LineItems` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListLineItems` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLineItems` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • archived
  • + *
  • contractedUnitsBought
  • + *
  • costType
  • + *
  • createTime
  • + *
  • creativePlaceholders.size.canonicalName
  • + *
  • dealInfo.externalDealId
  • + *
  • deliveryRateType
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • environmentType
  • + *
  • externalLineItemId
  • + *
  • goal.units
  • + *
  • grpSettings.growbirdNielsenEnabled
  • + *
  • grpSettings.inTargetRatioEstimateMilliPercent
  • + *
  • lineItemType
  • + *
  • missingCreatives
  • + *
  • name
  • + *
  • notes
  • + *
  • order
  • + *
  • orderDisplayName
  • + *
  • priority
  • + *
  • roadblockingType
  • + *
  • startTime
  • + *
  • stats.clickThroughRate
  • + *
  • stats.clicksDelivered
  • + *
  • stats.impressionsDelivered
  • + *
  • stats.viewableImpressionsDelivered
  • + *
  • status
  • + *
  • targeting.inventoryTargeting.targetedAdUnits.adUnit
  • + *
  • targeting.inventoryTargeting.targetedPlacements
  • + *
  • targeting.mobileApplicationTargeting.firstPartyTargeting.targetedApplications
  • + *
  • updateSource
  • + *
  • updateTime
  • + *
  • webPropertyCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of LineItems. + * Format: `networks/{network_code}` + * Please see {@see LineItemServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListLineItemsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of LineItems. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `LineItems` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LineItems` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListLineItems` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLineItems` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • archived
  • + *
  • contractedUnitsBought
  • + *
  • costType
  • + *
  • createTime
  • + *
  • creativePlaceholders.size.canonicalName
  • + *
  • dealInfo.externalDealId
  • + *
  • deliveryRateType
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • environmentType
  • + *
  • externalLineItemId
  • + *
  • goal.units
  • + *
  • grpSettings.growbirdNielsenEnabled
  • + *
  • grpSettings.inTargetRatioEstimateMilliPercent
  • + *
  • lineItemType
  • + *
  • missingCreatives
  • + *
  • name
  • + *
  • notes
  • + *
  • order
  • + *
  • orderDisplayName
  • + *
  • priority
  • + *
  • roadblockingType
  • + *
  • startTime
  • + *
  • stats.clickThroughRate
  • + *
  • stats.clicksDelivered
  • + *
  • stats.impressionsDelivered
  • + *
  • stats.viewableImpressionsDelivered
  • + *
  • status
  • + *
  • targeting.inventoryTargeting.targetedAdUnits.adUnit
  • + *
  • targeting.inventoryTargeting.targetedPlacements
  • + *
  • targeting.mobileApplicationTargeting.firstPartyTargeting.targetedApplications
  • + *
  • updateSource
  • + *
  • updateTime
  • + *
  • webPropertyCode
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of LineItems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of LineItems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `LineItems` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LineItems` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `LineItems` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LineItems` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListLineItems` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLineItems` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListLineItems` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLineItems` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • archived
  • + *
  • contractedUnitsBought
  • + *
  • costType
  • + *
  • createTime
  • + *
  • creativePlaceholders.size.canonicalName
  • + *
  • dealInfo.externalDealId
  • + *
  • deliveryRateType
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • environmentType
  • + *
  • externalLineItemId
  • + *
  • goal.units
  • + *
  • grpSettings.growbirdNielsenEnabled
  • + *
  • grpSettings.inTargetRatioEstimateMilliPercent
  • + *
  • lineItemType
  • + *
  • missingCreatives
  • + *
  • name
  • + *
  • notes
  • + *
  • order
  • + *
  • orderDisplayName
  • + *
  • priority
  • + *
  • roadblockingType
  • + *
  • startTime
  • + *
  • stats.clickThroughRate
  • + *
  • stats.clicksDelivered
  • + *
  • stats.impressionsDelivered
  • + *
  • stats.viewableImpressionsDelivered
  • + *
  • status
  • + *
  • targeting.inventoryTargeting.targetedAdUnits.adUnit
  • + *
  • targeting.inventoryTargeting.targetedPlacements
  • + *
  • targeting.mobileApplicationTargeting.firstPartyTargeting.targetedApplications
  • + *
  • updateSource
  • + *
  • updateTime
  • + *
  • webPropertyCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • archived
  • + *
  • contractedUnitsBought
  • + *
  • costType
  • + *
  • createTime
  • + *
  • creativePlaceholders.size.canonicalName
  • + *
  • dealInfo.externalDealId
  • + *
  • deliveryRateType
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • environmentType
  • + *
  • externalLineItemId
  • + *
  • goal.units
  • + *
  • grpSettings.growbirdNielsenEnabled
  • + *
  • grpSettings.inTargetRatioEstimateMilliPercent
  • + *
  • lineItemType
  • + *
  • missingCreatives
  • + *
  • name
  • + *
  • notes
  • + *
  • order
  • + *
  • orderDisplayName
  • + *
  • priority
  • + *
  • roadblockingType
  • + *
  • startTime
  • + *
  • stats.clickThroughRate
  • + *
  • stats.clicksDelivered
  • + *
  • stats.impressionsDelivered
  • + *
  • stats.viewableImpressionsDelivered
  • + *
  • status
  • + *
  • targeting.inventoryTargeting.targetedAdUnits.adUnit
  • + *
  • targeting.inventoryTargeting.targetedPlacements
  • + *
  • targeting.mobileApplicationTargeting.firstPartyTargeting.targetedApplications
  • + *
  • updateSource
  • + *
  • updateTime
  • + *
  • webPropertyCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsResponse.php new file mode 100644 index 000000000000..3714733a8fc4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLineItemsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListLineItemsResponse + */ +class ListLineItemsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `LineItem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItem line_items = 1; + */ + private $line_items; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `LineItem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LineItem[] $line_items + * The `LineItem` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `LineItem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LineItemService::initOnce(); + parent::__construct($data); + } + + /** + * The `LineItem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItem line_items = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\LineItem> + */ + public function getLineItems() + { + return $this->line_items; + } + + /** + * The `LineItem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LineItem line_items = 1; + * @param \Google\Ads\AdManager\V1\LineItem[] $var + * @return $this + */ + public function setLineItems($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LineItem::class); + $this->line_items = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `LineItem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `LineItem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesRequest.php new file mode 100644 index 000000000000..165abd4d1593 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListLinkedDevicesRequest + */ +class ListLinkedDevicesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of LinkedDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `LinkedDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LinkedDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListLinkedDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLinkedDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • owner
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of LinkedDevices. + * Format: `networks/{network_code}` + * Please see {@see LinkedDeviceServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListLinkedDevicesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of LinkedDevices. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `LinkedDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LinkedDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListLinkedDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLinkedDevices` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • owner
  • + *
  • visibility
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LinkedDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of LinkedDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of LinkedDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `LinkedDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LinkedDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `LinkedDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LinkedDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListLinkedDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLinkedDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListLinkedDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLinkedDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • owner
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • owner
  • + *
  • visibility
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesResponse.php new file mode 100644 index 000000000000..ddb4eb3477c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLinkedDevicesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListLinkedDevicesResponse + */ +class ListLinkedDevicesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `LinkedDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LinkedDevice linked_devices = 1; + */ + private $linked_devices; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `LinkedDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LinkedDevice[] $linked_devices + * The `LinkedDevice` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `LinkedDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LinkedDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * The `LinkedDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LinkedDevice linked_devices = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\LinkedDevice> + */ + public function getLinkedDevices() + { + return $this->linked_devices; + } + + /** + * The `LinkedDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LinkedDevice linked_devices = 1; + * @param \Google\Ads\AdManager\V1\LinkedDevice[] $var + * @return $this + */ + public function setLinkedDevices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LinkedDevice::class); + $this->linked_devices = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `LinkedDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `LinkedDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsRequest.php new file mode 100644 index 000000000000..de8f95d7b056 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsRequest.php @@ -0,0 +1,356 @@ +google.ads.admanager.v1.ListLiveStreamsRequest + */ +class ListLiveStreamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of LiveStreams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `LiveStreams` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LiveStreams` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListLiveStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLiveStreams` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • assetKey
  • + *
  • createTime
  • + *
  • customAssetKey
  • + *
  • displayName
  • + *
  • dynamicAdInsertionType
  • + *
  • effectiveAssetKey
  • + *
  • endTime
  • + *
  • sourceContentConfigurations
  • + *
  • startTime
  • + *
  • status
  • + *
  • streamingFormat
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of LiveStreams. + * Format: `networks/{network_code}` + * Please see {@see LiveStreamServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListLiveStreamsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of LiveStreams. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `LiveStreams` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LiveStreams` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListLiveStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLiveStreams` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • assetKey
  • + *
  • createTime
  • + *
  • customAssetKey
  • + *
  • displayName
  • + *
  • dynamicAdInsertionType
  • + *
  • effectiveAssetKey
  • + *
  • endTime
  • + *
  • sourceContentConfigurations
  • + *
  • startTime
  • + *
  • status
  • + *
  • streamingFormat
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of LiveStreams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of LiveStreams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `LiveStreams` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LiveStreams` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `LiveStreams` to return. The service may + * return fewer than this value. If unspecified, at most 50 `LiveStreams` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListLiveStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLiveStreams` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListLiveStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListLiveStreams` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • assetKey
  • + *
  • createTime
  • + *
  • customAssetKey
  • + *
  • displayName
  • + *
  • dynamicAdInsertionType
  • + *
  • effectiveAssetKey
  • + *
  • endTime
  • + *
  • sourceContentConfigurations
  • + *
  • startTime
  • + *
  • status
  • + *
  • streamingFormat
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • assetKey
  • + *
  • createTime
  • + *
  • customAssetKey
  • + *
  • displayName
  • + *
  • dynamicAdInsertionType
  • + *
  • effectiveAssetKey
  • + *
  • endTime
  • + *
  • sourceContentConfigurations
  • + *
  • startTime
  • + *
  • status
  • + *
  • streamingFormat
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsResponse.php new file mode 100644 index 000000000000..3788cb48502c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListLiveStreamsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListLiveStreamsResponse + */ +class ListLiveStreamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `LiveStream` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + */ + private $live_streams; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `LiveStream` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LiveStream[] $live_streams + * The `LiveStream` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `LiveStream` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * The `LiveStream` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\LiveStream> + */ + public function getLiveStreams() + { + return $this->live_streams; + } + + /** + * The `LiveStream` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.LiveStream live_streams = 1; + * @param \Google\Ads\AdManager\V1\LiveStream[] $var + * @return $this + */ + public function setLiveStreams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\LiveStream::class); + $this->live_streams = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `LiveStream` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `LiveStream` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersRequest.php new file mode 100644 index 000000000000..c5a8b38e03a4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersRequest.php @@ -0,0 +1,320 @@ +google.ads.admanager.v1.ListMobileCarriersRequest + */ +class ListMobileCarriersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of MobileCarriers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `MobileCarriers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileCarriers` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListMobileCarriers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileCarriers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of MobileCarriers. + * Format: `networks/{network_code}` + * Please see {@see MobileCarrierServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListMobileCarriersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of MobileCarriers. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `MobileCarriers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileCarriers` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListMobileCarriers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileCarriers` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileCarrierService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of MobileCarriers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of MobileCarriers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `MobileCarriers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileCarriers` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `MobileCarriers` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileCarriers` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListMobileCarriers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileCarriers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListMobileCarriers` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileCarriers` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • regionCode
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersResponse.php new file mode 100644 index 000000000000..6ebb4a8610cd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileCarriersResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListMobileCarriersResponse + */ +class ListMobileCarriersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `MobileCarrier` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileCarrier mobile_carriers = 1; + */ + private $mobile_carriers; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `MobileCarrier` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\MobileCarrier[] $mobile_carriers + * The `MobileCarrier` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `MobileCarrier` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileCarrierService::initOnce(); + parent::__construct($data); + } + + /** + * The `MobileCarrier` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileCarrier mobile_carriers = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\MobileCarrier> + */ + public function getMobileCarriers() + { + return $this->mobile_carriers; + } + + /** + * The `MobileCarrier` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileCarrier mobile_carriers = 1; + * @param \Google\Ads\AdManager\V1\MobileCarrier[] $var + * @return $this + */ + public function setMobileCarriers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\MobileCarrier::class); + $this->mobile_carriers = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `MobileCarrier` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `MobileCarrier` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsRequest.php new file mode 100644 index 000000000000..b2ae39b058d0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListMobileDeviceSubmodelsRequest + */ +class ListMobileDeviceSubmodelsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of MobileDeviceSubmodels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `MobileDeviceSubmodels` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `MobileDeviceSubmodels` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListMobileDeviceSubmodels` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListMobileDeviceSubmodels` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • mobileDevice
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of MobileDeviceSubmodels. + * Format: `networks/{network_code}` + * Please see {@see MobileDeviceSubmodelServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListMobileDeviceSubmodelsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of MobileDeviceSubmodels. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `MobileDeviceSubmodels` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `MobileDeviceSubmodels` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListMobileDeviceSubmodels` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListMobileDeviceSubmodels` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • mobileDevice
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceSubmodelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of MobileDeviceSubmodels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of MobileDeviceSubmodels. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `MobileDeviceSubmodels` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `MobileDeviceSubmodels` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `MobileDeviceSubmodels` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `MobileDeviceSubmodels` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListMobileDeviceSubmodels` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListMobileDeviceSubmodels` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListMobileDeviceSubmodels` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListMobileDeviceSubmodels` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • mobileDevice
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • mobileDevice
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsResponse.php new file mode 100644 index 000000000000..1cdc50c60df0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDeviceSubmodelsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListMobileDeviceSubmodelsResponse + */ +class ListMobileDeviceSubmodelsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `MobileDeviceSubmodel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDeviceSubmodel mobile_device_submodels = 1; + */ + private $mobile_device_submodels; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `MobileDeviceSubmodel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\MobileDeviceSubmodel[] $mobile_device_submodels + * The `MobileDeviceSubmodel` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `MobileDeviceSubmodel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceSubmodelService::initOnce(); + parent::__construct($data); + } + + /** + * The `MobileDeviceSubmodel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDeviceSubmodel mobile_device_submodels = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\MobileDeviceSubmodel> + */ + public function getMobileDeviceSubmodels() + { + return $this->mobile_device_submodels; + } + + /** + * The `MobileDeviceSubmodel` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDeviceSubmodel mobile_device_submodels = 1; + * @param \Google\Ads\AdManager\V1\MobileDeviceSubmodel[] $var + * @return $this + */ + public function setMobileDeviceSubmodels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\MobileDeviceSubmodel::class); + $this->mobile_device_submodels = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `MobileDeviceSubmodel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `MobileDeviceSubmodel` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesRequest.php new file mode 100644 index 000000000000..ecb625c4d46e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesRequest.php @@ -0,0 +1,320 @@ +google.ads.admanager.v1.ListMobileDevicesRequest + */ +class ListMobileDevicesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of MobileDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `MobileDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListMobileDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • manufacturer
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of MobileDevices. + * Format: `networks/{network_code}` + * Please see {@see MobileDeviceServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListMobileDevicesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of MobileDevices. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `MobileDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListMobileDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileDevices` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • manufacturer
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of MobileDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of MobileDevices. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `MobileDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `MobileDevices` to return. The service may + * return fewer than this value. If unspecified, at most 50 `MobileDevices` + * will be returned. The maximum value is 1000; values greater than 1000 will + * be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListMobileDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListMobileDevices` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListMobileDevices` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • manufacturer
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • manufacturer
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesResponse.php new file mode 100644 index 000000000000..a168b10ce055 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListMobileDevicesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListMobileDevicesResponse + */ +class ListMobileDevicesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `MobileDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDevice mobile_devices = 1; + */ + private $mobile_devices; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `MobileDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\MobileDevice[] $mobile_devices + * The `MobileDevice` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `MobileDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceService::initOnce(); + parent::__construct($data); + } + + /** + * The `MobileDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDevice mobile_devices = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\MobileDevice> + */ + public function getMobileDevices() + { + return $this->mobile_devices; + } + + /** + * The `MobileDevice` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.MobileDevice mobile_devices = 1; + * @param \Google\Ads\AdManager\V1\MobileDevice[] $var + * @return $this + */ + public function setMobileDevices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\MobileDevice::class); + $this->mobile_devices = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `MobileDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `MobileDevice` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksRequest.php new file mode 100644 index 000000000000..5e204caeacd1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksRequest.php @@ -0,0 +1,159 @@ +google.ads.admanager.v1.ListNetworksRequest + */ +class ListNetworksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The maximum number of `Network`s to return. The service may + * return fewer than this value. If unspecified, at most 50 `Network`s will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListNetworks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListNetworks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $page_size + * Optional. The maximum number of `Network`s to return. The service may + * return fewer than this value. If unspecified, at most 50 `Network`s will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListNetworks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListNetworks` must match + * the call that provided the page token. + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NetworkService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The maximum number of `Network`s to return. The service may + * return fewer than this value. If unspecified, at most 50 `Network`s will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Network`s to return. The service may + * return fewer than this value. If unspecified, at most 50 `Network`s will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListNetworks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListNetworks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListNetworks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListNetworks` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksResponse.php new file mode 100644 index 000000000000..f4fbc429276b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListNetworksResponse.php @@ -0,0 +1,163 @@ +google.ads.admanager.v1.ListNetworksResponse + */ +class ListNetworksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Network`s a user has access to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Network networks = 1; + */ + private $networks; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Network`s. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Network[] $networks + * The `Network`s a user has access to. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Network`s. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NetworkService::initOnce(); + parent::__construct($data); + } + + /** + * The `Network`s a user has access to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Network networks = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Network> + */ + public function getNetworks() + { + return $this->networks; + } + + /** + * The `Network`s a user has access to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Network networks = 1; + * @param \Google\Ads\AdManager\V1\Network[] $var + * @return $this + */ + public function setNetworks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Network::class); + $this->networks = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Network`s. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Network`s. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsRequest.php new file mode 100644 index 000000000000..46478293dc26 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsRequest.php @@ -0,0 +1,332 @@ +google.ads.admanager.v1.ListOperatingSystemVersionsRequest + */ +class ListOperatingSystemVersionsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of + * OperatingSystemVersions. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `OperatingSystemVersions` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `OperatingSystemVersions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListOperatingSystemVersions` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • majorVersion
  • + *
  • microVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of + * OperatingSystemVersions. Format: `networks/{network_code}` + * Please see {@see OperatingSystemVersionServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListOperatingSystemVersionsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of + * OperatingSystemVersions. Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `OperatingSystemVersions` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `OperatingSystemVersions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListOperatingSystemVersions` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • majorVersion
  • + *
  • microVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemVersionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of + * OperatingSystemVersions. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of + * OperatingSystemVersions. Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `OperatingSystemVersions` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `OperatingSystemVersions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `OperatingSystemVersions` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `OperatingSystemVersions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListOperatingSystemVersions` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListOperatingSystemVersions` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • majorVersion
  • + *
  • microVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • majorVersion
  • + *
  • microVersion
  • + *
  • minorVersion
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsResponse.php new file mode 100644 index 000000000000..54296090a9f3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemVersionsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListOperatingSystemVersionsResponse + */ +class ListOperatingSystemVersionsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `OperatingSystemVersion` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystemVersion operating_system_versions = 1; + */ + private $operating_system_versions; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `OperatingSystemVersion` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\OperatingSystemVersion[] $operating_system_versions + * The `OperatingSystemVersion` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `OperatingSystemVersion` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemVersionService::initOnce(); + parent::__construct($data); + } + + /** + * The `OperatingSystemVersion` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystemVersion operating_system_versions = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\OperatingSystemVersion> + */ + public function getOperatingSystemVersions() + { + return $this->operating_system_versions; + } + + /** + * The `OperatingSystemVersion` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystemVersion operating_system_versions = 1; + * @param \Google\Ads\AdManager\V1\OperatingSystemVersion[] $var + * @return $this + */ + public function setOperatingSystemVersions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\OperatingSystemVersion::class); + $this->operating_system_versions = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `OperatingSystemVersion` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `OperatingSystemVersion` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsRequest.php new file mode 100644 index 000000000000..8209a8149f4a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsRequest.php @@ -0,0 +1,316 @@ +google.ads.admanager.v1.ListOperatingSystemsRequest + */ +class ListOperatingSystemsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of OperatingSystems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `OperatingSystems` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `OperatingSystems` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListOperatingSystems` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOperatingSystems` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of OperatingSystems. + * Format: `networks/{network_code}` + * Please see {@see OperatingSystemServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListOperatingSystemsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of OperatingSystems. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `OperatingSystems` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `OperatingSystems` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListOperatingSystems` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOperatingSystems` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of OperatingSystems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of OperatingSystems. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `OperatingSystems` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `OperatingSystems` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `OperatingSystems` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `OperatingSystems` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListOperatingSystems` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOperatingSystems` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListOperatingSystems` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOperatingSystems` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsResponse.php new file mode 100644 index 000000000000..012379aecccf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOperatingSystemsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListOperatingSystemsResponse + */ +class ListOperatingSystemsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `OperatingSystem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1; + */ + private $operating_systems; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `OperatingSystem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\OperatingSystem[] $operating_systems + * The `OperatingSystem` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `OperatingSystem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemService::initOnce(); + parent::__construct($data); + } + + /** + * The `OperatingSystem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\OperatingSystem> + */ + public function getOperatingSystems() + { + return $this->operating_systems; + } + + /** + * The `OperatingSystem` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.OperatingSystem operating_systems = 1; + * @param \Google\Ads\AdManager\V1\OperatingSystem[] $var + * @return $this + */ + public function setOperatingSystems($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\OperatingSystem::class); + $this->operating_systems = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `OperatingSystem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `OperatingSystem` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersRequest.php new file mode 100644 index 000000000000..70b5aaad5487 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersRequest.php @@ -0,0 +1,396 @@ +google.ads.admanager.v1.ListOrdersRequest + */ +class ListOrdersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Orders` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Orders` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListOrders` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOrders` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • advertiser
  • + *
  • agency
  • + *
  • appliedTeams
  • + *
  • archived
  • + *
  • creator
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • externalOrderId
  • + *
  • impressionsDelivered
  • + *
  • name
  • + *
  • orderId
  • + *
  • poNumber
  • + *
  • programmatic
  • + *
  • salesperson
  • + *
  • secondarySalespeople
  • + *
  • secondaryTraffickers
  • + *
  • startTime
  • + *
  • status
  • + *
  • totalClicksDelivered
  • + *
  • totalViewableImpressionsDelivered
  • + *
  • trafficker
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * Please see {@see OrderServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListOrdersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Orders` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Orders` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListOrders` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOrders` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • advertiser
  • + *
  • agency
  • + *
  • appliedTeams
  • + *
  • archived
  • + *
  • creator
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • externalOrderId
  • + *
  • impressionsDelivered
  • + *
  • name
  • + *
  • orderId
  • + *
  • poNumber
  • + *
  • programmatic
  • + *
  • salesperson
  • + *
  • secondarySalespeople
  • + *
  • secondaryTraffickers
  • + *
  • startTime
  • + *
  • status
  • + *
  • totalClicksDelivered
  • + *
  • totalViewableImpressionsDelivered
  • + *
  • trafficker
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Orders. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Orders` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Orders` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Orders` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Orders` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListOrders` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOrders` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListOrders` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListOrders` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • advertiser
  • + *
  • agency
  • + *
  • appliedTeams
  • + *
  • archived
  • + *
  • creator
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • externalOrderId
  • + *
  • impressionsDelivered
  • + *
  • name
  • + *
  • orderId
  • + *
  • poNumber
  • + *
  • programmatic
  • + *
  • salesperson
  • + *
  • secondarySalespeople
  • + *
  • secondaryTraffickers
  • + *
  • startTime
  • + *
  • status
  • + *
  • totalClicksDelivered
  • + *
  • totalViewableImpressionsDelivered
  • + *
  • trafficker
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • advertiser
  • + *
  • agency
  • + *
  • appliedTeams
  • + *
  • archived
  • + *
  • creator
  • + *
  • displayName
  • + *
  • endTime
  • + *
  • externalOrderId
  • + *
  • impressionsDelivered
  • + *
  • name
  • + *
  • orderId
  • + *
  • poNumber
  • + *
  • programmatic
  • + *
  • salesperson
  • + *
  • secondarySalespeople
  • + *
  • secondaryTraffickers
  • + *
  • startTime
  • + *
  • status
  • + *
  • totalClicksDelivered
  • + *
  • totalViewableImpressionsDelivered
  • + *
  • trafficker
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersResponse.php new file mode 100644 index 000000000000..824492b1d25e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListOrdersResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListOrdersResponse + */ +class ListOrdersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Order` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + */ + private $orders; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Orders`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Order[] $orders + * The `Order` from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Orders`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * The `Order` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Order> + */ + public function getOrders() + { + return $this->orders; + } + + /** + * The `Order` from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Order orders = 1; + * @param \Google\Ads\AdManager\V1\Order[] $var + * @return $this + */ + public function setOrders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Order::class); + $this->orders = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Orders`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Orders`. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsRequest.php new file mode 100644 index 000000000000..18ae7c98e3b9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsRequest.php @@ -0,0 +1,336 @@ +google.ads.admanager.v1.ListPlacementsRequest + */ +class ListPlacementsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Placements. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Placements` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Placements` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListPlacements` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListPlacements` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • placementCode
  • + *
  • status
  • + *
  • targetedAdUnits
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Placements. + * Format: `networks/{network_code}` + * Please see {@see PlacementServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListPlacementsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Placements. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Placements` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Placements` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListPlacements` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListPlacements` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • placementCode
  • + *
  • status
  • + *
  • targetedAdUnits
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Placements. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Placements. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Placements` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Placements` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Placements` to return. The service may + * return fewer than this value. If unspecified, at most 50 `Placements` will + * be returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListPlacements` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListPlacements` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListPlacements` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListPlacements` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • placementCode
  • + *
  • status
  • + *
  • targetedAdUnits
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • placementCode
  • + *
  • status
  • + *
  • targetedAdUnits
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsResponse.php new file mode 100644 index 000000000000..e005d30da932 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPlacementsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListPlacementsResponse + */ +class ListPlacementsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Placement` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + */ + private $placements; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Placement` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Placement[] $placements + * The `Placement` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Placement` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * The `Placement` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Placement> + */ + public function getPlacements() + { + return $this->placements; + } + + /** + * The `Placement` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Placement placements = 1; + * @param \Google\Ads\AdManager\V1\Placement[] $var + * @return $this + */ + public function setPlacements($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Placement::class); + $this->placements = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Placement` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Placement` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsRequest.php new file mode 100644 index 000000000000..73849e2c80bd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsRequest.php @@ -0,0 +1,369 @@ +google.ads.admanager.v1.ListPrivateAuctionDealsRequest + */ +class ListPrivateAuctionDealsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of PrivateAuctionDeals. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `PrivateAuctionDeals` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctionDeals` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListPrivateAuctionDeals` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctionDeals` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • auctionPriorityEnabled
  • + *
  • blockOverrideEnabled
  • + *
  • buyerAccountId
  • + *
  • buyerPermissionType
  • + *
  • endTime
  • + *
  • externalDealId
  • + *
  • floorPrice
  • + *
  • name
  • + *
  • privateAuctionDealId
  • + *
  • privateAuctionDisplayName
  • + *
  • privateAuctionId
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of PrivateAuctionDeals. + * Format: + * `networks/{network_code}` + * Please see {@see PrivateAuctionDealServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListPrivateAuctionDealsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of PrivateAuctionDeals. + * Format: + * `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `PrivateAuctionDeals` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctionDeals` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListPrivateAuctionDeals` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctionDeals` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • auctionPriorityEnabled
  • + *
  • blockOverrideEnabled
  • + *
  • buyerAccountId
  • + *
  • buyerPermissionType
  • + *
  • endTime
  • + *
  • externalDealId
  • + *
  • floorPrice
  • + *
  • name
  • + *
  • privateAuctionDealId
  • + *
  • privateAuctionDisplayName
  • + *
  • privateAuctionId
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of PrivateAuctionDeals. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of PrivateAuctionDeals. + * Format: + * `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `PrivateAuctionDeals` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctionDeals` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `PrivateAuctionDeals` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctionDeals` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListPrivateAuctionDeals` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctionDeals` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListPrivateAuctionDeals` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctionDeals` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • auctionPriorityEnabled
  • + *
  • blockOverrideEnabled
  • + *
  • buyerAccountId
  • + *
  • buyerPermissionType
  • + *
  • endTime
  • + *
  • externalDealId
  • + *
  • floorPrice
  • + *
  • name
  • + *
  • privateAuctionDealId
  • + *
  • privateAuctionDisplayName
  • + *
  • privateAuctionId
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • auctionPriorityEnabled
  • + *
  • blockOverrideEnabled
  • + *
  • buyerAccountId
  • + *
  • buyerPermissionType
  • + *
  • endTime
  • + *
  • externalDealId
  • + *
  • floorPrice
  • + *
  • name
  • + *
  • privateAuctionDealId
  • + *
  • privateAuctionDisplayName
  • + *
  • privateAuctionId
  • + *
  • status
  • + *
  • updateTime
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsResponse.php new file mode 100644 index 000000000000..074549ade51e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionDealsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListPrivateAuctionDealsResponse + */ +class ListPrivateAuctionDealsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `PrivateAuctionDeal` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1; + */ + private $private_auction_deals; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `PrivateAuctionDeal` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\PrivateAuctionDeal[] $private_auction_deals + * The `PrivateAuctionDeal` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `PrivateAuctionDeal` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealService::initOnce(); + parent::__construct($data); + } + + /** + * The `PrivateAuctionDeal` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\PrivateAuctionDeal> + */ + public function getPrivateAuctionDeals() + { + return $this->private_auction_deals; + } + + /** + * The `PrivateAuctionDeal` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deals = 1; + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal[] $var + * @return $this + */ + public function setPrivateAuctionDeals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\PrivateAuctionDeal::class); + $this->private_auction_deals = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `PrivateAuctionDeal` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `PrivateAuctionDeal` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsRequest.php new file mode 100644 index 000000000000..20193cc98466 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsRequest.php @@ -0,0 +1,300 @@ +google.ads.admanager.v1.ListPrivateAuctionsRequest + */ +class ListPrivateAuctionsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of PrivateAuctions. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `PrivateAuctions` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListPrivateAuctions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctions` must match the call that provided the + * page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of PrivateAuctions. + * Format: `networks/{network_code}` + * Please see {@see PrivateAuctionServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListPrivateAuctionsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of PrivateAuctions. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `PrivateAuctions` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListPrivateAuctions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctions` must match the call that provided the + * page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of PrivateAuctions. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of PrivateAuctions. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `PrivateAuctions` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `PrivateAuctions` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `PrivateAuctions` will be returned. The maximum value is 1000; + * values greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListPrivateAuctions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctions` must match the call that provided the + * page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListPrivateAuctions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListPrivateAuctions` must match the call that provided the + * page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsResponse.php new file mode 100644 index 000000000000..dbf6172c0cb3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListPrivateAuctionsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListPrivateAuctionsResponse + */ +class ListPrivateAuctionsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `PrivateAuction` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1; + */ + private $private_auctions; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `PrivateAuction` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\PrivateAuction[] $private_auctions + * The `PrivateAuction` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `PrivateAuction` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionService::initOnce(); + parent::__construct($data); + } + + /** + * The `PrivateAuction` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\PrivateAuction> + */ + public function getPrivateAuctions() + { + return $this->private_auctions; + } + + /** + * The `PrivateAuction` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.PrivateAuction private_auctions = 1; + * @param \Google\Ads\AdManager\V1\PrivateAuction[] $var + * @return $this + */ + public function setPrivateAuctions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\PrivateAuction::class); + $this->private_auctions = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `PrivateAuction` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `PrivateAuction` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersRequest.php new file mode 100644 index 000000000000..292b22c1dc66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersRequest.php @@ -0,0 +1,340 @@ +google.ads.admanager.v1.ListProgrammaticBuyersRequest + */ +class ListProgrammaticBuyersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of ProgrammaticBuyers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `ProgrammaticBuyers` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `ProgrammaticBuyers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListProgrammaticBuyers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProgrammaticBuyers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • agency
  • + *
  • buyerAccountId
  • + *
  • displayName
  • + *
  • name
  • + *
  • parentAccountId
  • + *
  • partnerClientId
  • + *
  • preferredDealsEnabled
  • + *
  • programmaticGuaranteedEnabled
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of ProgrammaticBuyers. + * Format: `networks/{network_code}` + * Please see {@see ProgrammaticBuyerServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListProgrammaticBuyersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of ProgrammaticBuyers. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `ProgrammaticBuyers` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `ProgrammaticBuyers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListProgrammaticBuyers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProgrammaticBuyers` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • agency
  • + *
  • buyerAccountId
  • + *
  • displayName
  • + *
  • name
  • + *
  • parentAccountId
  • + *
  • partnerClientId
  • + *
  • preferredDealsEnabled
  • + *
  • programmaticGuaranteedEnabled
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ProgrammaticBuyerService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of ProgrammaticBuyers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of ProgrammaticBuyers. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `ProgrammaticBuyers` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `ProgrammaticBuyers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `ProgrammaticBuyers` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `ProgrammaticBuyers` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListProgrammaticBuyers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProgrammaticBuyers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListProgrammaticBuyers` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProgrammaticBuyers` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • agency
  • + *
  • buyerAccountId
  • + *
  • displayName
  • + *
  • name
  • + *
  • parentAccountId
  • + *
  • partnerClientId
  • + *
  • preferredDealsEnabled
  • + *
  • programmaticGuaranteedEnabled
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • agency
  • + *
  • buyerAccountId
  • + *
  • displayName
  • + *
  • name
  • + *
  • parentAccountId
  • + *
  • partnerClientId
  • + *
  • preferredDealsEnabled
  • + *
  • programmaticGuaranteedEnabled
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersResponse.php new file mode 100644 index 000000000000..2caa11ac2d4f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListProgrammaticBuyersResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListProgrammaticBuyersResponse + */ +class ListProgrammaticBuyersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `ProgrammaticBuyer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ProgrammaticBuyer programmatic_buyers = 1; + */ + private $programmatic_buyers; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `ProgrammaticBuyer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ProgrammaticBuyer[] $programmatic_buyers + * The `ProgrammaticBuyer` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `ProgrammaticBuyer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ProgrammaticBuyerService::initOnce(); + parent::__construct($data); + } + + /** + * The `ProgrammaticBuyer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ProgrammaticBuyer programmatic_buyers = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ProgrammaticBuyer> + */ + public function getProgrammaticBuyers() + { + return $this->programmatic_buyers; + } + + /** + * The `ProgrammaticBuyer` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ProgrammaticBuyer programmatic_buyers = 1; + * @param \Google\Ads\AdManager\V1\ProgrammaticBuyer[] $var + * @return $this + */ + public function setProgrammaticBuyers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ProgrammaticBuyer::class); + $this->programmatic_buyers = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `ProgrammaticBuyer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `ProgrammaticBuyer` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsRequest.php new file mode 100644 index 000000000000..77a6f321e731 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsRequest.php @@ -0,0 +1,296 @@ +google.ads.admanager.v1.ListReportsRequest + */ +class ListReportsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of reports. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Reports` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Reports` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of reports. + * Format: `networks/{network_code}` + * Please see {@see ReportServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListReportsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of reports. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Reports` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Reports` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of reports. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of reports. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Reports` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Reports` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Reports` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Reports` will be + * returned. The maximum value is 1000; values greater than 1000 will be + * coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListReports` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListReports` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsResponse.php new file mode 100644 index 000000000000..6904c5a77000 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListReportsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListReportsResponse + */ +class ListReportsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Report` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Report reports = 1; + */ + private $reports; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Report` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Report[] $reports + * The `Report` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Report` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * The `Report` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Report reports = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Report> + */ + public function getReports() + { + return $this->reports; + } + + /** + * The `Report` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Report reports = 1; + * @param \Google\Ads\AdManager\V1\Report[] $var + * @return $this + */ + public function setReports($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Report::class); + $this->reports = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Report` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Report` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesRequest.php new file mode 100644 index 000000000000..29d18ee24eb8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesRequest.php @@ -0,0 +1,336 @@ +google.ads.admanager.v1.ListRichMediaAdsCompaniesRequest + */ +class ListRichMediaAdsCompaniesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of RichMediaAdsCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `RichMediaAdsCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `RichMediaAdsCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListRichMediaAdsCompanies` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRichMediaAdsCompanies` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companyGvlId
  • + *
  • displayName
  • + *
  • gdprStatus
  • + *
  • name
  • + *
  • policyUrl
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of RichMediaAdsCompanies. + * Format: `networks/{network_code}` + * Please see {@see RichMediaAdsCompanyServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListRichMediaAdsCompaniesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of RichMediaAdsCompanies. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `RichMediaAdsCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `RichMediaAdsCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListRichMediaAdsCompanies` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRichMediaAdsCompanies` must match the call that provided the page + * token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companyGvlId
  • + *
  • displayName
  • + *
  • gdprStatus
  • + *
  • name
  • + *
  • policyUrl
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RichMediaAdsCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of RichMediaAdsCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of RichMediaAdsCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `RichMediaAdsCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `RichMediaAdsCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `RichMediaAdsCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `RichMediaAdsCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListRichMediaAdsCompanies` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRichMediaAdsCompanies` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListRichMediaAdsCompanies` call. Provide this to retrieve the subsequent + * page. + * When paginating, all other parameters provided to + * `ListRichMediaAdsCompanies` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companyGvlId
  • + *
  • displayName
  • + *
  • gdprStatus
  • + *
  • name
  • + *
  • policyUrl
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • companyGvlId
  • + *
  • displayName
  • + *
  • gdprStatus
  • + *
  • name
  • + *
  • policyUrl
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesResponse.php new file mode 100644 index 000000000000..029ffa0150e6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRichMediaAdsCompaniesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListRichMediaAdsCompaniesResponse + */ +class ListRichMediaAdsCompaniesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `RichMediaAdsCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RichMediaAdsCompany rich_media_ads_companies = 1; + */ + private $rich_media_ads_companies; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `RichMediaAdsCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\RichMediaAdsCompany[] $rich_media_ads_companies + * The `RichMediaAdsCompany` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `RichMediaAdsCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RichMediaAdsCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * The `RichMediaAdsCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RichMediaAdsCompany rich_media_ads_companies = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\RichMediaAdsCompany> + */ + public function getRichMediaAdsCompanies() + { + return $this->rich_media_ads_companies; + } + + /** + * The `RichMediaAdsCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RichMediaAdsCompany rich_media_ads_companies = 1; + * @param \Google\Ads\AdManager\V1\RichMediaAdsCompany[] $var + * @return $this + */ + public function setRichMediaAdsCompanies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\RichMediaAdsCompany::class); + $this->rich_media_ads_companies = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `RichMediaAdsCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `RichMediaAdsCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesRequest.php new file mode 100644 index 000000000000..7e2269e7371b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListRolesRequest + */ +class ListRolesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Roles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Roles` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Roles` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListRoles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListRoles` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • builtIn
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Roles. + * Format: `networks/{network_code}` + * Please see {@see RoleServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListRolesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Roles. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Roles` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Roles` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListRoles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListRoles` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • builtIn
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RoleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Roles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Roles. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Roles` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Roles` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Roles` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Roles` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListRoles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListRoles` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListRoles` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListRoles` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • builtIn
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • builtIn
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesResponse.php new file mode 100644 index 000000000000..30047b9f8f66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListRolesResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListRolesResponse + */ +class ListRolesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Role` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Role roles = 1; + */ + private $roles; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Role` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Role[] $roles + * The `Role` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Role` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RoleService::initOnce(); + parent::__construct($data); + } + + /** + * The `Role` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Role roles = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Role> + */ + public function getRoles() + { + return $this->roles; + } + + /** + * The `Role` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Role roles = 1; + * @param \Google\Ads\AdManager\V1\Role[] $var + * @return $this + */ + public function setRoles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Role::class); + $this->roles = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Role` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Role` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesRequest.php new file mode 100644 index 000000000000..baa4dea4962b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesRequest.php @@ -0,0 +1,328 @@ +google.ads.admanager.v1.ListSitesRequest + */ +class ListSitesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Sites. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Sites` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Sites` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListSites` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSites` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • approvalStatus
  • + *
  • approvalStatusUpdateTime
  • + *
  • childNetworkCode
  • + *
  • name
  • + *
  • url
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Sites. + * Format: `networks/{network_code}` + * Please see {@see SiteServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListSitesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Sites. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Sites` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Sites` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListSites` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSites` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • approvalStatus
  • + *
  • approvalStatusUpdateTime
  • + *
  • childNetworkCode
  • + *
  • name
  • + *
  • url
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Sites. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Sites. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Sites` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Sites` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Sites` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Sites` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListSites` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSites` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListSites` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSites` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • approvalStatus
  • + *
  • approvalStatusUpdateTime
  • + *
  • childNetworkCode
  • + *
  • name
  • + *
  • url
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • approvalStatus
  • + *
  • approvalStatusUpdateTime
  • + *
  • childNetworkCode
  • + *
  • name
  • + *
  • url
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesResponse.php new file mode 100644 index 000000000000..3d6cc310014d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSitesResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListSitesResponse + */ +class ListSitesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Site` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + */ + private $sites; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Site` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Site[] $sites + * The `Site` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Site` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * The `Site` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Site> + */ + public function getSites() + { + return $this->sites; + } + + /** + * The `Site` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Site sites = 1; + * @param \Google\Ads\AdManager\V1\Site[] $var + * @return $this + */ + public function setSites($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Site::class); + $this->sites = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Site` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Site` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesRequest.php new file mode 100644 index 000000000000..70c222d31d6f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesRequest.php @@ -0,0 +1,312 @@ +google.ads.admanager.v1.ListSlatesRequest + */ +class ListSlatesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource containing the Slates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Slates` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Slates` will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListSlates` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSlates` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at https://google.aip.dev/160 + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at https://google.aip.dev/132#ordering + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent resource containing the Slates. + * Format: `networks/{network_code}` + * Please see {@see SlateServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListSlatesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource containing the Slates. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Slates` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Slates` will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListSlates` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSlates` must + * match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at https://google.aip.dev/160 + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at https://google.aip.dev/132#ordering + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource containing the Slates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent resource containing the Slates. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Slates` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Slates` will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Slates` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Slates` will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListSlates` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSlates` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListSlates` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSlates` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at https://google.aip.dev/160 + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at https://google.aip.dev/160 + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at https://google.aip.dev/132#ordering + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at https://google.aip.dev/132#ordering + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesResponse.php new file mode 100644 index 000000000000..8d56cebad5b6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSlatesResponse.php @@ -0,0 +1,151 @@ +google.ads.admanager.v1.ListSlatesResponse + */ +class ListSlatesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Slate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + */ + private $slates; + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Slate` objects. + * If a filter was included in the request, this reflects the total number + * after filtering. + * `total_size` will not be returned if `skip` is nonzero. + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Slate[] $slates + * The `Slate` objects from the specified network. + * @type string $next_page_token + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Slate` objects. + * If a filter was included in the request, this reflects the total number + * after filtering. + * `total_size` will not be returned if `skip` is nonzero. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * The `Slate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Slate> + */ + public function getSlates() + { + return $this->slates; + } + + /** + * The `Slate` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Slate slates = 1; + * @param \Google\Ads\AdManager\V1\Slate[] $var + * @return $this + */ + public function setSlates($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Slate::class); + $this->slates = $arr; + + return $this; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token that can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Slate` objects. + * If a filter was included in the request, this reflects the total number + * after filtering. + * `total_size` will not be returned if `skip` is nonzero. + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Slate` objects. + * If a filter was included in the request, this reflects the total number + * after filtering. + * `total_size` will not be returned if `skip` is nonzero. + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsRequest.php new file mode 100644 index 000000000000..bd1c561e5bd6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsRequest.php @@ -0,0 +1,320 @@ +google.ads.admanager.v1.ListSuggestedAdUnitsRequest + */ +class ListSuggestedAdUnitsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of SuggestedAdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `SuggestedAdUnits` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `SuggestedAdUnits` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListSuggestedAdUnits` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSuggestedAdUnits` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • name
  • + *
  • newCodePath
  • + *
  • weeklyRequestCount
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of SuggestedAdUnits. + * Format: `networks/{network_code}` + * Please see {@see SuggestedAdUnitServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListSuggestedAdUnitsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of SuggestedAdUnits. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `SuggestedAdUnits` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `SuggestedAdUnits` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListSuggestedAdUnits` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSuggestedAdUnits` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • name
  • + *
  • newCodePath
  • + *
  • weeklyRequestCount
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of SuggestedAdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of SuggestedAdUnits. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `SuggestedAdUnits` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `SuggestedAdUnits` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `SuggestedAdUnits` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `SuggestedAdUnits` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListSuggestedAdUnits` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSuggestedAdUnits` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListSuggestedAdUnits` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListSuggestedAdUnits` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • name
  • + *
  • newCodePath
  • + *
  • weeklyRequestCount
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • name
  • + *
  • newCodePath
  • + *
  • weeklyRequestCount
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsResponse.php new file mode 100644 index 000000000000..defdc9bdcedd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListSuggestedAdUnitsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListSuggestedAdUnitsResponse + */ +class ListSuggestedAdUnitsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `SuggestedAdUnit` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.SuggestedAdUnit suggested_ad_units = 1; + */ + private $suggested_ad_units; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `SuggestedAdUnit` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\SuggestedAdUnit[] $suggested_ad_units + * The `SuggestedAdUnit` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `SuggestedAdUnit` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * The `SuggestedAdUnit` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.SuggestedAdUnit suggested_ad_units = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\SuggestedAdUnit> + */ + public function getSuggestedAdUnits() + { + return $this->suggested_ad_units; + } + + /** + * The `SuggestedAdUnit` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.SuggestedAdUnit suggested_ad_units = 1; + * @param \Google\Ads\AdManager\V1\SuggestedAdUnit[] $var + * @return $this + */ + public function setSuggestedAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\SuggestedAdUnit::class); + $this->suggested_ad_units = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `SuggestedAdUnit` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `SuggestedAdUnit` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsRequest.php new file mode 100644 index 000000000000..0f7c913e8b71 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsRequest.php @@ -0,0 +1,320 @@ +google.ads.admanager.v1.ListTargetingPresetsRequest + */ +class ListTargetingPresetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of TargetingPresets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `TargetingPresets` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TargetingPresets` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListTargetingPresets` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTargetingPresets` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of TargetingPresets. + * Format: `networks/{network_code}` + * Please see {@see TargetingPresetServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListTargetingPresetsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of TargetingPresets. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `TargetingPresets` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TargetingPresets` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListTargetingPresets` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTargetingPresets` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of TargetingPresets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of TargetingPresets. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `TargetingPresets` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TargetingPresets` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `TargetingPresets` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TargetingPresets` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListTargetingPresets` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTargetingPresets` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListTargetingPresets` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTargetingPresets` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsResponse.php new file mode 100644 index 000000000000..7ad17d9f04d8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTargetingPresetsResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListTargetingPresetsResponse + */ +class ListTargetingPresetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `TargetingPreset` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + */ + private $targeting_presets; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `TargetingPreset` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\TargetingPreset[] $targeting_presets + * The `TargetingPreset` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `TargetingPreset` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * The `TargetingPreset` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\TargetingPreset> + */ + public function getTargetingPresets() + { + return $this->targeting_presets; + } + + /** + * The `TargetingPreset` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1; + * @param \Google\Ads\AdManager\V1\TargetingPreset[] $var + * @return $this + */ + public function setTargetingPresets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\TargetingPreset::class); + $this->targeting_presets = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `TargetingPreset` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `TargetingPreset` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesRequest.php new file mode 100644 index 000000000000..83eb6e9c980e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesRequest.php @@ -0,0 +1,296 @@ +google.ads.admanager.v1.ListTaxonomyCategoriesRequest + */ +class ListTaxonomyCategoriesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of TaxonomyCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `TaxonomyCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TaxonomyCategories` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListTaxonomyCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTaxonomyCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of TaxonomyCategories. + * Format: `networks/{network_code}` + * Please see {@see TaxonomyCategoryServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListTaxonomyCategoriesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of TaxonomyCategories. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `TaxonomyCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TaxonomyCategories` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListTaxonomyCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTaxonomyCategories` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TaxonomyCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of TaxonomyCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of TaxonomyCategories. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `TaxonomyCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TaxonomyCategories` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `TaxonomyCategories` to return. The service + * may return fewer than this value. If unspecified, at most 50 + * `TaxonomyCategories` will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListTaxonomyCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTaxonomyCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListTaxonomyCategories` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTaxonomyCategories` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesResponse.php new file mode 100644 index 000000000000..e38ec0de0796 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTaxonomyCategoriesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListTaxonomyCategoriesResponse + */ +class ListTaxonomyCategoriesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `TaxonomyCategory` objects. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1; + */ + private $taxonomy_categories; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `TaxonomyCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\TaxonomyCategory[] $taxonomy_categories + * The `TaxonomyCategory` objects. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `TaxonomyCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TaxonomyCategoryService::initOnce(); + parent::__construct($data); + } + + /** + * The `TaxonomyCategory` objects. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\TaxonomyCategory> + */ + public function getTaxonomyCategories() + { + return $this->taxonomy_categories; + } + + /** + * The `TaxonomyCategory` objects. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.TaxonomyCategory taxonomy_categories = 1; + * @param \Google\Ads\AdManager\V1\TaxonomyCategory[] $var + * @return $this + */ + public function setTaxonomyCategories($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\TaxonomyCategory::class); + $this->taxonomy_categories = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `TaxonomyCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `TaxonomyCategory` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsRequest.php new file mode 100644 index 000000000000..a87b1f207227 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsRequest.php @@ -0,0 +1,336 @@ +google.ads.admanager.v1.ListTeamsRequest + */ +class ListTeamsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of Teams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `Teams` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Teams` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListTeams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTeams` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • accessType
  • + *
  • allCompaniesAccess
  • + *
  • allInventoryAccess
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of Teams. + * Format: `networks/{network_code}` + * Please see {@see TeamServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListTeamsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of Teams. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `Teams` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Teams` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListTeams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTeams` must match + * the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • accessType
  • + *
  • allCompaniesAccess
  • + *
  • allInventoryAccess
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of Teams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of Teams. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `Teams` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Teams` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `Teams` to return. The service may return + * fewer than this value. If unspecified, at most 50 `Teams` will be returned. + * The maximum value is 1000; values greater than 1000 will be coerced to + * 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListTeams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTeams` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListTeams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListTeams` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • accessType
  • + *
  • allCompaniesAccess
  • + *
  • allInventoryAccess
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • accessType
  • + *
  • allCompaniesAccess
  • + *
  • allInventoryAccess
  • + *
  • description
  • + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsResponse.php new file mode 100644 index 000000000000..4dad7a4bb593 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListTeamsResponse.php @@ -0,0 +1,171 @@ +google.ads.admanager.v1.ListTeamsResponse + */ +class ListTeamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `Team` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + */ + private $teams; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `Team` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Team[] $teams + * The `Team` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `Team` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * The `Team` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\Team> + */ + public function getTeams() + { + return $this->teams; + } + + /** + * The `Team` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Team teams = 1; + * @param \Google\Ads\AdManager\V1\Team[] $var + * @return $this + */ + public function setTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Team::class); + $this->teams = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `Team` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `Team` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesRequest.php new file mode 100644 index 000000000000..048d33950c75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesRequest.php @@ -0,0 +1,324 @@ +google.ads.admanager.v1.ListThirdPartyCompaniesRequest + */ +class ListThirdPartyCompaniesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of ThirdPartyCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of `ThirdPartyCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `ThirdPartyCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListThirdPartyCompanies` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListThirdPartyCompanies` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $order_by = ''; + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip = 0; + + /** + * @param string $parent Required. The parent, which owns this collection of ThirdPartyCompanies. + * Format: `networks/{network_code}` + * Please see {@see ThirdPartyCompanyServiceClient::networkName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\ListThirdPartyCompaniesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent, which owns this collection of ThirdPartyCompanies. + * Format: `networks/{network_code}` + * @type int $page_size + * Optional. The maximum number of `ThirdPartyCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `ThirdPartyCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. A page token, received from a previous `ListThirdPartyCompanies` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListThirdPartyCompanies` + * must match the call that provided the page token. + * @type string $filter + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • type
  • + *
+ * @type string $order_by + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * @type int $skip + * Optional. Number of individual resources to skip while paginating. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent, which owns this collection of ThirdPartyCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of ThirdPartyCompanies. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of `ThirdPartyCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `ThirdPartyCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of `ThirdPartyCompanies` to return. The + * service may return fewer than this value. If unspecified, at most 50 + * `ThirdPartyCompanies` will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListThirdPartyCompanies` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListThirdPartyCompanies` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListThirdPartyCompanies` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListThirdPartyCompanies` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Expression to filter the response. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters + * Filterable fields: + *
    + *
  • displayName
  • + *
  • name
  • + *
  • status
  • + *
  • type
  • + *
+ * + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrderBy() + { + return $this->order_by; + } + + /** + * Optional. Expression to specify sorting order. + * See syntax details at + * https://developers.google.com/ad-manager/api/beta/filters#order + * + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrderBy($var) + { + GPBUtil::checkString($var, True); + $this->order_by = $var; + + return $this; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSkip() + { + return $this->skip; + } + + /** + * Optional. Number of individual resources to skip while paginating. + * + * Generated from protobuf field int32 skip = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSkip($var) + { + GPBUtil::checkInt32($var); + $this->skip = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesResponse.php new file mode 100644 index 000000000000..e263d3df6650 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ListThirdPartyCompaniesResponse.php @@ -0,0 +1,172 @@ +google.ads.admanager.v1.ListThirdPartyCompaniesResponse + */ +class ListThirdPartyCompaniesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The `ThirdPartyCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1; + */ + private $third_party_companies; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + /** + * Total number of `ThirdPartyCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + */ + protected $total_size = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ThirdPartyCompany[] $third_party_companies + * The `ThirdPartyCompany` objects from the specified network. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * @type int $total_size + * Total number of `ThirdPartyCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyService::initOnce(); + parent::__construct($data); + } + + /** + * The `ThirdPartyCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ThirdPartyCompany> + */ + public function getThirdPartyCompanies() + { + return $this->third_party_companies; + } + + /** + * The `ThirdPartyCompany` objects from the specified network. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ThirdPartyCompany third_party_companies = 1; + * @param \Google\Ads\AdManager\V1\ThirdPartyCompany[] $var + * @return $this + */ + public function setThirdPartyCompanies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ThirdPartyCompany::class); + $this->third_party_companies = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 `ThirdPartyCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @return int + */ + public function getTotalSize() + { + return $this->total_size; + } + + /** + * Total number of `ThirdPartyCompany` objects. + * If a filter was included in the request, this reflects the total number + * after the filtering is applied. + * `total_size` won't be calculated in the response unless it has been + * included in a response field mask. The response field mask can be provided + * to the method by using the URL parameter `$fields` or `fields`, or by using + * the HTTP/gRPC header `X-Goog-FieldMask`. + * For more information, see + * https://developers.google.com/ad-manager/api/beta/field-masks + * + * Generated from protobuf field int32 total_size = 3; + * @param int $var + * @return $this + */ + public function setTotalSize($var) + { + GPBUtil::checkInt32($var); + $this->total_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStream.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStream.php new file mode 100644 index 000000000000..45d826d86228 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStream.php @@ -0,0 +1,2011 @@ +google.ads.admanager.v1.LiveStream + */ +class LiveStream extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `LiveStream`. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the LiveStream. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Output only. The status of this LiveStream. Live stream events are created + * in the + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Output only. The date and time this LiveStream was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. The date and time this LiveStream was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Optional. The start date and time of this LiveStream. Modifying this + * attribute for an active live stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $start_time = null; + /** + * Optional. The scheduled end date and time of this LiveStream. This + * attribute is required if `unlimitedEndDateTime` is false and ignored if + * `unlimitedEndDateTime` is true. Modifying this attribute for an active live + * stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $end_time = null; + /** + * Optional. Whether the LiveStream has an end time. Defaults to false. If + * this field is true, `endDateTime` is ignored. + * + * Generated from protobuf field optional bool end_time_unlimited = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $end_time_unlimited = null; + /** + * Required. The list of URLs pointing to the live stream content in Content + * Delivery Network. Can be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field repeated string content_urls = 9 [(.google.api.field_behavior) = REQUIRED]; + */ + private $content_urls; + /** + * Required. The list of Ad Manager ad tag URLs generated by the Ad Manager + * trafficking workflow that are associated with this live stream. Currently, + * the list includes only one element: the master ad tag. + * + * Generated from protobuf field repeated string ad_tags = 10 [(.google.api.field_behavior) = REQUIRED]; + */ + private $ad_tags; + /** + * Output only. The code used in constructing a live stream master playlist + * URL. + * + * Generated from protobuf field optional string asset_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $asset_key = null; + /** + * Optional. Whether the live stream's requests to the IMA SDK API will be + * authenticated using the DAI authentication keys. + * + * Generated from protobuf field optional bool enable_dai_authentication_keys = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_dai_authentication_keys = null; + /** + * Optional. The type of content that should be used to fill an empty ad + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType ad_break_fill_type = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $ad_break_fill_type = null; + /** + * Optional. The type of content that should be used to fill the time + * remaining in the ad break when there are not enough ads to fill the entire + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * To set this field a network needs to have the "Live stream ad break + * underfill type" feature enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType underfill_ad_break_fill_type = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $underfill_ad_break_fill_type = null; + /** + * Optional. The duration, starting from the time the user enters the DAI + * stream, for which mid-roll decisioning will be skipped. This field is only + * applicable when an ad holiday is requested in the stream create request. + * Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration ad_holiday_duration = 17 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $ad_holiday_duration = null; + /** + * Optional. Whether there will be max filler duration in this live stream. If + * true, maxFillerDuration should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_max_filler_duration = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_max_filler_duration = null; + /** + * Optional. The maximum duration that can be used to fill this ad pod, either + * with a slate or underlying content, depending on your settings. If more + * time needs to be filled, the ad pod will instead be dropped and the + * underlying content will be served. + * + * Generated from protobuf field optional .google.protobuf.Duration max_filler_duration = 19 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_filler_duration = null; + /** + * Optional. The duration that can be used when stitching ads for each + * livestream event. This attribute is only available for Pod Serving HLS + * Segment Redirect and Pod Serving Dash Segment Redirect. + * + * Generated from protobuf field optional .google.protobuf.Duration pod_serving_segment_duration = 20 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $pod_serving_segment_duration = null; + /** + * Optional. Whether there will be durationless ad breaks in this live stream. + * If true, `defaultAdBreakDuration` should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_durationless_ad_breaks = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_durationless_ad_breaks = null; + /** + * Optional. The default ad pod duration that will be requested when an ad + * break cue-out does not specify a duration. Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration default_ad_break_duration = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_ad_break_duration = null; + /** + * Optional. The list of CdnConfigurations that provide settings for ingesting + * and delivering the videos associated with this source. Modifying settings + * for an active live stream may break the stream for some users. Exercise + * caution. + * Format: "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field repeated string source_content_configurations = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $source_content_configurations; + /** + * Optional. The CdnConfiguration that provide settings for delivering ad + * media associated with this source. Format: + * "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field optional string ad_media_delivery_config = 27 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $ad_media_delivery_config = null; + /** + * Optional. The settings specific to Preroll ad breaks. If + * null, this livestream does not have prerolls enabled. + * + * Generated from protobuf field .google.ads.admanager.v1.PrerollSettings preroll_settings = 28 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $preroll_settings = null; + /** + * Optional. The settings that are specific to HTTPS live streaming (HLS) + * protocol. If it is not set will use the default HLS settings. + * + * Generated from protobuf field .google.ads.admanager.v1.HlsSettings hls_settings = 29 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $hls_settings = null; + /** + * Optional. Whether specific allowlisted IP addresses should be used to + * access this live stream. Will default to false. To set this field a network + * needs to have the "Video live allowlisted IPS enabled" feature enabled. + * Modifying this field for an active live stream can impact traffic. + * + * Generated from protobuf field optional bool allowlisted_ips_enabled = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $allowlisted_ips_enabled = null; + /** + * Immutable. The method of dynamic ad insertion that is used to insert ads + * into this live stream. Defaults to DynamicAdInsertionType.LINEAR. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DynamicAdInsertionTypeEnum.DynamicAdInsertionType dynamic_ad_insertion_type = 31 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $dynamic_ad_insertion_type = null; + /** + * Optional. Whether the served playlists can include relative URLs. Defaults + * to false. To set this field a network needs to have the "Video live stream + * relative playlist URLs" feature enabled. This field can be modified when + * the live stream is in a LiveStreamEventStatus#PAUSED state. + * + * Generated from protobuf field optional bool relative_playlist_delivery_enabled = 33 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $relative_playlist_delivery_enabled = null; + /** + * Immutable. The streaming format of the LiveStream media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum.LiveStreamEventStreamingFormat streaming_format = 34 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $streaming_format = null; + /** + * Optional. Indicates whether the option to prefetch ad requests is enabled. + * + * Generated from protobuf field optional bool prefetch_enabled = 35 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $prefetch_enabled = null; + /** + * Optional. The information needed to prefetch ad requests for an ad break. + * + * Generated from protobuf field .google.ads.admanager.v1.PrefetchSettings prefetch_settings = 36 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $prefetch_settings = null; + /** + * Optional. Whether live stream placement opportunities without `#EXT-CUE-IN` + * markers should be force closed. Defaults to false. To set this field a + * network needs to have the "Video live stream forced cue in" feature + * enabled. + * + * Generated from protobuf field optional bool forced_cue_in_enabled = 37 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $forced_cue_in_enabled = null; + /** + * Optional. Whether segments shorter than 1 second at the end of an ad pod + * should be dropped. Defaults to false. To set this field a network needs to + * have the "Video live stream short segment dropping" feature enabled. + * + * Generated from protobuf field optional bool short_segment_dropping_enabled = 38 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $short_segment_dropping_enabled = null; + /** + * Immutable. An additional code that can be used in constructing live stream + * event URLs. Can only be set for pod serving live streams. The custom asset + * key may be at most 64 characters and can contain alphanumeric characters + * and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string custom_asset_key = 39 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $custom_asset_key = null; + /** + * Optional. The formats that will be recognized as ad break start/end + * markers. This field is ignored if `adBreakMarkupTypesEnabled` is false. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreakMarkupTypeEnum.AdBreakMarkupType ad_break_markups = 42 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $ad_break_markups; + /** + * Optional. Whether this LiveStream is specifying a subset of supported + * `adBreakMarkups`. If this field is false, all supported formats will be + * treated as ad break start/end markers. + * + * Generated from protobuf field optional bool ad_break_markup_types_enabled = 43 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $ad_break_markup_types_enabled = null; + /** + * Optional. The conditioning to apply to this LiveStream. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStreamConditioning live_stream_conditioning = 46 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $live_stream_conditioning = null; + /** + * Optional. Indicates whether multi-break scheduling via Early Break + * Notification (EBN) is enabled for this LiveStream. + * + * Generated from protobuf field optional bool early_break_notification_multi_break_scheduling_enabled = 54 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $early_break_notification_multi_break_scheduling_enabled = null; + /** + * Optional. The maximum amount of time by which a stitched ad pod is + * allowed to be trimmed before whole ads are dropped instead. + * + * Generated from protobuf field .google.protobuf.Duration ad_pod_trim_tolerance = 55 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $ad_pod_trim_tolerance = null; + /** + * Output only. The effective asset key of the live stream. This is the + * user-defined custom_asset_key if specified; otherwise, it falls back to the + * autogenerated asset_key. + * + * Generated from protobuf field optional string effective_asset_key = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $effective_asset_key = null; + /** + * Optional. The auxiliary ad tag settings for this live stream. + * + * Generated from protobuf field .google.ads.admanager.v1.AuxiliaryAdSettings auxiliary_ad_settings = 57 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $auxiliary_ad_settings = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `LiveStream`. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * @type string $display_name + * Required. The name of the LiveStream. This value has a maximum length of + * 255 characters. + * @type int $status + * Output only. The status of this LiveStream. Live stream events are created + * in the + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The date and time this LiveStream was created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The date and time this LiveStream was last modified. + * @type \Google\Protobuf\Timestamp $start_time + * Optional. The start date and time of this LiveStream. Modifying this + * attribute for an active live stream can impact traffic. + * @type \Google\Protobuf\Timestamp $end_time + * Optional. The scheduled end date and time of this LiveStream. This + * attribute is required if `unlimitedEndDateTime` is false and ignored if + * `unlimitedEndDateTime` is true. Modifying this attribute for an active live + * stream can impact traffic. + * @type bool $end_time_unlimited + * Optional. Whether the LiveStream has an end time. Defaults to false. If + * this field is true, `endDateTime` is ignored. + * @type string[] $content_urls + * Required. The list of URLs pointing to the live stream content in Content + * Delivery Network. Can be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * @type string[] $ad_tags + * Required. The list of Ad Manager ad tag URLs generated by the Ad Manager + * trafficking workflow that are associated with this live stream. Currently, + * the list includes only one element: the master ad tag. + * @type string $asset_key + * Output only. The code used in constructing a live stream master playlist + * URL. + * @type bool $enable_dai_authentication_keys + * Optional. Whether the live stream's requests to the IMA SDK API will be + * authenticated using the DAI authentication keys. + * @type int $ad_break_fill_type + * Optional. The type of content that should be used to fill an empty ad + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * @type int $underfill_ad_break_fill_type + * Optional. The type of content that should be used to fill the time + * remaining in the ad break when there are not enough ads to fill the entire + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * To set this field a network needs to have the "Live stream ad break + * underfill type" feature enabled. + * @type \Google\Protobuf\Duration $ad_holiday_duration + * Optional. The duration, starting from the time the user enters the DAI + * stream, for which mid-roll decisioning will be skipped. This field is only + * applicable when an ad holiday is requested in the stream create request. + * Defaults to 0. + * @type bool $enable_max_filler_duration + * Optional. Whether there will be max filler duration in this live stream. If + * true, maxFillerDuration should be specified. Defaults to false. + * @type \Google\Protobuf\Duration $max_filler_duration + * Optional. The maximum duration that can be used to fill this ad pod, either + * with a slate or underlying content, depending on your settings. If more + * time needs to be filled, the ad pod will instead be dropped and the + * underlying content will be served. + * @type \Google\Protobuf\Duration $pod_serving_segment_duration + * Optional. The duration that can be used when stitching ads for each + * livestream event. This attribute is only available for Pod Serving HLS + * Segment Redirect and Pod Serving Dash Segment Redirect. + * @type bool $enable_durationless_ad_breaks + * Optional. Whether there will be durationless ad breaks in this live stream. + * If true, `defaultAdBreakDuration` should be specified. Defaults to false. + * @type \Google\Protobuf\Duration $default_ad_break_duration + * Optional. The default ad pod duration that will be requested when an ad + * break cue-out does not specify a duration. Defaults to 0. + * @type string[] $source_content_configurations + * Optional. The list of CdnConfigurations that provide settings for ingesting + * and delivering the videos associated with this source. Modifying settings + * for an active live stream may break the stream for some users. Exercise + * caution. + * Format: "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * @type string $ad_media_delivery_config + * Optional. The CdnConfiguration that provide settings for delivering ad + * media associated with this source. Format: + * "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * @type \Google\Ads\AdManager\V1\PrerollSettings $preroll_settings + * Optional. The settings specific to Preroll ad breaks. If + * null, this livestream does not have prerolls enabled. + * @type \Google\Ads\AdManager\V1\HlsSettings $hls_settings + * Optional. The settings that are specific to HTTPS live streaming (HLS) + * protocol. If it is not set will use the default HLS settings. + * @type bool $allowlisted_ips_enabled + * Optional. Whether specific allowlisted IP addresses should be used to + * access this live stream. Will default to false. To set this field a network + * needs to have the "Video live allowlisted IPS enabled" feature enabled. + * Modifying this field for an active live stream can impact traffic. + * @type int $dynamic_ad_insertion_type + * Immutable. The method of dynamic ad insertion that is used to insert ads + * into this live stream. Defaults to DynamicAdInsertionType.LINEAR. + * @type bool $relative_playlist_delivery_enabled + * Optional. Whether the served playlists can include relative URLs. Defaults + * to false. To set this field a network needs to have the "Video live stream + * relative playlist URLs" feature enabled. This field can be modified when + * the live stream is in a LiveStreamEventStatus#PAUSED state. + * @type int $streaming_format + * Immutable. The streaming format of the LiveStream media. + * @type bool $prefetch_enabled + * Optional. Indicates whether the option to prefetch ad requests is enabled. + * @type \Google\Ads\AdManager\V1\PrefetchSettings $prefetch_settings + * Optional. The information needed to prefetch ad requests for an ad break. + * @type bool $forced_cue_in_enabled + * Optional. Whether live stream placement opportunities without `#EXT-CUE-IN` + * markers should be force closed. Defaults to false. To set this field a + * network needs to have the "Video live stream forced cue in" feature + * enabled. + * @type bool $short_segment_dropping_enabled + * Optional. Whether segments shorter than 1 second at the end of an ad pod + * should be dropped. Defaults to false. To set this field a network needs to + * have the "Video live stream short segment dropping" feature enabled. + * @type string $custom_asset_key + * Immutable. An additional code that can be used in constructing live stream + * event URLs. Can only be set for pod serving live streams. The custom asset + * key may be at most 64 characters and can contain alphanumeric characters + * and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * @type int[] $ad_break_markups + * Optional. The formats that will be recognized as ad break start/end + * markers. This field is ignored if `adBreakMarkupTypesEnabled` is false. + * @type bool $ad_break_markup_types_enabled + * Optional. Whether this LiveStream is specifying a subset of supported + * `adBreakMarkups`. If this field is false, all supported formats will be + * treated as ad break start/end markers. + * @type \Google\Ads\AdManager\V1\LiveStreamConditioning $live_stream_conditioning + * Optional. The conditioning to apply to this LiveStream. + * @type bool $early_break_notification_multi_break_scheduling_enabled + * Optional. Indicates whether multi-break scheduling via Early Break + * Notification (EBN) is enabled for this LiveStream. + * @type \Google\Protobuf\Duration $ad_pod_trim_tolerance + * Optional. The maximum amount of time by which a stitched ad pod is + * allowed to be trimmed before whole ads are dropped instead. + * @type string $effective_asset_key + * Output only. The effective asset key of the live stream. This is the + * user-defined custom_asset_key if specified; otherwise, it falls back to the + * autogenerated asset_key. + * @type \Google\Ads\AdManager\V1\AuxiliaryAdSettings $auxiliary_ad_settings + * Optional. The auxiliary ad tag settings for this live stream. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `LiveStream`. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `LiveStream`. + * Format: `networks/{network_code}/liveStreams/{live_stream_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the LiveStream. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the LiveStream. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The status of this LiveStream. Live stream events are created + * in the + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of this LiveStream. Live stream events are created + * in the + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LiveStreamEventStatusEnum\LiveStreamEventStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. The date and time this LiveStream was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The date and time this LiveStream was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Output only. The date and time this LiveStream was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The date and time this LiveStream was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Optional. The start date and time of this LiveStream. Modifying this + * attribute for an active live stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Optional. The start date and time of this LiveStream. Modifying this + * attribute for an active live stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->start_time = $var; + + return $this; + } + + /** + * Optional. The scheduled end date and time of this LiveStream. This + * attribute is required if `unlimitedEndDateTime` is false and ignored if + * `unlimitedEndDateTime` is true. Modifying this attribute for an active live + * stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEndTime() + { + return $this->end_time; + } + + public function hasEndTime() + { + return isset($this->end_time); + } + + public function clearEndTime() + { + unset($this->end_time); + } + + /** + * Optional. The scheduled end date and time of this LiveStream. This + * attribute is required if `unlimitedEndDateTime` is false and ignored if + * `unlimitedEndDateTime` is true. Modifying this attribute for an active live + * stream can impact traffic. + * + * Generated from protobuf field .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->end_time = $var; + + return $this; + } + + /** + * Optional. Whether the LiveStream has an end time. Defaults to false. If + * this field is true, `endDateTime` is ignored. + * + * Generated from protobuf field optional bool end_time_unlimited = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEndTimeUnlimited() + { + return isset($this->end_time_unlimited) ? $this->end_time_unlimited : false; + } + + public function hasEndTimeUnlimited() + { + return isset($this->end_time_unlimited); + } + + public function clearEndTimeUnlimited() + { + unset($this->end_time_unlimited); + } + + /** + * Optional. Whether the LiveStream has an end time. Defaults to false. If + * this field is true, `endDateTime` is ignored. + * + * Generated from protobuf field optional bool end_time_unlimited = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEndTimeUnlimited($var) + { + GPBUtil::checkBool($var); + $this->end_time_unlimited = $var; + + return $this; + } + + /** + * Required. The list of URLs pointing to the live stream content in Content + * Delivery Network. Can be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field repeated string content_urls = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getContentUrls() + { + return $this->content_urls; + } + + /** + * Required. The list of URLs pointing to the live stream content in Content + * Delivery Network. Can be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field repeated string content_urls = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setContentUrls($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->content_urls = $arr; + + return $this; + } + + /** + * Required. The list of Ad Manager ad tag URLs generated by the Ad Manager + * trafficking workflow that are associated with this live stream. Currently, + * the list includes only one element: the master ad tag. + * + * Generated from protobuf field repeated string ad_tags = 10 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getAdTags() + { + return $this->ad_tags; + } + + /** + * Required. The list of Ad Manager ad tag URLs generated by the Ad Manager + * trafficking workflow that are associated with this live stream. Currently, + * the list includes only one element: the master ad tag. + * + * Generated from protobuf field repeated string ad_tags = 10 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setAdTags($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->ad_tags = $arr; + + return $this; + } + + /** + * Output only. The code used in constructing a live stream master playlist + * URL. + * + * Generated from protobuf field optional string asset_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAssetKey() + { + return isset($this->asset_key) ? $this->asset_key : ''; + } + + public function hasAssetKey() + { + return isset($this->asset_key); + } + + public function clearAssetKey() + { + unset($this->asset_key); + } + + /** + * Output only. The code used in constructing a live stream master playlist + * URL. + * + * Generated from protobuf field optional string asset_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setAssetKey($var) + { + GPBUtil::checkString($var, True); + $this->asset_key = $var; + + return $this; + } + + /** + * Optional. Whether the live stream's requests to the IMA SDK API will be + * authenticated using the DAI authentication keys. + * + * Generated from protobuf field optional bool enable_dai_authentication_keys = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableDaiAuthenticationKeys() + { + return isset($this->enable_dai_authentication_keys) ? $this->enable_dai_authentication_keys : false; + } + + public function hasEnableDaiAuthenticationKeys() + { + return isset($this->enable_dai_authentication_keys); + } + + public function clearEnableDaiAuthenticationKeys() + { + unset($this->enable_dai_authentication_keys); + } + + /** + * Optional. Whether the live stream's requests to the IMA SDK API will be + * authenticated using the DAI authentication keys. + * + * Generated from protobuf field optional bool enable_dai_authentication_keys = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableDaiAuthenticationKeys($var) + { + GPBUtil::checkBool($var); + $this->enable_dai_authentication_keys = $var; + + return $this; + } + + /** + * Optional. The type of content that should be used to fill an empty ad + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType ad_break_fill_type = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getAdBreakFillType() + { + return isset($this->ad_break_fill_type) ? $this->ad_break_fill_type : 0; + } + + public function hasAdBreakFillType() + { + return isset($this->ad_break_fill_type); + } + + public function clearAdBreakFillType() + { + unset($this->ad_break_fill_type); + } + + /** + * Optional. The type of content that should be used to fill an empty ad + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType ad_break_fill_type = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setAdBreakFillType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdBreakFillTypeEnum\AdBreakFillType::class); + $this->ad_break_fill_type = $var; + + return $this; + } + + /** + * Optional. The type of content that should be used to fill the time + * remaining in the ad break when there are not enough ads to fill the entire + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * To set this field a network needs to have the "Live stream ad break + * underfill type" feature enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType underfill_ad_break_fill_type = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getUnderfillAdBreakFillType() + { + return isset($this->underfill_ad_break_fill_type) ? $this->underfill_ad_break_fill_type : 0; + } + + public function hasUnderfillAdBreakFillType() + { + return isset($this->underfill_ad_break_fill_type); + } + + public function clearUnderfillAdBreakFillType() + { + unset($this->underfill_ad_break_fill_type); + } + + /** + * Optional. The type of content that should be used to fill the time + * remaining in the ad break when there are not enough ads to fill the entire + * break. Defaults to + * [SLATE][google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType.SLATE]. + * To set this field a network needs to have the "Live stream ad break + * underfill type" feature enabled. + * + * Generated from protobuf field optional .google.ads.admanager.v1.AdBreakFillTypeEnum.AdBreakFillType underfill_ad_break_fill_type = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setUnderfillAdBreakFillType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdBreakFillTypeEnum\AdBreakFillType::class); + $this->underfill_ad_break_fill_type = $var; + + return $this; + } + + /** + * Optional. The duration, starting from the time the user enters the DAI + * stream, for which mid-roll decisioning will be skipped. This field is only + * applicable when an ad holiday is requested in the stream create request. + * Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration ad_holiday_duration = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getAdHolidayDuration() + { + return $this->ad_holiday_duration; + } + + public function hasAdHolidayDuration() + { + return isset($this->ad_holiday_duration); + } + + public function clearAdHolidayDuration() + { + unset($this->ad_holiday_duration); + } + + /** + * Optional. The duration, starting from the time the user enters the DAI + * stream, for which mid-roll decisioning will be skipped. This field is only + * applicable when an ad holiday is requested in the stream create request. + * Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration ad_holiday_duration = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setAdHolidayDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->ad_holiday_duration = $var; + + return $this; + } + + /** + * Optional. Whether there will be max filler duration in this live stream. If + * true, maxFillerDuration should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_max_filler_duration = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableMaxFillerDuration() + { + return isset($this->enable_max_filler_duration) ? $this->enable_max_filler_duration : false; + } + + public function hasEnableMaxFillerDuration() + { + return isset($this->enable_max_filler_duration); + } + + public function clearEnableMaxFillerDuration() + { + unset($this->enable_max_filler_duration); + } + + /** + * Optional. Whether there will be max filler duration in this live stream. If + * true, maxFillerDuration should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_max_filler_duration = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableMaxFillerDuration($var) + { + GPBUtil::checkBool($var); + $this->enable_max_filler_duration = $var; + + return $this; + } + + /** + * Optional. The maximum duration that can be used to fill this ad pod, either + * with a slate or underlying content, depending on your settings. If more + * time needs to be filled, the ad pod will instead be dropped and the + * underlying content will be served. + * + * Generated from protobuf field optional .google.protobuf.Duration max_filler_duration = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxFillerDuration() + { + return $this->max_filler_duration; + } + + public function hasMaxFillerDuration() + { + return isset($this->max_filler_duration); + } + + public function clearMaxFillerDuration() + { + unset($this->max_filler_duration); + } + + /** + * Optional. The maximum duration that can be used to fill this ad pod, either + * with a slate or underlying content, depending on your settings. If more + * time needs to be filled, the ad pod will instead be dropped and the + * underlying content will be served. + * + * Generated from protobuf field optional .google.protobuf.Duration max_filler_duration = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxFillerDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_filler_duration = $var; + + return $this; + } + + /** + * Optional. The duration that can be used when stitching ads for each + * livestream event. This attribute is only available for Pod Serving HLS + * Segment Redirect and Pod Serving Dash Segment Redirect. + * + * Generated from protobuf field optional .google.protobuf.Duration pod_serving_segment_duration = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getPodServingSegmentDuration() + { + return $this->pod_serving_segment_duration; + } + + public function hasPodServingSegmentDuration() + { + return isset($this->pod_serving_segment_duration); + } + + public function clearPodServingSegmentDuration() + { + unset($this->pod_serving_segment_duration); + } + + /** + * Optional. The duration that can be used when stitching ads for each + * livestream event. This attribute is only available for Pod Serving HLS + * Segment Redirect and Pod Serving Dash Segment Redirect. + * + * Generated from protobuf field optional .google.protobuf.Duration pod_serving_segment_duration = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setPodServingSegmentDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->pod_serving_segment_duration = $var; + + return $this; + } + + /** + * Optional. Whether there will be durationless ad breaks in this live stream. + * If true, `defaultAdBreakDuration` should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_durationless_ad_breaks = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableDurationlessAdBreaks() + { + return isset($this->enable_durationless_ad_breaks) ? $this->enable_durationless_ad_breaks : false; + } + + public function hasEnableDurationlessAdBreaks() + { + return isset($this->enable_durationless_ad_breaks); + } + + public function clearEnableDurationlessAdBreaks() + { + unset($this->enable_durationless_ad_breaks); + } + + /** + * Optional. Whether there will be durationless ad breaks in this live stream. + * If true, `defaultAdBreakDuration` should be specified. Defaults to false. + * + * Generated from protobuf field optional bool enable_durationless_ad_breaks = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableDurationlessAdBreaks($var) + { + GPBUtil::checkBool($var); + $this->enable_durationless_ad_breaks = $var; + + return $this; + } + + /** + * Optional. The default ad pod duration that will be requested when an ad + * break cue-out does not specify a duration. Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration default_ad_break_duration = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getDefaultAdBreakDuration() + { + return $this->default_ad_break_duration; + } + + public function hasDefaultAdBreakDuration() + { + return isset($this->default_ad_break_duration); + } + + public function clearDefaultAdBreakDuration() + { + unset($this->default_ad_break_duration); + } + + /** + * Optional. The default ad pod duration that will be requested when an ad + * break cue-out does not specify a duration. Defaults to 0. + * + * Generated from protobuf field optional .google.protobuf.Duration default_ad_break_duration = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setDefaultAdBreakDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->default_ad_break_duration = $var; + + return $this; + } + + /** + * Optional. The list of CdnConfigurations that provide settings for ingesting + * and delivering the videos associated with this source. Modifying settings + * for an active live stream may break the stream for some users. Exercise + * caution. + * Format: "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field repeated string source_content_configurations = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getSourceContentConfigurations() + { + return $this->source_content_configurations; + } + + /** + * Optional. The list of CdnConfigurations that provide settings for ingesting + * and delivering the videos associated with this source. Modifying settings + * for an active live stream may break the stream for some users. Exercise + * caution. + * Format: "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field repeated string source_content_configurations = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setSourceContentConfigurations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->source_content_configurations = $arr; + + return $this; + } + + /** + * Optional. The CdnConfiguration that provide settings for delivering ad + * media associated with this source. Format: + * "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field optional string ad_media_delivery_config = 27 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getAdMediaDeliveryConfig() + { + return isset($this->ad_media_delivery_config) ? $this->ad_media_delivery_config : ''; + } + + public function hasAdMediaDeliveryConfig() + { + return isset($this->ad_media_delivery_config); + } + + public function clearAdMediaDeliveryConfig() + { + unset($this->ad_media_delivery_config); + } + + /** + * Optional. The CdnConfiguration that provide settings for delivering ad + * media associated with this source. Format: + * "networks/{network_code}/cdnConfigs/{cdn_config_id}" + * + * Generated from protobuf field optional string ad_media_delivery_config = 27 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAdMediaDeliveryConfig($var) + { + GPBUtil::checkString($var, True); + $this->ad_media_delivery_config = $var; + + return $this; + } + + /** + * Optional. The settings specific to Preroll ad breaks. If + * null, this livestream does not have prerolls enabled. + * + * Generated from protobuf field .google.ads.admanager.v1.PrerollSettings preroll_settings = 28 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\PrerollSettings|null + */ + public function getPrerollSettings() + { + return $this->preroll_settings; + } + + public function hasPrerollSettings() + { + return isset($this->preroll_settings); + } + + public function clearPrerollSettings() + { + unset($this->preroll_settings); + } + + /** + * Optional. The settings specific to Preroll ad breaks. If + * null, this livestream does not have prerolls enabled. + * + * Generated from protobuf field .google.ads.admanager.v1.PrerollSettings preroll_settings = 28 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\PrerollSettings $var + * @return $this + */ + public function setPrerollSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrerollSettings::class); + $this->preroll_settings = $var; + + return $this; + } + + /** + * Optional. The settings that are specific to HTTPS live streaming (HLS) + * protocol. If it is not set will use the default HLS settings. + * + * Generated from protobuf field .google.ads.admanager.v1.HlsSettings hls_settings = 29 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\HlsSettings|null + */ + public function getHlsSettings() + { + return $this->hls_settings; + } + + public function hasHlsSettings() + { + return isset($this->hls_settings); + } + + public function clearHlsSettings() + { + unset($this->hls_settings); + } + + /** + * Optional. The settings that are specific to HTTPS live streaming (HLS) + * protocol. If it is not set will use the default HLS settings. + * + * Generated from protobuf field .google.ads.admanager.v1.HlsSettings hls_settings = 29 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\HlsSettings $var + * @return $this + */ + public function setHlsSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\HlsSettings::class); + $this->hls_settings = $var; + + return $this; + } + + /** + * Optional. Whether specific allowlisted IP addresses should be used to + * access this live stream. Will default to false. To set this field a network + * needs to have the "Video live allowlisted IPS enabled" feature enabled. + * Modifying this field for an active live stream can impact traffic. + * + * Generated from protobuf field optional bool allowlisted_ips_enabled = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllowlistedIpsEnabled() + { + return isset($this->allowlisted_ips_enabled) ? $this->allowlisted_ips_enabled : false; + } + + public function hasAllowlistedIpsEnabled() + { + return isset($this->allowlisted_ips_enabled); + } + + public function clearAllowlistedIpsEnabled() + { + unset($this->allowlisted_ips_enabled); + } + + /** + * Optional. Whether specific allowlisted IP addresses should be used to + * access this live stream. Will default to false. To set this field a network + * needs to have the "Video live allowlisted IPS enabled" feature enabled. + * Modifying this field for an active live stream can impact traffic. + * + * Generated from protobuf field optional bool allowlisted_ips_enabled = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllowlistedIpsEnabled($var) + { + GPBUtil::checkBool($var); + $this->allowlisted_ips_enabled = $var; + + return $this; + } + + /** + * Immutable. The method of dynamic ad insertion that is used to insert ads + * into this live stream. Defaults to DynamicAdInsertionType.LINEAR. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DynamicAdInsertionTypeEnum.DynamicAdInsertionType dynamic_ad_insertion_type = 31 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getDynamicAdInsertionType() + { + return isset($this->dynamic_ad_insertion_type) ? $this->dynamic_ad_insertion_type : 0; + } + + public function hasDynamicAdInsertionType() + { + return isset($this->dynamic_ad_insertion_type); + } + + public function clearDynamicAdInsertionType() + { + unset($this->dynamic_ad_insertion_type); + } + + /** + * Immutable. The method of dynamic ad insertion that is used to insert ads + * into this live stream. Defaults to DynamicAdInsertionType.LINEAR. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DynamicAdInsertionTypeEnum.DynamicAdInsertionType dynamic_ad_insertion_type = 31 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setDynamicAdInsertionType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DynamicAdInsertionTypeEnum\DynamicAdInsertionType::class); + $this->dynamic_ad_insertion_type = $var; + + return $this; + } + + /** + * Optional. Whether the served playlists can include relative URLs. Defaults + * to false. To set this field a network needs to have the "Video live stream + * relative playlist URLs" feature enabled. This field can be modified when + * the live stream is in a LiveStreamEventStatus#PAUSED state. + * + * Generated from protobuf field optional bool relative_playlist_delivery_enabled = 33 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRelativePlaylistDeliveryEnabled() + { + return isset($this->relative_playlist_delivery_enabled) ? $this->relative_playlist_delivery_enabled : false; + } + + public function hasRelativePlaylistDeliveryEnabled() + { + return isset($this->relative_playlist_delivery_enabled); + } + + public function clearRelativePlaylistDeliveryEnabled() + { + unset($this->relative_playlist_delivery_enabled); + } + + /** + * Optional. Whether the served playlists can include relative URLs. Defaults + * to false. To set this field a network needs to have the "Video live stream + * relative playlist URLs" feature enabled. This field can be modified when + * the live stream is in a LiveStreamEventStatus#PAUSED state. + * + * Generated from protobuf field optional bool relative_playlist_delivery_enabled = 33 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRelativePlaylistDeliveryEnabled($var) + { + GPBUtil::checkBool($var); + $this->relative_playlist_delivery_enabled = $var; + + return $this; + } + + /** + * Immutable. The streaming format of the LiveStream media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum.LiveStreamEventStreamingFormat streaming_format = 34 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getStreamingFormat() + { + return isset($this->streaming_format) ? $this->streaming_format : 0; + } + + public function hasStreamingFormat() + { + return isset($this->streaming_format); + } + + public function clearStreamingFormat() + { + unset($this->streaming_format); + } + + /** + * Immutable. The streaming format of the LiveStream media. + * + * Generated from protobuf field optional .google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum.LiveStreamEventStreamingFormat streaming_format = 34 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setStreamingFormat($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\LiveStreamEventStreamingFormatEnum\LiveStreamEventStreamingFormat::class); + $this->streaming_format = $var; + + return $this; + } + + /** + * Optional. Indicates whether the option to prefetch ad requests is enabled. + * + * Generated from protobuf field optional bool prefetch_enabled = 35 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getPrefetchEnabled() + { + return isset($this->prefetch_enabled) ? $this->prefetch_enabled : false; + } + + public function hasPrefetchEnabled() + { + return isset($this->prefetch_enabled); + } + + public function clearPrefetchEnabled() + { + unset($this->prefetch_enabled); + } + + /** + * Optional. Indicates whether the option to prefetch ad requests is enabled. + * + * Generated from protobuf field optional bool prefetch_enabled = 35 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setPrefetchEnabled($var) + { + GPBUtil::checkBool($var); + $this->prefetch_enabled = $var; + + return $this; + } + + /** + * Optional. The information needed to prefetch ad requests for an ad break. + * + * Generated from protobuf field .google.ads.admanager.v1.PrefetchSettings prefetch_settings = 36 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\PrefetchSettings|null + */ + public function getPrefetchSettings() + { + return $this->prefetch_settings; + } + + public function hasPrefetchSettings() + { + return isset($this->prefetch_settings); + } + + public function clearPrefetchSettings() + { + unset($this->prefetch_settings); + } + + /** + * Optional. The information needed to prefetch ad requests for an ad break. + * + * Generated from protobuf field .google.ads.admanager.v1.PrefetchSettings prefetch_settings = 36 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\PrefetchSettings $var + * @return $this + */ + public function setPrefetchSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrefetchSettings::class); + $this->prefetch_settings = $var; + + return $this; + } + + /** + * Optional. Whether live stream placement opportunities without `#EXT-CUE-IN` + * markers should be force closed. Defaults to false. To set this field a + * network needs to have the "Video live stream forced cue in" feature + * enabled. + * + * Generated from protobuf field optional bool forced_cue_in_enabled = 37 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getForcedCueInEnabled() + { + return isset($this->forced_cue_in_enabled) ? $this->forced_cue_in_enabled : false; + } + + public function hasForcedCueInEnabled() + { + return isset($this->forced_cue_in_enabled); + } + + public function clearForcedCueInEnabled() + { + unset($this->forced_cue_in_enabled); + } + + /** + * Optional. Whether live stream placement opportunities without `#EXT-CUE-IN` + * markers should be force closed. Defaults to false. To set this field a + * network needs to have the "Video live stream forced cue in" feature + * enabled. + * + * Generated from protobuf field optional bool forced_cue_in_enabled = 37 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setForcedCueInEnabled($var) + { + GPBUtil::checkBool($var); + $this->forced_cue_in_enabled = $var; + + return $this; + } + + /** + * Optional. Whether segments shorter than 1 second at the end of an ad pod + * should be dropped. Defaults to false. To set this field a network needs to + * have the "Video live stream short segment dropping" feature enabled. + * + * Generated from protobuf field optional bool short_segment_dropping_enabled = 38 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getShortSegmentDroppingEnabled() + { + return isset($this->short_segment_dropping_enabled) ? $this->short_segment_dropping_enabled : false; + } + + public function hasShortSegmentDroppingEnabled() + { + return isset($this->short_segment_dropping_enabled); + } + + public function clearShortSegmentDroppingEnabled() + { + unset($this->short_segment_dropping_enabled); + } + + /** + * Optional. Whether segments shorter than 1 second at the end of an ad pod + * should be dropped. Defaults to false. To set this field a network needs to + * have the "Video live stream short segment dropping" feature enabled. + * + * Generated from protobuf field optional bool short_segment_dropping_enabled = 38 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setShortSegmentDroppingEnabled($var) + { + GPBUtil::checkBool($var); + $this->short_segment_dropping_enabled = $var; + + return $this; + } + + /** + * Immutable. An additional code that can be used in constructing live stream + * event URLs. Can only be set for pod serving live streams. The custom asset + * key may be at most 64 characters and can contain alphanumeric characters + * and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string custom_asset_key = 39 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getCustomAssetKey() + { + return isset($this->custom_asset_key) ? $this->custom_asset_key : ''; + } + + public function hasCustomAssetKey() + { + return isset($this->custom_asset_key); + } + + public function clearCustomAssetKey() + { + unset($this->custom_asset_key); + } + + /** + * Immutable. An additional code that can be used in constructing live stream + * event URLs. Can only be set for pod serving live streams. The custom asset + * key may be at most 64 characters and can contain alphanumeric characters + * and symbols other than the following: + * ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character. + * + * Generated from protobuf field optional string custom_asset_key = 39 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setCustomAssetKey($var) + { + GPBUtil::checkString($var, True); + $this->custom_asset_key = $var; + + return $this; + } + + /** + * Optional. The formats that will be recognized as ad break start/end + * markers. This field is ignored if `adBreakMarkupTypesEnabled` is false. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreakMarkupTypeEnum.AdBreakMarkupType ad_break_markups = 42 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAdBreakMarkups() + { + return $this->ad_break_markups; + } + + /** + * Optional. The formats that will be recognized as ad break start/end + * markers. This field is ignored if `adBreakMarkupTypesEnabled` is false. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdBreakMarkupTypeEnum.AdBreakMarkupType ad_break_markups = 42 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setAdBreakMarkups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\AdBreakMarkupTypeEnum\AdBreakMarkupType::class); + $this->ad_break_markups = $arr; + + return $this; + } + + /** + * Optional. Whether this LiveStream is specifying a subset of supported + * `adBreakMarkups`. If this field is false, all supported formats will be + * treated as ad break start/end markers. + * + * Generated from protobuf field optional bool ad_break_markup_types_enabled = 43 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAdBreakMarkupTypesEnabled() + { + return isset($this->ad_break_markup_types_enabled) ? $this->ad_break_markup_types_enabled : false; + } + + public function hasAdBreakMarkupTypesEnabled() + { + return isset($this->ad_break_markup_types_enabled); + } + + public function clearAdBreakMarkupTypesEnabled() + { + unset($this->ad_break_markup_types_enabled); + } + + /** + * Optional. Whether this LiveStream is specifying a subset of supported + * `adBreakMarkups`. If this field is false, all supported formats will be + * treated as ad break start/end markers. + * + * Generated from protobuf field optional bool ad_break_markup_types_enabled = 43 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAdBreakMarkupTypesEnabled($var) + { + GPBUtil::checkBool($var); + $this->ad_break_markup_types_enabled = $var; + + return $this; + } + + /** + * Optional. The conditioning to apply to this LiveStream. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStreamConditioning live_stream_conditioning = 46 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\LiveStreamConditioning|null + */ + public function getLiveStreamConditioning() + { + return $this->live_stream_conditioning; + } + + public function hasLiveStreamConditioning() + { + return isset($this->live_stream_conditioning); + } + + public function clearLiveStreamConditioning() + { + unset($this->live_stream_conditioning); + } + + /** + * Optional. The conditioning to apply to this LiveStream. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStreamConditioning live_stream_conditioning = 46 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\LiveStreamConditioning $var + * @return $this + */ + public function setLiveStreamConditioning($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LiveStreamConditioning::class); + $this->live_stream_conditioning = $var; + + return $this; + } + + /** + * Optional. Indicates whether multi-break scheduling via Early Break + * Notification (EBN) is enabled for this LiveStream. + * + * Generated from protobuf field optional bool early_break_notification_multi_break_scheduling_enabled = 54 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEarlyBreakNotificationMultiBreakSchedulingEnabled() + { + return isset($this->early_break_notification_multi_break_scheduling_enabled) ? $this->early_break_notification_multi_break_scheduling_enabled : false; + } + + public function hasEarlyBreakNotificationMultiBreakSchedulingEnabled() + { + return isset($this->early_break_notification_multi_break_scheduling_enabled); + } + + public function clearEarlyBreakNotificationMultiBreakSchedulingEnabled() + { + unset($this->early_break_notification_multi_break_scheduling_enabled); + } + + /** + * Optional. Indicates whether multi-break scheduling via Early Break + * Notification (EBN) is enabled for this LiveStream. + * + * Generated from protobuf field optional bool early_break_notification_multi_break_scheduling_enabled = 54 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEarlyBreakNotificationMultiBreakSchedulingEnabled($var) + { + GPBUtil::checkBool($var); + $this->early_break_notification_multi_break_scheduling_enabled = $var; + + return $this; + } + + /** + * Optional. The maximum amount of time by which a stitched ad pod is + * allowed to be trimmed before whole ads are dropped instead. + * + * Generated from protobuf field .google.protobuf.Duration ad_pod_trim_tolerance = 55 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getAdPodTrimTolerance() + { + return $this->ad_pod_trim_tolerance; + } + + public function hasAdPodTrimTolerance() + { + return isset($this->ad_pod_trim_tolerance); + } + + public function clearAdPodTrimTolerance() + { + unset($this->ad_pod_trim_tolerance); + } + + /** + * Optional. The maximum amount of time by which a stitched ad pod is + * allowed to be trimmed before whole ads are dropped instead. + * + * Generated from protobuf field .google.protobuf.Duration ad_pod_trim_tolerance = 55 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setAdPodTrimTolerance($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->ad_pod_trim_tolerance = $var; + + return $this; + } + + /** + * Output only. The effective asset key of the live stream. This is the + * user-defined custom_asset_key if specified; otherwise, it falls back to the + * autogenerated asset_key. + * + * Generated from protobuf field optional string effective_asset_key = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getEffectiveAssetKey() + { + return isset($this->effective_asset_key) ? $this->effective_asset_key : ''; + } + + public function hasEffectiveAssetKey() + { + return isset($this->effective_asset_key); + } + + public function clearEffectiveAssetKey() + { + unset($this->effective_asset_key); + } + + /** + * Output only. The effective asset key of the live stream. This is the + * user-defined custom_asset_key if specified; otherwise, it falls back to the + * autogenerated asset_key. + * + * Generated from protobuf field optional string effective_asset_key = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setEffectiveAssetKey($var) + { + GPBUtil::checkString($var, True); + $this->effective_asset_key = $var; + + return $this; + } + + /** + * Optional. The auxiliary ad tag settings for this live stream. + * + * Generated from protobuf field .google.ads.admanager.v1.AuxiliaryAdSettings auxiliary_ad_settings = 57 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\AuxiliaryAdSettings|null + */ + public function getAuxiliaryAdSettings() + { + return $this->auxiliary_ad_settings; + } + + public function hasAuxiliaryAdSettings() + { + return isset($this->auxiliary_ad_settings); + } + + public function clearAuxiliaryAdSettings() + { + unset($this->auxiliary_ad_settings); + } + + /** + * Optional. The auxiliary ad tag settings for this live stream. + * + * Generated from protobuf field .google.ads.admanager.v1.AuxiliaryAdSettings auxiliary_ad_settings = 57 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AuxiliaryAdSettings $var + * @return $this + */ + public function setAuxiliaryAdSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AuxiliaryAdSettings::class); + $this->auxiliary_ad_settings = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamConditioning.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamConditioning.php new file mode 100644 index 000000000000..f5d0ef9dc5df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamConditioning.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.LiveStreamConditioning + */ +class LiveStreamConditioning extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Specifies DASH Bridge single-period to multi-period MPD + * conditioning. + * + * Generated from protobuf field .google.ads.admanager.v1.DashBridge dash_bridge = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dash_bridge = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\DashBridge $dash_bridge + * Optional. Specifies DASH Bridge single-period to multi-period MPD + * conditioning. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Specifies DASH Bridge single-period to multi-period MPD + * conditioning. + * + * Generated from protobuf field .google.ads.admanager.v1.DashBridge dash_bridge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\DashBridge|null + */ + public function getDashBridge() + { + return $this->dash_bridge; + } + + public function hasDashBridge() + { + return isset($this->dash_bridge); + } + + public function clearDashBridge() + { + unset($this->dash_bridge); + } + + /** + * Optional. Specifies DASH Bridge single-period to multi-period MPD + * conditioning. + * + * Generated from protobuf field .google.ads.admanager.v1.DashBridge dash_bridge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\DashBridge $var + * @return $this + */ + public function setDashBridge($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DashBridge::class); + $this->dash_bridge = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEvent.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEvent.php new file mode 100644 index 000000000000..1d5c16d5b830 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEvent.php @@ -0,0 +1,76 @@ +google.ads.admanager.v1.LiveStreamEvent + */ +class LiveStreamEvent extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `LiveStreamEvent`. + * Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `LiveStreamEvent`. + * Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `LiveStreamEvent`. + * Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `LiveStreamEvent`. + * Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum.php new file mode 100644 index 000000000000..1cf4cfc37071 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LiveStreamEventStatusEnum + */ +class LiveStreamEventStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum/LiveStreamEventStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum/LiveStreamEventStatus.php new file mode 100644 index 000000000000..6852f9c3045a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStatusEnum/LiveStreamEventStatus.php @@ -0,0 +1,78 @@ +google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus + */ +class LiveStreamEventStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LIVE_STREAM_EVENT_STATUS_UNSPECIFIED = 0; + */ + const LIVE_STREAM_EVENT_STATUS_UNSPECIFIED = 0; + /** + * Indicates the LiveStreamEvent has been created and is eligible + * for streaming. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Indicates that the stream is still being served, but ad insertion should + * be paused temporarily. + * + * Generated from protobuf enum ADS_PAUSED = 2; + */ + const ADS_PAUSED = 2; + /** + * Indicates the LiveStreamEvent has been archived. + * + * Generated from protobuf enum ARCHIVED = 3; + */ + const ARCHIVED = 3; + /** + * Indicates the LiveStreamEvent has been paused. This + * can be made #ACTIVE at later time. + * + * Generated from protobuf enum PAUSED = 4; + */ + const PAUSED = 4; + + private static $valueToName = [ + self::LIVE_STREAM_EVENT_STATUS_UNSPECIFIED => 'LIVE_STREAM_EVENT_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ADS_PAUSED => 'ADS_PAUSED', + self::ARCHIVED => 'ARCHIVED', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum.php new file mode 100644 index 000000000000..55bc921319df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum + */ +class LiveStreamEventStreamingFormatEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum/LiveStreamEventStreamingFormat.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum/LiveStreamEventStreamingFormat.php new file mode 100644 index 000000000000..3c6c997ded1b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/LiveStreamEventStreamingFormatEnum/LiveStreamEventStreamingFormat.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.LiveStreamEventStreamingFormatEnum.LiveStreamEventStreamingFormat + */ +class LiveStreamEventStreamingFormat +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum LIVE_STREAM_EVENT_STREAMING_FORMAT_UNSPECIFIED = 0; + */ + const LIVE_STREAM_EVENT_STREAMING_FORMAT_UNSPECIFIED = 0; + /** + * The format of the live stream media is MPEG-DASH. + * + * Generated from protobuf enum DASH = 1; + */ + const DASH = 1; + /** + * The format of the live stream media is HTTP Live Streaming. + * + * Generated from protobuf enum HLS = 2; + */ + const HLS = 2; + + private static $valueToName = [ + self::LIVE_STREAM_EVENT_STREAMING_FORMAT_UNSPECIFIED => 'LIVE_STREAM_EVENT_STREAMING_FORMAT_UNSPECIFIED', + self::DASH => 'DASH', + self::HLS => 'HLS', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum.php new file mode 100644 index 000000000000..1aa697e4c178 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum + */ +class ManualAdReviewCenterAdStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum/ManualAdReviewCenterAdStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum/ManualAdReviewCenterAdStatus.php new file mode 100644 index 000000000000..71fa45c594e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ManualAdReviewCenterAdStatusEnum/ManualAdReviewCenterAdStatus.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus + */ +class ManualAdReviewCenterAdStatus +{ + /** + * Not specified value. + * + * Generated from protobuf enum MANUAL_AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED = 0; + */ + const MANUAL_AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED = 0; + /** + * This ad has been explicitly allowed to serve. + * + * Generated from protobuf enum ALLOWED = 1; + */ + const ALLOWED = 1; + /** + * This ad has been explicitly blocked from serving. + * + * Generated from protobuf enum BLOCKED = 2; + */ + const BLOCKED = 2; + /** + * This ad is implicitly blocked and has been reviewed. + * + * Generated from protobuf enum ARCHIVED = 3; + */ + const ARCHIVED = 3; + /** + * This ad is implicitly blocked and has not been reviewed. + * + * Generated from protobuf enum PENDING = 4; + */ + const PENDING = 4; + /** + * This ad is allowed to serve by default and has not been reviewed. + * + * Generated from protobuf enum SERVING = 5; + */ + const SERVING = 5; + + private static $valueToName = [ + self::MANUAL_AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED => 'MANUAL_AD_REVIEW_CENTER_AD_STATUS_UNSPECIFIED', + self::ALLOWED => 'ALLOWED', + self::BLOCKED => 'BLOCKED', + self::ARCHIVED => 'ARCHIVED', + self::PENDING => 'PENDING', + self::SERVING => 'SERVING', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MasterPlaylistSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MasterPlaylistSettings.php new file mode 100644 index 000000000000..f65b0f413616 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MasterPlaylistSettings.php @@ -0,0 +1,93 @@ +google.ads.admanager.v1.MasterPlaylistSettings + */ +class MasterPlaylistSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Indicates how the master playlist gets refreshed. Defaults to + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * This field can only be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $refresh_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $refresh_type + * Optional. Indicates how the master playlist gets refreshed. Defaults to + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * This field can only be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Indicates how the master playlist gets refreshed. Defaults to + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * This field can only be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getRefreshType() + { + return isset($this->refresh_type) ? $this->refresh_type : 0; + } + + public function hasRefreshType() + { + return isset($this->refresh_type); + } + + public function clearRefreshType() + { + unset($this->refresh_type); + } + + /** + * Optional. Indicates how the master playlist gets refreshed. Defaults to + * [AUTOMATIC][google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType.AUTOMATIC]. + * This field can only be modified when the live stream is in a + * [PAUSED][google.ads.admanager.v1.LiveStreamEventStatusEnum.LiveStreamEventStatus.PAUSED] + * state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setRefreshType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\HlsMasterPlaylistRefreshTypeEnum\HlsMasterPlaylistRefreshType::class); + $this->refresh_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarnings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarnings.php new file mode 100644 index 000000000000..dfb18d825872 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarnings.php @@ -0,0 +1,567 @@ +google.ads.admanager.v1.McmEarnings + */ +class McmEarnings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The year and month that the MCM earnings data applies to. The + * date will be specified as the first of the month. + * + * Generated from protobuf field optional .google.type.Date month = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $month = null; + /** + * Output only. The current type of MCM delegation between the parent and + * child publisher. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $delegation_type = null; + /** + * Output only. The parent publisher in the MCM relationship. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Output only. The name of the parent publisher. + * + * Generated from protobuf field optional string parent_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $parent_display_name = null; + /** + * Output only. The resource name of the `ChildPublisher`'s Ad Manager network + * in the MCM relationship. Format: `networks/{network_code}` + * + * Generated from protobuf field string child = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $child = ''; + /** + * Output only. The resource name of the child publisher in the MCM + * relationship. Format: + * "networks/{network_code}/childPublishers/{child_publisher_id}" + * + * Generated from protobuf field optional string child_publisher = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $child_publisher = null; + /** + * Output only. The name of the child publisher in the MCM relationship. + * + * Generated from protobuf field optional string child_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $child_display_name = null; + /** + * Output only. The total earnings for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $total_earnings = null; + /** + * Output only. The portion of the total earnings paid to the parent + * publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $parent_payment = null; + /** + * Output only. The portion of the total earnings paid to the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $child_payment = null; + /** + * Output only. The deductions for the month due to spam in micro units. Null + * for earnings prior to August 2020. + * + * Generated from protobuf field optional .google.type.Money deductions = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deductions = null; + /** + * Output only. The product type breakdown of earnings for a given month + * between a parent and child publisher in MCM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EarningsProductBreakdown earnings_product_breakdown = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $earnings_product_breakdown; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Type\Date $month + * Output only. The year and month that the MCM earnings data applies to. The + * date will be specified as the first of the month. + * @type int $delegation_type + * Output only. The current type of MCM delegation between the parent and + * child publisher. + * @type string $parent + * Output only. The parent publisher in the MCM relationship. + * Format: `networks/{network_code}` + * @type string $parent_display_name + * Output only. The name of the parent publisher. + * @type string $child + * Output only. The resource name of the `ChildPublisher`'s Ad Manager network + * in the MCM relationship. Format: `networks/{network_code}` + * @type string $child_publisher + * Output only. The resource name of the child publisher in the MCM + * relationship. Format: + * "networks/{network_code}/childPublishers/{child_publisher_id}" + * @type string $child_display_name + * Output only. The name of the child publisher in the MCM relationship. + * @type \Google\Type\Money $total_earnings + * Output only. The total earnings for the month. + * @type \Google\Type\Money $parent_payment + * Output only. The portion of the total earnings paid to the parent + * publisher. + * @type \Google\Type\Money $child_payment + * Output only. The portion of the total earnings paid to the child publisher. + * @type \Google\Type\Money $deductions + * Output only. The deductions for the month due to spam in micro units. Null + * for earnings prior to August 2020. + * @type \Google\Ads\AdManager\V1\EarningsProductBreakdown[] $earnings_product_breakdown + * Output only. The product type breakdown of earnings for a given month + * between a parent and child publisher in MCM. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEarningsMessages::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The year and month that the MCM earnings data applies to. The + * date will be specified as the first of the month. + * + * Generated from protobuf field optional .google.type.Date month = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Date|null + */ + public function getMonth() + { + return $this->month; + } + + public function hasMonth() + { + return isset($this->month); + } + + public function clearMonth() + { + unset($this->month); + } + + /** + * Output only. The year and month that the MCM earnings data applies to. The + * date will be specified as the first of the month. + * + * Generated from protobuf field optional .google.type.Date month = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setMonth($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->month = $var; + + return $this; + } + + /** + * Output only. The current type of MCM delegation between the parent and + * child publisher. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getDelegationType() + { + return isset($this->delegation_type) ? $this->delegation_type : 0; + } + + public function hasDelegationType() + { + return isset($this->delegation_type); + } + + public function clearDelegationType() + { + unset($this->delegation_type); + } + + /** + * Output only. The current type of MCM delegation between the parent and + * child publisher. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DelegationTypeEnum.DelegationType delegation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setDelegationType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DelegationTypeEnum\DelegationType::class); + $this->delegation_type = $var; + + return $this; + } + + /** + * Output only. The parent publisher in the MCM relationship. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Output only. The parent publisher in the MCM relationship. + * Format: `networks/{network_code}` + * + * Generated from protobuf field string parent = 3 [(.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. The name of the parent publisher. + * + * Generated from protobuf field optional string parent_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getParentDisplayName() + { + return isset($this->parent_display_name) ? $this->parent_display_name : ''; + } + + public function hasParentDisplayName() + { + return isset($this->parent_display_name); + } + + public function clearParentDisplayName() + { + unset($this->parent_display_name); + } + + /** + * Output only. The name of the parent publisher. + * + * Generated from protobuf field optional string parent_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setParentDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->parent_display_name = $var; + + return $this; + } + + /** + * Output only. The resource name of the `ChildPublisher`'s Ad Manager network + * in the MCM relationship. Format: `networks/{network_code}` + * + * Generated from protobuf field string child = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getChild() + { + return $this->child; + } + + /** + * Output only. The resource name of the `ChildPublisher`'s Ad Manager network + * in the MCM relationship. Format: `networks/{network_code}` + * + * Generated from protobuf field string child = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setChild($var) + { + GPBUtil::checkString($var, True); + $this->child = $var; + + return $this; + } + + /** + * Output only. The resource name of the child publisher in the MCM + * relationship. Format: + * "networks/{network_code}/childPublishers/{child_publisher_id}" + * + * Generated from protobuf field optional string child_publisher = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getChildPublisher() + { + return isset($this->child_publisher) ? $this->child_publisher : ''; + } + + public function hasChildPublisher() + { + return isset($this->child_publisher); + } + + public function clearChildPublisher() + { + unset($this->child_publisher); + } + + /** + * Output only. The resource name of the child publisher in the MCM + * relationship. Format: + * "networks/{network_code}/childPublishers/{child_publisher_id}" + * + * Generated from protobuf field optional string child_publisher = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setChildPublisher($var) + { + GPBUtil::checkString($var, True); + $this->child_publisher = $var; + + return $this; + } + + /** + * Output only. The name of the child publisher in the MCM relationship. + * + * Generated from protobuf field optional string child_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getChildDisplayName() + { + return isset($this->child_display_name) ? $this->child_display_name : ''; + } + + public function hasChildDisplayName() + { + return isset($this->child_display_name); + } + + public function clearChildDisplayName() + { + unset($this->child_display_name); + } + + /** + * Output only. The name of the child publisher in the MCM relationship. + * + * Generated from protobuf field optional string child_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setChildDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->child_display_name = $var; + + return $this; + } + + /** + * Output only. The total earnings for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Money|null + */ + public function getTotalEarnings() + { + return $this->total_earnings; + } + + public function hasTotalEarnings() + { + return isset($this->total_earnings); + } + + public function clearTotalEarnings() + { + unset($this->total_earnings); + } + + /** + * Output only. The total earnings for the month. + * + * Generated from protobuf field optional .google.type.Money total_earnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setTotalEarnings($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->total_earnings = $var; + + return $this; + } + + /** + * Output only. The portion of the total earnings paid to the parent + * publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Money|null + */ + public function getParentPayment() + { + return $this->parent_payment; + } + + public function hasParentPayment() + { + return isset($this->parent_payment); + } + + public function clearParentPayment() + { + unset($this->parent_payment); + } + + /** + * Output only. The portion of the total earnings paid to the parent + * publisher. + * + * Generated from protobuf field optional .google.type.Money parent_payment = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setParentPayment($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->parent_payment = $var; + + return $this; + } + + /** + * Output only. The portion of the total earnings paid to the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Money|null + */ + public function getChildPayment() + { + return $this->child_payment; + } + + public function hasChildPayment() + { + return isset($this->child_payment); + } + + public function clearChildPayment() + { + unset($this->child_payment); + } + + /** + * Output only. The portion of the total earnings paid to the child publisher. + * + * Generated from protobuf field optional .google.type.Money child_payment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setChildPayment($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->child_payment = $var; + + return $this; + } + + /** + * Output only. The deductions for the month due to spam in micro units. Null + * for earnings prior to August 2020. + * + * Generated from protobuf field optional .google.type.Money deductions = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Type\Money|null + */ + public function getDeductions() + { + return $this->deductions; + } + + public function hasDeductions() + { + return isset($this->deductions); + } + + public function clearDeductions() + { + unset($this->deductions); + } + + /** + * Output only. The deductions for the month due to spam in micro units. Null + * for earnings prior to August 2020. + * + * Generated from protobuf field optional .google.type.Money deductions = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setDeductions($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->deductions = $var; + + return $this; + } + + /** + * Output only. The product type breakdown of earnings for a given month + * between a parent and child publisher in MCM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EarningsProductBreakdown earnings_product_breakdown = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\EarningsProductBreakdown> + */ + public function getEarningsProductBreakdown() + { + return $this->earnings_product_breakdown; + } + + /** + * Output only. The product type breakdown of earnings for a given month + * between a parent and child publisher in MCM. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.EarningsProductBreakdown earnings_product_breakdown = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\EarningsProductBreakdown[] $var + * @return $this + */ + public function setEarningsProductBreakdown($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\EarningsProductBreakdown::class); + $this->earnings_product_breakdown = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum.php new file mode 100644 index 000000000000..3235bd1b7220 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.McmEarningsProductTypeEnum + */ +class McmEarningsProductTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\McmEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum/McmEarningsProductType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum/McmEarningsProductType.php new file mode 100644 index 000000000000..4f0da0612024 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/McmEarningsProductTypeEnum/McmEarningsProductType.php @@ -0,0 +1,137 @@ +google.ads.admanager.v1.McmEarningsProductTypeEnum.McmEarningsProductType + */ +class McmEarningsProductType +{ + /** + * No value specified + * + * Generated from protobuf enum MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED = 0; + */ + const MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED = 0; + /** + * Indicates the child network's earnings from Google Ad Exchange Content. + * + * Generated from protobuf enum AD_EXCHANGE_CONTENT = 1; + */ + const AD_EXCHANGE_CONTENT = 1; + /** + * Indicates the child network's earnings from Google Ad Exchange Content + * made by a host. + * + * Generated from protobuf enum AD_EXCHANGE_CONTENT_HOST = 2; + */ + const AD_EXCHANGE_CONTENT_HOST = 2; + /** + * Indicates the child network's earnings from Google Ad Exchange Games. + * + * Generated from protobuf enum AD_EXCHANGE_GAMES = 3; + */ + const AD_EXCHANGE_GAMES = 3; + /** + * Indicates the child network's earnings from Google Ad Exchange Games + * made by a host. + * + * Generated from protobuf enum AD_EXCHANGE_GAMES_HOST = 4; + */ + const AD_EXCHANGE_GAMES_HOST = 4; + /** + * Indicates the child network's earnings from Google Ad Exchange Content + * Applications. + * + * Generated from protobuf enum AD_EXCHANGE_MOBILE_CONTENT_APP = 5; + */ + const AD_EXCHANGE_MOBILE_CONTENT_APP = 5; + /** + * Indicates the child network's earnings from Google Ad Exchange Content + * Applications made by a host. + * + * Generated from protobuf enum AD_EXCHANGE_MOBILE_CONTENT_APP_HOST = 6; + */ + const AD_EXCHANGE_MOBILE_CONTENT_APP_HOST = 6; + /** + * Indicates the child network's earnings from Google Ad Exchange Video. + * + * Generated from protobuf enum AD_EXCHANGE_VIDEO = 7; + */ + const AD_EXCHANGE_VIDEO = 7; + /** + * Indicates the child network's earnings from Google Ad Exchange Video + * made by a host. + * + * Generated from protobuf enum AD_EXCHANGE_VIDEO_HOST = 8; + */ + const AD_EXCHANGE_VIDEO_HOST = 8; + /** + * Indicates the child network's earnings from Ad Exchange Reservations + * deals (known externally as Programmatic Reservations). + * + * Generated from protobuf enum AD_EXCHANGE_RESERVATIONS = 9; + */ + const AD_EXCHANGE_RESERVATIONS = 9; + /** + * Indicates the child network's earnings from Ad Exchange Preferred deals. + * + * Generated from protobuf enum AD_EXCHANGE_PREFERRED_DEALS = 10; + */ + const AD_EXCHANGE_PREFERRED_DEALS = 10; + /** + * Indicates the child network's earnings from Monteverdi Offerwall. + * + * Generated from protobuf enum OFFERWALL = 11; + */ + const OFFERWALL = 11; + /** + * Indicates the child network's earnings from Agency Direct. + * + * Generated from protobuf enum BUYER_DIRECT = 12; + */ + const BUYER_DIRECT = 12; + + private static $valueToName = [ + self::MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED => 'MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED', + self::AD_EXCHANGE_CONTENT => 'AD_EXCHANGE_CONTENT', + self::AD_EXCHANGE_CONTENT_HOST => 'AD_EXCHANGE_CONTENT_HOST', + self::AD_EXCHANGE_GAMES => 'AD_EXCHANGE_GAMES', + self::AD_EXCHANGE_GAMES_HOST => 'AD_EXCHANGE_GAMES_HOST', + self::AD_EXCHANGE_MOBILE_CONTENT_APP => 'AD_EXCHANGE_MOBILE_CONTENT_APP', + self::AD_EXCHANGE_MOBILE_CONTENT_APP_HOST => 'AD_EXCHANGE_MOBILE_CONTENT_APP_HOST', + self::AD_EXCHANGE_VIDEO => 'AD_EXCHANGE_VIDEO', + self::AD_EXCHANGE_VIDEO_HOST => 'AD_EXCHANGE_VIDEO_HOST', + self::AD_EXCHANGE_RESERVATIONS => 'AD_EXCHANGE_RESERVATIONS', + self::AD_EXCHANGE_PREFERRED_DEALS => 'AD_EXCHANGE_PREFERRED_DEALS', + self::OFFERWALL => 'OFFERWALL', + self::BUYER_DIRECT => 'BUYER_DIRECT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MediaLocation.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MediaLocation.php new file mode 100644 index 000000000000..b79bad31c5f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MediaLocation.php @@ -0,0 +1,190 @@ +google.ads.admanager.v1.MediaLocation + */ +class MediaLocation extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The name of the media location. This value is read-only and is + * assigned by Google. + * + * Generated from protobuf field optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Required. The URL prefix of the media location. This value is required for + * a valid media location. + * + * Generated from protobuf field optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $url_prefix = null; + /** + * Optional. The security policy and authentication credentials needed to + * access the content in this media location. Optional; if omitted, no + * security policy will be applied (indicating a public/unprotected location). + * Must NOT be configured for ad media delivery locations (doing so will + * trigger a validation error). + * + * Generated from protobuf field .google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $security_policy = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $display_name + * Output only. The name of the media location. This value is read-only and is + * assigned by Google. + * @type string $url_prefix + * Required. The URL prefix of the media location. This value is required for + * a valid media location. + * @type \Google\Ads\AdManager\V1\CdnSecurityPolicy $security_policy + * Optional. The security policy and authentication credentials needed to + * access the content in this media location. Optional; if omitted, no + * security policy will be applied (indicating a public/unprotected location). + * Must NOT be configured for ad media delivery locations (doing so will + * trigger a validation error). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigMessages::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The name of the media location. This value is read-only and is + * assigned by Google. + * + * Generated from protobuf field optional string display_name = 1 [(.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 name of the media location. This value is read-only and is + * assigned by Google. + * + * Generated from protobuf field optional string display_name = 1 [(.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; + } + + /** + * Required. The URL prefix of the media location. This value is required for + * a valid media location. + * + * Generated from protobuf field optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getUrlPrefix() + { + return isset($this->url_prefix) ? $this->url_prefix : ''; + } + + public function hasUrlPrefix() + { + return isset($this->url_prefix); + } + + public function clearUrlPrefix() + { + unset($this->url_prefix); + } + + /** + * Required. The URL prefix of the media location. This value is required for + * a valid media location. + * + * Generated from protobuf field optional string url_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setUrlPrefix($var) + { + GPBUtil::checkString($var, True); + $this->url_prefix = $var; + + return $this; + } + + /** + * Optional. The security policy and authentication credentials needed to + * access the content in this media location. Optional; if omitted, no + * security policy will be applied (indicating a public/unprotected location). + * Must NOT be configured for ad media delivery locations (doing so will + * trigger a validation error). + * + * Generated from protobuf field .google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CdnSecurityPolicy|null + */ + public function getSecurityPolicy() + { + return $this->security_policy; + } + + public function hasSecurityPolicy() + { + return isset($this->security_policy); + } + + public function clearSecurityPolicy() + { + unset($this->security_policy); + } + + /** + * Optional. The security policy and authentication credentials needed to + * access the content in this media location. Optional; if omitted, no + * security policy will be applied (indicating a public/unprotected location). + * Must NOT be configured for ad media delivery locations (doing so will + * trigger a validation error). + * + * Generated from protobuf field .google.ads.admanager.v1.CdnSecurityPolicy security_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CdnSecurityPolicy $var + * @return $this + */ + public function setSecurityPolicy($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CdnSecurityPolicy::class); + $this->security_policy = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileApplicationTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileApplicationTargeting.php new file mode 100644 index 000000000000..4632fe103481 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileApplicationTargeting.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.MobileApplicationTargeting + */ +class MobileApplicationTargeting extends \Google\Protobuf\Internal\Message +{ + protected $targeting; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\FirstPartyMobileApplicationTargeting $first_party_targeting + * Optional. The targeted/excluded first-party mobile applications. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The targeted/excluded first-party mobile applications. + * + * Generated from protobuf field .google.ads.admanager.v1.FirstPartyMobileApplicationTargeting first_party_targeting = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\FirstPartyMobileApplicationTargeting|null + */ + public function getFirstPartyTargeting() + { + return $this->readOneof(1); + } + + public function hasFirstPartyTargeting() + { + return $this->hasOneof(1); + } + + /** + * Optional. The targeted/excluded first-party mobile applications. + * + * Generated from protobuf field .google.ads.admanager.v1.FirstPartyMobileApplicationTargeting first_party_targeting = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\FirstPartyMobileApplicationTargeting $var + * @return $this + */ + public function setFirstPartyTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\FirstPartyMobileApplicationTargeting::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * @return string + */ + public function getTargeting() + { + return $this->whichOneof("targeting"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrier.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrier.php new file mode 100644 index 000000000000..5adcd7c2ac60 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrier.php @@ -0,0 +1,159 @@ +google.ads.admanager.v1.MobileCarrier + */ +class MobileCarrier extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `MobileCarrier`. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The localized name of the mobile carrier. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The region code of the mobile carrier. + * + * Generated from protobuf field optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $region_code = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `MobileCarrier`. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier}` + * @type string $display_name + * Output only. The localized name of the mobile carrier. + * @type string $region_code + * Output only. The region code of the mobile carrier. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileCarrierMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `MobileCarrier`. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `MobileCarrier`. + * Format: `networks/{network_code}/mobileCarriers/{mobile_carrier}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The localized name of the mobile carrier. + * + * Generated from protobuf field optional string display_name = 2 [(.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 localized name of the mobile carrier. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The region code of the mobile carrier. + * + * Generated from protobuf field optional string region_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getRegionCode() + { + return isset($this->region_code) ? $this->region_code : ''; + } + + public function hasRegionCode() + { + return isset($this->region_code); + } + + public function clearRegionCode() + { + unset($this->region_code); + } + + /** + * Output only. The region code of the mobile carrier. + * + * Generated from protobuf field optional string region_code = 4 [(.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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrierTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrierTargeting.php new file mode 100644 index 000000000000..49340988c3f8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileCarrierTargeting.php @@ -0,0 +1,106 @@ +google.ads.admanager.v1.MobileCarrierTargeting + */ +class MobileCarrierTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of mobile carrier resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_carriers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_mobile_carriers; + /** + * Optional. A list of mobile carrier resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_carriers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_mobile_carriers; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_mobile_carriers + * Optional. A list of mobile carrier resource names that should be + * targeted/included. + * @type string[] $excluded_mobile_carriers + * Optional. A list of mobile carrier resource names that should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of mobile carrier resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_carriers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedMobileCarriers() + { + return $this->targeted_mobile_carriers; + } + + /** + * Optional. A list of mobile carrier resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_mobile_carriers = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedMobileCarriers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_mobile_carriers = $arr; + + return $this; + } + + /** + * Optional. A list of mobile carrier resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_carriers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedMobileCarriers() + { + return $this->excluded_mobile_carriers; + } + + /** + * Optional. A list of mobile carrier resource names that should be excluded. + * + * Generated from protobuf field repeated string excluded_mobile_carriers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedMobileCarriers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_mobile_carriers = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDevice.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDevice.php new file mode 100644 index 000000000000..0e4f820e37ac --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDevice.php @@ -0,0 +1,163 @@ +google.ads.admanager.v1.MobileDevice + */ +class MobileDevice extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `MobileDevice`. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The localized name of the mobile device. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The manufacturer associated with the mobile device. + * Format: `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field optional string manufacturer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $manufacturer = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `MobileDevice`. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * @type string $display_name + * Output only. The localized name of the mobile device. + * @type string $manufacturer + * Output only. The manufacturer associated with the mobile device. + * Format: `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `MobileDevice`. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `MobileDevice`. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The localized name of the mobile device. + * + * Generated from protobuf field optional string display_name = 2 [(.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 localized name of the mobile device. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The manufacturer associated with the mobile device. + * Format: `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field optional string manufacturer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getManufacturer() + { + return isset($this->manufacturer) ? $this->manufacturer : ''; + } + + public function hasManufacturer() + { + return isset($this->manufacturer); + } + + public function clearManufacturer() + { + unset($this->manufacturer); + } + + /** + * Output only. The manufacturer associated with the mobile device. + * Format: `networks/{network_code}/deviceManufacturers/{device_manufacturer}` + * + * Generated from protobuf field optional string manufacturer = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setManufacturer($var) + { + GPBUtil::checkString($var, True); + $this->manufacturer = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDeviceSubmodel.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDeviceSubmodel.php new file mode 100644 index 000000000000..9cfc04ee3ccb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/MobileDeviceSubmodel.php @@ -0,0 +1,167 @@ +google.ads.admanager.v1.MobileDeviceSubmodel + */ +class MobileDeviceSubmodel extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `MobileDeviceSubmodel`. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The display name of the mobile device submodel. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The mobile device associated with the submodel. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $mobile_device = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `MobileDeviceSubmodel`. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}` + * @type string $display_name + * Output only. The display name of the mobile device submodel. + * @type string $mobile_device + * Output only. The mobile device associated with the submodel. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\MobileDeviceSubmodelMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `MobileDeviceSubmodel`. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `MobileDeviceSubmodel`. + * Format: + * `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The display name of the mobile device submodel. + * + * Generated from protobuf field optional string display_name = 2 [(.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 mobile device submodel. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The mobile device associated with the submodel. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getMobileDevice() + { + return isset($this->mobile_device) ? $this->mobile_device : ''; + } + + public function hasMobileDevice() + { + return isset($this->mobile_device); + } + + public function clearMobileDevice() + { + unset($this->mobile_device); + } + + /** + * Output only. The mobile device associated with the submodel. + * Format: `networks/{network_code}/mobileDevices/{mobile_device}` + * + * Generated from protobuf field optional string mobile_device = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setMobileDevice($var) + { + GPBUtil::checkString($var, True); + $this->mobile_device = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Network.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Network.php new file mode 100644 index 000000000000..59d1af08aeb1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Network.php @@ -0,0 +1,473 @@ +google.ads.admanager.v1.Network + */ +class Network extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. Display name for Network. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = null; + /** + * Output only. Network Code. + * + * Generated from protobuf field optional string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $network_code = null; + /** + * Output only. Property code. + * + * Generated from protobuf field optional string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $property_code = null; + /** + * Output only. Time zone associated with the delivery of orders and + * reporting. + * + * Generated from protobuf field optional string time_zone = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $time_zone = null; + /** + * Output only. Primary currency code, in ISO-4217 format. + * + * Generated from protobuf field optional string currency_code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $currency_code = null; + /** + * Optional. Currency codes that can be used as an alternative to the primary + * currency code for trafficking Line Items. + * + * Generated from protobuf field repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $secondary_currency_codes; + /** + * Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which + * descendant Ad Units can be added. + * Format: networks/{network_code}/adUnits/{ad_unit} + * + * Generated from protobuf field optional string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $effective_root_ad_unit = null; + /** + * Output only. Whether this is a test network. + * + * Generated from protobuf field optional bool test_network = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $test_network = null; + /** + * Output only. Network ID. + * + * Generated from protobuf field optional int64 network_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $network_id = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the Network. + * Format: networks/{network_code} + * @type string $display_name + * Optional. Display name for Network. + * @type string $network_code + * Output only. Network Code. + * @type string $property_code + * Output only. Property code. + * @type string $time_zone + * Output only. Time zone associated with the delivery of orders and + * reporting. + * @type string $currency_code + * Output only. Primary currency code, in ISO-4217 format. + * @type string[] $secondary_currency_codes + * Optional. Currency codes that can be used as an alternative to the primary + * currency code for trafficking Line Items. + * @type string $effective_root_ad_unit + * Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which + * descendant Ad Units can be added. + * Format: networks/{network_code}/adUnits/{ad_unit} + * @type bool $test_network + * Output only. Whether this is a test network. + * @type int|string $network_id + * Output only. Network ID. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NetworkMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the Network. + * Format: networks/{network_code} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Display name for Network. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Display name for Network. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. Network Code. + * + * Generated from protobuf field optional string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getNetworkCode() + { + return isset($this->network_code) ? $this->network_code : ''; + } + + public function hasNetworkCode() + { + return isset($this->network_code); + } + + public function clearNetworkCode() + { + unset($this->network_code); + } + + /** + * Output only. Network Code. + * + * Generated from protobuf field optional string network_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setNetworkCode($var) + { + GPBUtil::checkString($var, True); + $this->network_code = $var; + + return $this; + } + + /** + * Output only. Property code. + * + * Generated from protobuf field optional string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPropertyCode() + { + return isset($this->property_code) ? $this->property_code : ''; + } + + public function hasPropertyCode() + { + return isset($this->property_code); + } + + public function clearPropertyCode() + { + unset($this->property_code); + } + + /** + * Output only. Property code. + * + * Generated from protobuf field optional string property_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPropertyCode($var) + { + GPBUtil::checkString($var, True); + $this->property_code = $var; + + return $this; + } + + /** + * Output only. Time zone associated with the delivery of orders and + * reporting. + * + * Generated from protobuf field optional string time_zone = 5 [(.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. Time zone associated with the delivery of orders and + * reporting. + * + * Generated from protobuf field optional string time_zone = 5 [(.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. Primary currency code, in ISO-4217 format. + * + * Generated from protobuf field optional string currency_code = 6 [(.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. Primary currency code, in ISO-4217 format. + * + * Generated from protobuf field optional string currency_code = 6 [(.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; + } + + /** + * Optional. Currency codes that can be used as an alternative to the primary + * currency code for trafficking Line Items. + * + * Generated from protobuf field repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getSecondaryCurrencyCodes() + { + return $this->secondary_currency_codes; + } + + /** + * Optional. Currency codes that can be used as an alternative to the primary + * currency code for trafficking Line Items. + * + * Generated from protobuf field repeated string secondary_currency_codes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setSecondaryCurrencyCodes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->secondary_currency_codes = $arr; + + return $this; + } + + /** + * Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which + * descendant Ad Units can be added. + * Format: networks/{network_code}/adUnits/{ad_unit} + * + * Generated from protobuf field optional string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getEffectiveRootAdUnit() + { + return isset($this->effective_root_ad_unit) ? $this->effective_root_ad_unit : ''; + } + + public function hasEffectiveRootAdUnit() + { + return isset($this->effective_root_ad_unit); + } + + public function clearEffectiveRootAdUnit() + { + unset($this->effective_root_ad_unit); + } + + /** + * Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which + * descendant Ad Units can be added. + * Format: networks/{network_code}/adUnits/{ad_unit} + * + * Generated from protobuf field optional string effective_root_ad_unit = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setEffectiveRootAdUnit($var) + { + GPBUtil::checkString($var, True); + $this->effective_root_ad_unit = $var; + + return $this; + } + + /** + * Output only. Whether this is a test network. + * + * Generated from protobuf field optional bool test_network = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getTestNetwork() + { + return isset($this->test_network) ? $this->test_network : false; + } + + public function hasTestNetwork() + { + return isset($this->test_network); + } + + public function clearTestNetwork() + { + unset($this->test_network); + } + + /** + * Output only. Whether this is a test network. + * + * Generated from protobuf field optional bool test_network = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setTestNetwork($var) + { + GPBUtil::checkBool($var); + $this->test_network = $var; + + return $this; + } + + /** + * Output only. Network ID. + * + * Generated from protobuf field optional int64 network_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getNetworkId() + { + return isset($this->network_id) ? $this->network_id : 0; + } + + public function hasNetworkId() + { + return isset($this->network_id); + } + + public function clearNetworkId() + { + unset($this->network_id); + } + + /** + * Output only. Network ID. + * + * Generated from protobuf field optional int64 network_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setNetworkId($var) + { + GPBUtil::checkInt64($var); + $this->network_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum.php new file mode 100644 index 000000000000..69e7f0407758 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.NielsenCtvPacingEnum + */ +class NielsenCtvPacingEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NielsenCtvPacingEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum/NielsenCtvPacing.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum/NielsenCtvPacing.php new file mode 100644 index 000000000000..1e2cf3c3ffca --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NielsenCtvPacingEnum/NielsenCtvPacing.php @@ -0,0 +1,73 @@ +google.ads.admanager.v1.NielsenCtvPacingEnum.NielsenCtvPacing + */ +class NielsenCtvPacing +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum NIELSEN_CTV_PACING_UNSPECIFIED = 0; + */ + const NIELSEN_CTV_PACING_UNSPECIFIED = 0; + /** + * Indicates that Nielsen impressions on connected devices are included, and + * we apply coviewing in pacing. + * + * Generated from protobuf enum COVIEW = 1; + */ + const COVIEW = 1; + /** + * The value returned if Nielsen measurement is disabled for connected + * devices. + * + * Generated from protobuf enum NONE = 2; + */ + const NONE = 2; + /** + * Indicates that Nielsen impressions on connected devices are included, and + * we apply strict coviewing in pacing. + * + * Generated from protobuf enum STRICT_COVIEW = 3; + */ + const STRICT_COVIEW = 3; + + private static $valueToName = [ + self::NIELSEN_CTV_PACING_UNSPECIFIED => 'NIELSEN_CTV_PACING_UNSPECIFIED', + self::COVIEW => 'COVIEW', + self::NONE => 'NONE', + self::STRICT_COVIEW => 'STRICT_COVIEW', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NonGuaranteedDealPriority.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NonGuaranteedDealPriority.php new file mode 100644 index 000000000000..2b6afdabc5b0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/NonGuaranteedDealPriority.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.NonGuaranteedDealPriority + */ +class NonGuaranteedDealPriority extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Enables publishers to favor certain deals, even if their default + * priorities are lower. For example, allowing a PA deal to beat a PD deal. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $priority_tier = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $priority_tier + * Required. Enables publishers to favor certain deals, even if their default + * priorities are lower. For example, allowing a PA deal to beat a PD deal. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\NonGuaranteedDealPriority::initOnce(); + parent::__construct($data); + } + + /** + * Required. Enables publishers to favor certain deals, even if their default + * priorities are lower. For example, allowing a PA deal to beat a PD deal. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getPriorityTier() + { + return isset($this->priority_tier) ? $this->priority_tier : 0; + } + + public function hasPriorityTier() + { + return isset($this->priority_tier); + } + + public function clearPriorityTier() + { + unset($this->priority_tier); + } + + /** + * Required. Enables publishers to favor certain deals, even if their default + * priorities are lower. For example, allowing a PA deal to beat a PD deal. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealPriorityTierEnum.DealPriorityTier priority_tier = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setPriorityTier($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DealPriorityTierEnum\DealPriorityTier::class); + $this->priority_tier = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystem.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystem.php new file mode 100644 index 000000000000..38f8dce69114 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystem.php @@ -0,0 +1,115 @@ +google.ads.admanager.v1.OperatingSystem + */ +class OperatingSystem extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `OperatingSystem`. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The name of the operating system. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `OperatingSystem`. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * @type string $display_name + * Output only. The name of the operating system. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `OperatingSystem`. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `OperatingSystem`. + * Format: `networks/{network_code}/operatingSystems/{operating_system_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The name of the operating system. + * + * Generated from protobuf field optional string display_name = 2 [(.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 name of the operating system. + * + * Generated from protobuf field optional string display_name = 2 [(.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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemTargeting.php new file mode 100644 index 000000000000..36c7b147fb30 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemTargeting.php @@ -0,0 +1,185 @@ +google.ads.admanager.v1.OperatingSystemTargeting + */ +class OperatingSystemTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of operating system resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_operating_systems; + /** + * Optional. A list of operating system resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_operating_systems; + /** + * Optional. A list of operating system version resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_operating_system_versions; + /** + * Optional. A list of operating system version resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $excluded_operating_system_versions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_operating_systems + * Optional. A list of operating system resource names that should be + * targeted/included. + * @type string[] $excluded_operating_systems + * Optional. A list of operating system resource names that should be + * excluded. + * @type string[] $targeted_operating_system_versions + * Optional. A list of operating system version resource names that should be + * targeted/included. + * @type string[] $excluded_operating_system_versions + * Optional. A list of operating system version resource names that should be + * excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of operating system resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedOperatingSystems() + { + return $this->targeted_operating_systems; + } + + /** + * Optional. A list of operating system resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_systems = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedOperatingSystems($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_operating_systems = $arr; + + return $this; + } + + /** + * Optional. A list of operating system resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedOperatingSystems() + { + return $this->excluded_operating_systems; + } + + /** + * Optional. A list of operating system resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_systems = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedOperatingSystems($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_operating_systems = $arr; + + return $this; + } + + /** + * Optional. A list of operating system version resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedOperatingSystemVersions() + { + return $this->targeted_operating_system_versions; + } + + /** + * Optional. A list of operating system version resource names that should be + * targeted/included. + * + * Generated from protobuf field repeated string targeted_operating_system_versions = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedOperatingSystemVersions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_operating_system_versions = $arr; + + return $this; + } + + /** + * Optional. A list of operating system version resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getExcludedOperatingSystemVersions() + { + return $this->excluded_operating_system_versions; + } + + /** + * Optional. A list of operating system version resource names that should be + * excluded. + * + * Generated from protobuf field repeated string excluded_operating_system_versions = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setExcludedOperatingSystemVersions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_operating_system_versions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemVersion.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemVersion.php new file mode 100644 index 000000000000..5f4edc6d4a72 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OperatingSystemVersion.php @@ -0,0 +1,207 @@ +google.ads.admanager.v1.OperatingSystemVersion + */ +class OperatingSystemVersion extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `OperatingSystemVersion`. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The major version of the operating system. + * + * Generated from protobuf field optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $major_version = null; + /** + * Output only. The minor version of the operating system. + * + * Generated from protobuf field optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $minor_version = null; + /** + * Output only. The micro version of the operating system. + * + * Generated from protobuf field optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $micro_version = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `OperatingSystemVersion`. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * @type int $major_version + * Output only. The major version of the operating system. + * @type int $minor_version + * Output only. The minor version of the operating system. + * @type int $micro_version + * Output only. The micro version of the operating system. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OperatingSystemVersionMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `OperatingSystemVersion`. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `OperatingSystemVersion`. + * Format: + * `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The major version of the operating system. + * + * Generated from protobuf field optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getMajorVersion() + { + return isset($this->major_version) ? $this->major_version : 0; + } + + public function hasMajorVersion() + { + return isset($this->major_version); + } + + public function clearMajorVersion() + { + unset($this->major_version); + } + + /** + * Output only. The major version of the operating system. + * + * Generated from protobuf field optional int32 major_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setMajorVersion($var) + { + GPBUtil::checkInt32($var); + $this->major_version = $var; + + return $this; + } + + /** + * Output only. The minor version of the operating system. + * + * Generated from protobuf field optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getMinorVersion() + { + return isset($this->minor_version) ? $this->minor_version : 0; + } + + public function hasMinorVersion() + { + return isset($this->minor_version); + } + + public function clearMinorVersion() + { + unset($this->minor_version); + } + + /** + * Output only. The minor version of the operating system. + * + * Generated from protobuf field optional int32 minor_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setMinorVersion($var) + { + GPBUtil::checkInt32($var); + $this->minor_version = $var; + + return $this; + } + + /** + * Output only. The micro version of the operating system. + * + * Generated from protobuf field optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getMicroVersion() + { + return isset($this->micro_version) ? $this->micro_version : 0; + } + + public function hasMicroVersion() + { + return isset($this->micro_version); + } + + public function clearMicroVersion() + { + unset($this->micro_version); + } + + /** + * Output only. The micro version of the operating system. + * + * Generated from protobuf field optional int32 micro_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setMicroVersion($var) + { + GPBUtil::checkInt32($var); + $this->micro_version = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Order.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Order.php new file mode 100644 index 000000000000..9847581d9e58 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Order.php @@ -0,0 +1,1484 @@ +google.ads.admanager.v1.Order + */ +class Order extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Order`. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: Order ID. + * + * Generated from protobuf field optional int64 order_id = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $order_id = null; + /** + * Required. The display name of the Order. This value has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. Specifies whether or not the Order is a programmatic order. + * + * Generated from protobuf field optional bool programmatic = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $programmatic = null; + /** + * Required. The resource name of the User responsible for trafficking the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string trafficker = 23 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $trafficker = null; + /** + * Optional. Unordered list. The resource names of Contacts from the + * advertiser of this Order. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string advertiser_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + */ + private $advertiser_contacts; + /** + * Required. The resource name of the Company, which is of type + * Company.Type.ADVERTISER, to which this order belongs. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string advertiser = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $advertiser = null; + /** + * Optional. The resource names of Contacts from the advertising Agency of + * this Order. Format: "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string agency_contacts = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $agency_contacts; + /** + * Optional. The resource name of the Company, which is of type + * Company.Type.AGENCY, with which this order is associated. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string agency = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $agency = null; + /** + * Optional. The resource names of Teams directly applied to this Order. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $applied_teams; + /** + * Output only. The resource names of Teams applied to this Order including + * inherited values. Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string effective_teams = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + private $effective_teams; + /** + * Output only. The resource name of the User who created the Order on behalf + * of the advertiser. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $creator = null; + /** + * Output only. The ISO 4217 3-letter currency code for the currency used by + * the Order. This value is the network's currency code. + * + * Generated from protobuf field optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $currency_code = null; + /** + * Output only. The instant at which the Order and its associated Line items + * are eligible to begin serving. This attribute is derived from the Line item + * of the order that has the earliest `LineItem.start_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $start_time = null; + /** + * Output only. The instant at which the Order and its associated Line items + * stop being served. This attribute is derived from the Line item of the + * order that has the latest `LineItem.end_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $end_time = null; + /** + * Output only. Indicates whether or not this Order has an end time. + * + * Generated from protobuf field optional bool unlimited_end_time = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $unlimited_end_time = null; + /** + * Optional. An arbitrary ID to associate to the Order, which can be used as a + * key to an external system. + * + * Generated from protobuf field optional int32 external_order_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $external_order_id = null; + /** + * Output only. The archival status of the Order. + * + * Generated from protobuf field optional bool archived = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $archived = null; + /** + * Output only. The application which modified this order. + * + * Generated from protobuf field optional string last_modified_by_app = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $last_modified_by_app = null; + /** + * Output only. The instant this Order was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Optional. Provides any additional notes that may annotate the Order. This + * attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 17 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $notes = null; + /** + * Optional. The purchase order number for the Order. This value has a maximum + * length of 63 characters. + * + * Generated from protobuf field optional string po_number = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $po_number = null; + /** + * Output only. The status of the Order. + * + * Generated from protobuf field optional .google.ads.admanager.v1.OrderStatusEnum.OrderStatus status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The resource name of the User responsible for the sales of the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string salesperson = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $salesperson = null; + /** + * Optional. Unordered list. The resource names of the secondary salespeople + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_salespeople = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + */ + private $secondary_salespeople; + /** + * Optional. Unordered list. The resource names of the secondary traffickers + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_traffickers = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + */ + private $secondary_traffickers; + /** + * Optional. The set of labels applied directly to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $applied_labels; + /** + * Output only. Contains the set of labels applied directly to the order as + * well as those inherited from the company that owns the order. If a label + * has been negated, only the negated label is returned. This field is + * assigned by Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $effective_applied_labels; + /** + * Optional. The set of custom field values to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 38 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_field_values; + /** + * Output only. The total number of impressions delivered for Line items in + * this order. + * + * Generated from protobuf field optional int64 impressions_delivered = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $impressions_delivered = null; + /** + * Output only. Total clicks delivered for all Line items of this `Order`. + * This value is calculated from the associated `LineItem` values. + * + * Generated from protobuf field optional int64 total_clicks_delivered = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $total_clicks_delivered = null; + /** + * Output only. Total viewable impressions delivered for all Line items of + * this `Order`. This value is calculated from the associated `LineItem` + * values. + * + * Generated from protobuf field optional int64 total_viewable_impressions_delivered = 54 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $total_viewable_impressions_delivered = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Order`. + * Format: `networks/{network_code}/orders/{order_id}` + * @type int|string $order_id + * Output only. Deprecated: Order ID. + * @type string $display_name + * Required. The display name of the Order. This value has a maximum length + * of 255 characters. + * @type bool $programmatic + * Optional. Specifies whether or not the Order is a programmatic order. + * @type string $trafficker + * Required. The resource name of the User responsible for trafficking the + * Order. Format: "networks/{network_code}/users/{user_id}" + * @type string[] $advertiser_contacts + * Optional. Unordered list. The resource names of Contacts from the + * advertiser of this Order. Format: + * "networks/{network_code}/contacts/{contact_id}" + * @type string $advertiser + * Required. The resource name of the Company, which is of type + * Company.Type.ADVERTISER, to which this order belongs. Format: + * "networks/{network_code}/companies/{company_id}" + * @type string[] $agency_contacts + * Optional. The resource names of Contacts from the advertising Agency of + * this Order. Format: "networks/{network_code}/contacts/{contact_id}" + * @type string $agency + * Optional. The resource name of the Company, which is of type + * Company.Type.AGENCY, with which this order is associated. Format: + * "networks/{network_code}/companies/{company_id}" + * @type string[] $applied_teams + * Optional. The resource names of Teams directly applied to this Order. + * Format: "networks/{network_code}/teams/{team_id}" + * @type string[] $effective_teams + * Output only. The resource names of Teams applied to this Order including + * inherited values. Format: "networks/{network_code}/teams/{team_id}" + * @type string $creator + * Output only. The resource name of the User who created the Order on behalf + * of the advertiser. Format: "networks/{network_code}/users/{user_id}" + * @type string $currency_code + * Output only. The ISO 4217 3-letter currency code for the currency used by + * the Order. This value is the network's currency code. + * @type \Google\Protobuf\Timestamp $start_time + * Output only. The instant at which the Order and its associated Line items + * are eligible to begin serving. This attribute is derived from the Line item + * of the order that has the earliest `LineItem.start_time`. + * @type \Google\Protobuf\Timestamp $end_time + * Output only. The instant at which the Order and its associated Line items + * stop being served. This attribute is derived from the Line item of the + * order that has the latest `LineItem.end_time`. + * @type bool $unlimited_end_time + * Output only. Indicates whether or not this Order has an end time. + * @type int $external_order_id + * Optional. An arbitrary ID to associate to the Order, which can be used as a + * key to an external system. + * @type bool $archived + * Output only. The archival status of the Order. + * @type string $last_modified_by_app + * Output only. The application which modified this order. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The instant this Order was last modified. + * @type string $notes + * Optional. Provides any additional notes that may annotate the Order. This + * attribute has a maximum length of 65,535 characters. + * @type string $po_number + * Optional. The purchase order number for the Order. This value has a maximum + * length of 63 characters. + * @type int $status + * Output only. The status of the Order. + * @type string $salesperson + * Optional. The resource name of the User responsible for the sales of the + * Order. Format: "networks/{network_code}/users/{user_id}" + * @type string[] $secondary_salespeople + * Optional. Unordered list. The resource names of the secondary salespeople + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * @type string[] $secondary_traffickers + * Optional. Unordered list. The resource names of the secondary traffickers + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $applied_labels + * Optional. The set of labels applied directly to this order. + * @type \Google\Ads\AdManager\V1\AppliedLabel[] $effective_applied_labels + * Output only. Contains the set of labels applied directly to the order as + * well as those inherited from the company that owns the order. If a label + * has been negated, only the negated label is returned. This field is + * assigned by Google. + * @type \Google\Ads\AdManager\V1\CustomFieldValue[] $custom_field_values + * Optional. The set of custom field values to this order. + * @type int|string $impressions_delivered + * Output only. The total number of impressions delivered for Line items in + * this order. + * @type int|string $total_clicks_delivered + * Output only. Total clicks delivered for all Line items of this `Order`. + * This value is calculated from the associated `LineItem` values. + * @type int|string $total_viewable_impressions_delivered + * Output only. Total viewable impressions delivered for all Line items of + * this `Order`. This value is calculated from the associated `LineItem` + * values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Order`. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Order`. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: Order ID. + * + * Generated from protobuf field optional int64 order_id = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getOrderId() + { + if (isset($this->order_id)) { + @trigger_error('order_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->order_id) ? $this->order_id : 0; + } + + public function hasOrderId() + { + if (isset($this->order_id)) { + @trigger_error('order_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->order_id); + } + + public function clearOrderId() + { + @trigger_error('order_id is deprecated.', E_USER_DEPRECATED); + unset($this->order_id); + } + + /** + * Output only. Deprecated: Order ID. + * + * Generated from protobuf field optional int64 order_id = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setOrderId($var) + { + @trigger_error('order_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->order_id = $var; + + return $this; + } + + /** + * Required. The display name of the Order. This value has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the Order. This value has a maximum length + * of 255 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. Specifies whether or not the Order is a programmatic order. + * + * Generated from protobuf field optional bool programmatic = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getProgrammatic() + { + return isset($this->programmatic) ? $this->programmatic : false; + } + + public function hasProgrammatic() + { + return isset($this->programmatic); + } + + public function clearProgrammatic() + { + unset($this->programmatic); + } + + /** + * Optional. Specifies whether or not the Order is a programmatic order. + * + * Generated from protobuf field optional bool programmatic = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setProgrammatic($var) + { + GPBUtil::checkBool($var); + $this->programmatic = $var; + + return $this; + } + + /** + * Required. The resource name of the User responsible for trafficking the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string trafficker = 23 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getTrafficker() + { + return isset($this->trafficker) ? $this->trafficker : ''; + } + + public function hasTrafficker() + { + return isset($this->trafficker); + } + + public function clearTrafficker() + { + unset($this->trafficker); + } + + /** + * Required. The resource name of the User responsible for trafficking the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string trafficker = 23 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setTrafficker($var) + { + GPBUtil::checkString($var, True); + $this->trafficker = $var; + + return $this; + } + + /** + * Optional. Unordered list. The resource names of Contacts from the + * advertiser of this Order. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string advertiser_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAdvertiserContacts() + { + return $this->advertiser_contacts; + } + + /** + * Optional. Unordered list. The resource names of Contacts from the + * advertiser of this Order. Format: + * "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string advertiser_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAdvertiserContacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->advertiser_contacts = $arr; + + return $this; + } + + /** + * Required. The resource name of the Company, which is of type + * Company.Type.ADVERTISER, to which this order belongs. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string advertiser = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getAdvertiser() + { + return isset($this->advertiser) ? $this->advertiser : ''; + } + + public function hasAdvertiser() + { + return isset($this->advertiser); + } + + public function clearAdvertiser() + { + unset($this->advertiser); + } + + /** + * Required. The resource name of the Company, which is of type + * Company.Type.ADVERTISER, to which this order belongs. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string advertiser = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAdvertiser($var) + { + GPBUtil::checkString($var, True); + $this->advertiser = $var; + + return $this; + } + + /** + * Optional. The resource names of Contacts from the advertising Agency of + * this Order. Format: "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string agency_contacts = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAgencyContacts() + { + return $this->agency_contacts; + } + + /** + * Optional. The resource names of Contacts from the advertising Agency of + * this Order. Format: "networks/{network_code}/contacts/{contact_id}" + * + * Generated from protobuf field repeated string agency_contacts = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAgencyContacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->agency_contacts = $arr; + + return $this; + } + + /** + * Optional. The resource name of the Company, which is of type + * Company.Type.AGENCY, with which this order is associated. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string agency = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getAgency() + { + return isset($this->agency) ? $this->agency : ''; + } + + public function hasAgency() + { + return isset($this->agency); + } + + public function clearAgency() + { + unset($this->agency); + } + + /** + * Optional. The resource name of the Company, which is of type + * Company.Type.AGENCY, with which this order is associated. Format: + * "networks/{network_code}/companies/{company_id}" + * + * Generated from protobuf field optional string agency = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAgency($var) + { + GPBUtil::checkString($var, True); + $this->agency = $var; + + return $this; + } + + /** + * Optional. The resource names of Teams directly applied to this Order. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getAppliedTeams() + { + return $this->applied_teams; + } + + /** + * Optional. The resource names of Teams directly applied to this Order. + * Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string applied_teams = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setAppliedTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->applied_teams = $arr; + + return $this; + } + + /** + * Output only. The resource names of Teams applied to this Order including + * inherited values. Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string effective_teams = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getEffectiveTeams() + { + return $this->effective_teams; + } + + /** + * Output only. The resource names of Teams applied to this Order including + * inherited values. Format: "networks/{network_code}/teams/{team_id}" + * + * Generated from protobuf field repeated string effective_teams = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setEffectiveTeams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->effective_teams = $arr; + + return $this; + } + + /** + * Output only. The resource name of the User who created the Order on behalf + * of the advertiser. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getCreator() + { + return isset($this->creator) ? $this->creator : ''; + } + + public function hasCreator() + { + return isset($this->creator); + } + + public function clearCreator() + { + unset($this->creator); + } + + /** + * Output only. The resource name of the User who created the Order on behalf + * of the advertiser. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCreator($var) + { + GPBUtil::checkString($var, True); + $this->creator = $var; + + return $this; + } + + /** + * Output only. The ISO 4217 3-letter currency code for the currency used by + * the Order. This value is the network's currency code. + * + * Generated from protobuf field optional string currency_code = 11 [(.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 ISO 4217 3-letter currency code for the currency used by + * the Order. This value is the network's currency code. + * + * Generated from protobuf field optional string currency_code = 11 [(.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 instant at which the Order and its associated Line items + * are eligible to begin serving. This attribute is derived from the Line item + * of the order that has the earliest `LineItem.start_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Output only. The instant at which the Order and its associated Line items + * are eligible to begin serving. This attribute is derived from the Line item + * of the order that has the earliest `LineItem.start_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp start_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->start_time = $var; + + return $this; + } + + /** + * Output only. The instant at which the Order and its associated Line items + * stop being served. This attribute is derived from the Line item of the + * order that has the latest `LineItem.end_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEndTime() + { + return $this->end_time; + } + + public function hasEndTime() + { + return isset($this->end_time); + } + + public function clearEndTime() + { + unset($this->end_time); + } + + /** + * Output only. The instant at which the Order and its associated Line items + * stop being served. This attribute is derived from the Line item of the + * order that has the latest `LineItem.end_time`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->end_time = $var; + + return $this; + } + + /** + * Output only. Indicates whether or not this Order has an end time. + * + * Generated from protobuf field optional bool unlimited_end_time = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getUnlimitedEndTime() + { + return isset($this->unlimited_end_time) ? $this->unlimited_end_time : false; + } + + public function hasUnlimitedEndTime() + { + return isset($this->unlimited_end_time); + } + + public function clearUnlimitedEndTime() + { + unset($this->unlimited_end_time); + } + + /** + * Output only. Indicates whether or not this Order has an end time. + * + * Generated from protobuf field optional bool unlimited_end_time = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setUnlimitedEndTime($var) + { + GPBUtil::checkBool($var); + $this->unlimited_end_time = $var; + + return $this; + } + + /** + * Optional. An arbitrary ID to associate to the Order, which can be used as a + * key to an external system. + * + * Generated from protobuf field optional int32 external_order_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getExternalOrderId() + { + return isset($this->external_order_id) ? $this->external_order_id : 0; + } + + public function hasExternalOrderId() + { + return isset($this->external_order_id); + } + + public function clearExternalOrderId() + { + unset($this->external_order_id); + } + + /** + * Optional. An arbitrary ID to associate to the Order, which can be used as a + * key to an external system. + * + * Generated from protobuf field optional int32 external_order_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setExternalOrderId($var) + { + GPBUtil::checkInt32($var); + $this->external_order_id = $var; + + return $this; + } + + /** + * Output only. The archival status of the Order. + * + * Generated from protobuf field optional bool archived = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getArchived() + { + return isset($this->archived) ? $this->archived : false; + } + + public function hasArchived() + { + return isset($this->archived); + } + + public function clearArchived() + { + unset($this->archived); + } + + /** + * Output only. The archival status of the Order. + * + * Generated from protobuf field optional bool archived = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setArchived($var) + { + GPBUtil::checkBool($var); + $this->archived = $var; + + return $this; + } + + /** + * Output only. The application which modified this order. + * + * Generated from protobuf field optional string last_modified_by_app = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getLastModifiedByApp() + { + return isset($this->last_modified_by_app) ? $this->last_modified_by_app : ''; + } + + public function hasLastModifiedByApp() + { + return isset($this->last_modified_by_app); + } + + public function clearLastModifiedByApp() + { + unset($this->last_modified_by_app); + } + + /** + * Output only. The application which modified this order. + * + * Generated from protobuf field optional string last_modified_by_app = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setLastModifiedByApp($var) + { + GPBUtil::checkString($var, True); + $this->last_modified_by_app = $var; + + return $this; + } + + /** + * Output only. The instant this Order was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The instant this Order was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Optional. Provides any additional notes that may annotate the Order. This + * attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getNotes() + { + return isset($this->notes) ? $this->notes : ''; + } + + public function hasNotes() + { + return isset($this->notes); + } + + public function clearNotes() + { + unset($this->notes); + } + + /** + * Optional. Provides any additional notes that may annotate the Order. This + * attribute has a maximum length of 65,535 characters. + * + * Generated from protobuf field optional string notes = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setNotes($var) + { + GPBUtil::checkString($var, True); + $this->notes = $var; + + return $this; + } + + /** + * Optional. The purchase order number for the Order. This value has a maximum + * length of 63 characters. + * + * Generated from protobuf field optional string po_number = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPoNumber() + { + return isset($this->po_number) ? $this->po_number : ''; + } + + public function hasPoNumber() + { + return isset($this->po_number); + } + + public function clearPoNumber() + { + unset($this->po_number); + } + + /** + * Optional. The purchase order number for the Order. This value has a maximum + * length of 63 characters. + * + * Generated from protobuf field optional string po_number = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPoNumber($var) + { + GPBUtil::checkString($var, True); + $this->po_number = $var; + + return $this; + } + + /** + * Output only. The status of the Order. + * + * Generated from protobuf field optional .google.ads.admanager.v1.OrderStatusEnum.OrderStatus status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the Order. + * + * Generated from protobuf field optional .google.ads.admanager.v1.OrderStatusEnum.OrderStatus status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\OrderStatusEnum\OrderStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The resource name of the User responsible for the sales of the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string salesperson = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getSalesperson() + { + return isset($this->salesperson) ? $this->salesperson : ''; + } + + public function hasSalesperson() + { + return isset($this->salesperson); + } + + public function clearSalesperson() + { + unset($this->salesperson); + } + + /** + * Optional. The resource name of the User responsible for the sales of the + * Order. Format: "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field optional string salesperson = 21 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setSalesperson($var) + { + GPBUtil::checkString($var, True); + $this->salesperson = $var; + + return $this; + } + + /** + * Optional. Unordered list. The resource names of the secondary salespeople + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_salespeople = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getSecondarySalespeople() + { + return $this->secondary_salespeople; + } + + /** + * Optional. Unordered list. The resource names of the secondary salespeople + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_salespeople = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setSecondarySalespeople($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->secondary_salespeople = $arr; + + return $this; + } + + /** + * Optional. Unordered list. The resource names of the secondary traffickers + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_traffickers = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getSecondaryTraffickers() + { + return $this->secondary_traffickers; + } + + /** + * Optional. Unordered list. The resource names of the secondary traffickers + * associated with the order. Format: + * "networks/{network_code}/users/{user_id}" + * + * Generated from protobuf field repeated string secondary_traffickers = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setSecondaryTraffickers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->secondary_traffickers = $arr; + + return $this; + } + + /** + * Optional. The set of labels applied directly to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getAppliedLabels() + { + return $this->applied_labels; + } + + /** + * Optional. The set of labels applied directly to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->applied_labels = $arr; + + return $this; + } + + /** + * Output only. Contains the set of labels applied directly to the order as + * well as those inherited from the company that owns the order. If a label + * has been negated, only the negated label is returned. This field is + * assigned by Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AppliedLabel> + */ + public function getEffectiveAppliedLabels() + { + return $this->effective_applied_labels; + } + + /** + * Output only. Contains the set of labels applied directly to the order as + * well as those inherited from the company that owns the order. If a label + * has been negated, only the negated label is returned. This field is + * assigned by Google. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AppliedLabel effective_applied_labels = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AppliedLabel[] $var + * @return $this + */ + public function setEffectiveAppliedLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AppliedLabel::class); + $this->effective_applied_labels = $arr; + + return $this; + } + + /** + * Optional. The set of custom field values to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 38 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\CustomFieldValue> + */ + public function getCustomFieldValues() + { + return $this->custom_field_values; + } + + /** + * Optional. The set of custom field values to this order. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 38 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomFieldValue[] $var + * @return $this + */ + public function setCustomFieldValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\CustomFieldValue::class); + $this->custom_field_values = $arr; + + return $this; + } + + /** + * Output only. The total number of impressions delivered for Line items in + * this order. + * + * Generated from protobuf field optional int64 impressions_delivered = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getImpressionsDelivered() + { + return isset($this->impressions_delivered) ? $this->impressions_delivered : 0; + } + + public function hasImpressionsDelivered() + { + return isset($this->impressions_delivered); + } + + public function clearImpressionsDelivered() + { + unset($this->impressions_delivered); + } + + /** + * Output only. The total number of impressions delivered for Line items in + * this order. + * + * Generated from protobuf field optional int64 impressions_delivered = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setImpressionsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->impressions_delivered = $var; + + return $this; + } + + /** + * Output only. Total clicks delivered for all Line items of this `Order`. + * This value is calculated from the associated `LineItem` values. + * + * Generated from protobuf field optional int64 total_clicks_delivered = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getTotalClicksDelivered() + { + return isset($this->total_clicks_delivered) ? $this->total_clicks_delivered : 0; + } + + public function hasTotalClicksDelivered() + { + return isset($this->total_clicks_delivered); + } + + public function clearTotalClicksDelivered() + { + unset($this->total_clicks_delivered); + } + + /** + * Output only. Total clicks delivered for all Line items of this `Order`. + * This value is calculated from the associated `LineItem` values. + * + * Generated from protobuf field optional int64 total_clicks_delivered = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setTotalClicksDelivered($var) + { + GPBUtil::checkInt64($var); + $this->total_clicks_delivered = $var; + + return $this; + } + + /** + * Output only. Total viewable impressions delivered for all Line items of + * this `Order`. This value is calculated from the associated `LineItem` + * values. + * + * Generated from protobuf field optional int64 total_viewable_impressions_delivered = 54 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getTotalViewableImpressionsDelivered() + { + return isset($this->total_viewable_impressions_delivered) ? $this->total_viewable_impressions_delivered : 0; + } + + public function hasTotalViewableImpressionsDelivered() + { + return isset($this->total_viewable_impressions_delivered); + } + + public function clearTotalViewableImpressionsDelivered() + { + unset($this->total_viewable_impressions_delivered); + } + + /** + * Output only. Total viewable impressions delivered for all Line items of + * this `Order`. This value is calculated from the associated `LineItem` + * values. + * + * Generated from protobuf field optional int64 total_viewable_impressions_delivered = 54 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setTotalViewableImpressionsDelivered($var) + { + GPBUtil::checkInt64($var); + $this->total_viewable_impressions_delivered = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum.php new file mode 100644 index 000000000000..801645db15ab --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.OrderStatusEnum + */ +class OrderStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum/OrderStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum/OrderStatus.php new file mode 100644 index 000000000000..09c8ace0f2fa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/OrderStatusEnum/OrderStatus.php @@ -0,0 +1,99 @@ +google.ads.admanager.v1.OrderStatusEnum.OrderStatus + */ +class OrderStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum ORDER_STATUS_UNSPECIFIED = 0; + */ + const ORDER_STATUS_UNSPECIFIED = 0; + /** + * Indicates that the Order has just been created but no approval has been + * requested yet. + * + * Generated from protobuf enum DRAFT = 2; + */ + const DRAFT = 2; + /** + * Indicates that a request for approval for the Order has been made. + * + * Generated from protobuf enum PENDING_APPROVAL = 3; + */ + const PENDING_APPROVAL = 3; + /** + * Indicates that the Order has been approved and is ready to serve. + * + * Generated from protobuf enum APPROVED = 4; + */ + const APPROVED = 4; + /** + * Indicates that the Order has been disapproved and is not eligible to + * serve. + * + * Generated from protobuf enum DISAPPROVED = 5; + */ + const DISAPPROVED = 5; + /** + * This is a legacy state. Paused status should be checked on LineItems + * within the order. + * + * Generated from protobuf enum PAUSED = 6; + */ + const PAUSED = 6; + /** + * Indicates that the Order has been canceled and cannot serve. + * + * Generated from protobuf enum CANCELED = 7; + */ + const CANCELED = 7; + /** + * Indicates that the Order has been deleted. + * + * Generated from protobuf enum DELETED = 8; + */ + const DELETED = 8; + + private static $valueToName = [ + self::ORDER_STATUS_UNSPECIFIED => 'ORDER_STATUS_UNSPECIFIED', + self::DRAFT => 'DRAFT', + self::PENDING_APPROVAL => 'PENDING_APPROVAL', + self::APPROVED => 'APPROVED', + self::DISAPPROVED => 'DISAPPROVED', + self::PAUSED => 'PAUSED', + self::CANCELED => 'CANCELED', + self::DELETED => 'DELETED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum.php new file mode 100644 index 000000000000..47f522a8934e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.PacingDeviceCategorizationEnum + */ +class PacingDeviceCategorizationEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PacingDeviceCategorizationEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum/PacingDeviceCategorization.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum/PacingDeviceCategorization.php new file mode 100644 index 000000000000..4863d7f3ffc9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PacingDeviceCategorizationEnum/PacingDeviceCategorization.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.PacingDeviceCategorizationEnum.PacingDeviceCategorization + */ +class PacingDeviceCategorization +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum PACING_DEVICE_CATEGORIZATION_UNSPECIFIED = 0; + */ + const PACING_DEVICE_CATEGORIZATION_UNSPECIFIED = 0; + /** + * Use Google's device categorization in auto-pacing. + * + * Generated from protobuf enum GOOGLE = 1; + */ + const GOOGLE = 1; + /** + * Use Nielsen device categorization in auto-pacing + * + * Generated from protobuf enum NIELSEN = 2; + */ + const NIELSEN = 2; + + private static $valueToName = [ + self::PACING_DEVICE_CATEGORIZATION_UNSPECIFIED => 'PACING_DEVICE_CATEGORIZATION_UNSPECIFIED', + self::GOOGLE => 'GOOGLE', + self::NIELSEN => 'NIELSEN', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Placement.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Placement.php new file mode 100644 index 000000000000..aee6c5abcca7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Placement.php @@ -0,0 +1,382 @@ +google.ads.admanager.v1.Placement + */ +class Placement extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Placement`. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `Placement` ID. + * + * Generated from protobuf field int64 placement_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $placement_id = 0; + /** + * Required. The display name of the placement. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. A description of the Placement. This attribute has a maximum + * length of 65,535 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Output only. A string used to uniquely identify the Placement for purposes + * of serving the ad. This attribute is assigned by Google. + * + * Generated from protobuf field optional string placement_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $placement_code = null; + /** + * Output only. The status of the Placement. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PlacementStatusEnum.PlacementStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. The resource names of AdUnits that constitute the Placement. + * Format: "networks/{network_code}/adUnits/{ad_unit}" + * + * Generated from protobuf field repeated string targeted_ad_units = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $targeted_ad_units; + /** + * Output only. The instant this Placement was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Placement`. + * Format: `networks/{network_code}/placements/{placement_id}` + * @type int|string $placement_id + * Output only. Deprecated: `Placement` ID. + * @type string $display_name + * Required. The display name of the placement. This attribute has a maximum + * length of 255 characters. + * @type string $description + * Optional. A description of the Placement. This attribute has a maximum + * length of 65,535 characters. + * @type string $placement_code + * Output only. A string used to uniquely identify the Placement for purposes + * of serving the ad. This attribute is assigned by Google. + * @type int $status + * Output only. The status of the Placement. + * @type string[] $targeted_ad_units + * Optional. The resource names of AdUnits that constitute the Placement. + * Format: "networks/{network_code}/adUnits/{ad_unit}" + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The instant this Placement was last modified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Placement`. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Placement`. + * Format: `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `Placement` ID. + * + * Generated from protobuf field int64 placement_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getPlacementId() + { + if ($this->placement_id !== 0) { + @trigger_error('placement_id is deprecated.', E_USER_DEPRECATED); + } + return $this->placement_id; + } + + /** + * Output only. Deprecated: `Placement` ID. + * + * Generated from protobuf field int64 placement_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setPlacementId($var) + { + @trigger_error('placement_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->placement_id = $var; + + return $this; + } + + /** + * Required. The display name of the placement. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the placement. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. A description of the Placement. This attribute has a maximum + * length of 65,535 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. A description of the Placement. This attribute has a maximum + * length of 65,535 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Output only. A string used to uniquely identify the Placement for purposes + * of serving the ad. This attribute is assigned by Google. + * + * Generated from protobuf field optional string placement_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPlacementCode() + { + return isset($this->placement_code) ? $this->placement_code : ''; + } + + public function hasPlacementCode() + { + return isset($this->placement_code); + } + + public function clearPlacementCode() + { + unset($this->placement_code); + } + + /** + * Output only. A string used to uniquely identify the Placement for purposes + * of serving the ad. This attribute is assigned by Google. + * + * Generated from protobuf field optional string placement_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPlacementCode($var) + { + GPBUtil::checkString($var, True); + $this->placement_code = $var; + + return $this; + } + + /** + * Output only. The status of the Placement. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PlacementStatusEnum.PlacementStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the Placement. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PlacementStatusEnum.PlacementStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\PlacementStatusEnum\PlacementStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. The resource names of AdUnits that constitute the Placement. + * Format: "networks/{network_code}/adUnits/{ad_unit}" + * + * Generated from protobuf field repeated string targeted_ad_units = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getTargetedAdUnits() + { + return $this->targeted_ad_units; + } + + /** + * Optional. The resource names of AdUnits that constitute the Placement. + * Format: "networks/{network_code}/adUnits/{ad_unit}" + * + * Generated from protobuf field repeated string targeted_ad_units = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setTargetedAdUnits($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_ad_units = $arr; + + return $this; + } + + /** + * Output only. The instant this Placement was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The instant this Placement was last modified. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum.php new file mode 100644 index 000000000000..5c9ed71b012b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.PlacementStatusEnum + */ +class PlacementStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum/PlacementStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum/PlacementStatus.php new file mode 100644 index 000000000000..40f04f807881 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PlacementStatusEnum/PlacementStatus.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.PlacementStatusEnum.PlacementStatus + */ +class PlacementStatus +{ + /** + * Not specified value. + * + * Generated from protobuf enum PLACEMENT_STATUS_UNSPECIFIED = 0; + */ + const PLACEMENT_STATUS_UNSPECIFIED = 0; + /** + * Stats are collected, user-visible. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * No stats collected, not user-visible. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + /** + * No stats collected, user-visible. + * + * Generated from protobuf enum ARCHIVED = 3; + */ + const ARCHIVED = 3; + + private static $valueToName = [ + self::PLACEMENT_STATUS_UNSPECIFIED => 'PLACEMENT_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + self::ARCHIVED => 'ARCHIVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrefetchSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrefetchSettings.php new file mode 100644 index 000000000000..e8859a9d7892 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrefetchSettings.php @@ -0,0 +1,77 @@ +google.ads.admanager.v1.PrefetchSettings + */ +class PrefetchSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The duration of the part of the break to be prefetched. + * + * Generated from protobuf field optional .google.protobuf.Duration stage_one_ad_request_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $stage_one_ad_request_duration = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Duration $stage_one_ad_request_duration + * Optional. The duration of the part of the break to be prefetched. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The duration of the part of the break to be prefetched. + * + * Generated from protobuf field optional .google.protobuf.Duration stage_one_ad_request_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getStageOneAdRequestDuration() + { + return $this->stage_one_ad_request_duration; + } + + public function hasStageOneAdRequestDuration() + { + return isset($this->stage_one_ad_request_duration); + } + + public function clearStageOneAdRequestDuration() + { + unset($this->stage_one_ad_request_duration); + } + + /** + * Optional. The duration of the part of the break to be prefetched. + * + * Generated from protobuf field optional .google.protobuf.Duration stage_one_ad_request_duration = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setStageOneAdRequestDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->stage_one_ad_request_duration = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrerollSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrerollSettings.php new file mode 100644 index 000000000000..1703e02594b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrerollSettings.php @@ -0,0 +1,125 @@ +google.ads.admanager.v1.PrerollSettings + */ +class PrerollSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking + * workflow that is associated with this live stream. + * + * Generated from protobuf field optional string ad_tag = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_tag = null; + /** + * Required. The maximum duration for an ad break. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_pod_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $max_ad_pod_duration = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $ad_tag + * Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking + * workflow that is associated with this live stream. + * @type \Google\Protobuf\Duration $max_ad_pod_duration + * Required. The maximum duration for an ad break. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking + * workflow that is associated with this live stream. + * + * Generated from protobuf field optional string ad_tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAdTag() + { + return isset($this->ad_tag) ? $this->ad_tag : ''; + } + + public function hasAdTag() + { + return isset($this->ad_tag); + } + + public function clearAdTag() + { + unset($this->ad_tag); + } + + /** + * Required. The Ad Manager ad tag URL generated by the Ad Manager trafficking + * workflow that is associated with this live stream. + * + * Generated from protobuf field optional string ad_tag = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAdTag($var) + { + GPBUtil::checkString($var, True); + $this->ad_tag = $var; + + return $this; + } + + /** + * Required. The maximum duration for an ad break. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_pod_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Duration|null + */ + public function getMaxAdPodDuration() + { + return $this->max_ad_pod_duration; + } + + public function hasMaxAdPodDuration() + { + return isset($this->max_ad_pod_duration); + } + + public function clearMaxAdPodDuration() + { + unset($this->max_ad_pod_duration); + } + + /** + * Required. The maximum duration for an ad break. + * + * Generated from protobuf field optional .google.protobuf.Duration max_ad_pod_duration = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setMaxAdPodDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->max_ad_pod_duration = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuction.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuction.php new file mode 100644 index 000000000000..ca1e75bb2bf6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuction.php @@ -0,0 +1,396 @@ +google.ads.admanager.v1.PrivateAuction + */ +class PrivateAuction extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `PrivateAuction`. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `PrivateAuction` ID. + * + * Generated from protobuf field optional int64 private_auction_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $private_auction_id = null; + /** + * Required. Display name of the `PrivateAuction`. This attribute has a + * maximum length of 255 bytes. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. Description of the `PrivateAuction`. This attribute has a + * maximum length of 4096 bytes. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Optional. The resource names of the seller contact users associated with + * this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + private $seller_contact_users; + /** + * Output only. Whether the `PrivateAuction` is archived. + * + * Generated from protobuf field optional bool archived = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $archived = null; + /** + * Output only. The instant at which the PrivateAuction was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. The instant at which the PrivateAuction was last updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `PrivateAuction`. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * @type int|string $private_auction_id + * Output only. Deprecated: `PrivateAuction` ID. + * @type string $display_name + * Required. Display name of the `PrivateAuction`. This attribute has a + * maximum length of 255 bytes. + * @type string $description + * Optional. Description of the `PrivateAuction`. This attribute has a + * maximum length of 4096 bytes. + * @type string[] $seller_contact_users + * Optional. The resource names of the seller contact users associated with + * this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}` + * @type bool $archived + * Output only. Whether the `PrivateAuction` is archived. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The instant at which the PrivateAuction was created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The instant at which the PrivateAuction was last updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `PrivateAuction`. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `PrivateAuction`. + * Format: + * `networks/{network_code}/privateAuctions/{private_auction_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `PrivateAuction` ID. + * + * Generated from protobuf field optional int64 private_auction_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getPrivateAuctionId() + { + if (isset($this->private_auction_id)) { + @trigger_error('private_auction_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->private_auction_id) ? $this->private_auction_id : 0; + } + + public function hasPrivateAuctionId() + { + if (isset($this->private_auction_id)) { + @trigger_error('private_auction_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->private_auction_id); + } + + public function clearPrivateAuctionId() + { + @trigger_error('private_auction_id is deprecated.', E_USER_DEPRECATED); + unset($this->private_auction_id); + } + + /** + * Output only. Deprecated: `PrivateAuction` ID. + * + * Generated from protobuf field optional int64 private_auction_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setPrivateAuctionId($var) + { + @trigger_error('private_auction_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->private_auction_id = $var; + + return $this; + } + + /** + * Required. Display name of the `PrivateAuction`. This attribute has a + * maximum length of 255 bytes. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. Display name of the `PrivateAuction`. This attribute has a + * maximum length of 255 bytes. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. Description of the `PrivateAuction`. This attribute has a + * maximum length of 4096 bytes. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. Description of the `PrivateAuction`. This attribute has a + * maximum length of 4096 bytes. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Optional. The resource names of the seller contact users associated with + * this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getSellerContactUsers() + { + return $this->seller_contact_users; + } + + /** + * Optional. The resource names of the seller contact users associated with + * this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field repeated string seller_contact_users = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setSellerContactUsers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->seller_contact_users = $arr; + + return $this; + } + + /** + * Output only. Whether the `PrivateAuction` is archived. + * + * Generated from protobuf field optional bool archived = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getArchived() + { + return isset($this->archived) ? $this->archived : false; + } + + public function hasArchived() + { + return isset($this->archived); + } + + public function clearArchived() + { + unset($this->archived); + } + + /** + * Output only. Whether the `PrivateAuction` is archived. + * + * Generated from protobuf field optional bool archived = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setArchived($var) + { + GPBUtil::checkBool($var); + $this->archived = $var; + + return $this; + } + + /** + * Output only. The instant at which the PrivateAuction was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The instant at which the PrivateAuction was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Output only. The instant at which the PrivateAuction was last updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The instant at which the PrivateAuction was last updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal.php new file mode 100644 index 000000000000..3c0da373064b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal.php @@ -0,0 +1,840 @@ +google.ads.admanager.v1.PrivateAuctionDeal + */ +class PrivateAuctionDeal extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `PrivateAuctionDeal`. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `PrivateAuctionDeal` ID. + * + * Generated from protobuf field optional int64 private_auction_deal_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $private_auction_deal_id = null; + /** + * Immutable. The ID of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $private_auction_id = null; + /** + * Output only. The display name of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $private_auction_display_name = null; + /** + * Immutable. The account ID of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $buyer_account_id = null; + /** + * Output only. The external ID of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $external_deal_id = null; + /** + * Optional. The targeting of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $targeting = null; + /** + * Optional. The end time of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $end_time = null; + /** + * Required. The floor price of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $floor_price = null; + /** + * Optional. The expected creative sizes of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $creative_sizes; + /** + * Output only. The status of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. Whether the deal is enabled with priority over open auction. + * + * Generated from protobuf field optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $auction_priority_enabled = null; + /** + * Optional. Whether the deal has block override enabled. + * + * Generated from protobuf field optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $block_override_enabled = null; + /** + * Optional. The buyer permission model defining how the deal would transact + * among all buyers under the same bidder. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $buyer_permission_type = null; + /** + * Optional. The buyer data required by the Marketplace API. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $buyer_data = null; + /** + * Optional. The priority of the deal across all non-guaranteed deals. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NonGuaranteedDealPriority deal_priority = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $deal_priority = null; + /** + * Output only. The instant at which the `PrivateAuctionDeal` was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. The instant at which the `PrivateAuctionDeal` was last + * updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `PrivateAuctionDeal`. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * @type int|string $private_auction_deal_id + * Output only. Deprecated: `PrivateAuctionDeal` ID. + * @type int|string $private_auction_id + * Immutable. The ID of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * @type string $private_auction_display_name + * Output only. The display name of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * @type int|string $buyer_account_id + * Immutable. The account ID of the buyer of the `PrivateAuctionDeal`. + * @type int|string $external_deal_id + * Output only. The external ID of the `PrivateAuctionDeal`. + * @type \Google\Ads\AdManager\V1\Targeting $targeting + * Optional. The targeting of the `PrivateAuctionDeal`. + * @type \Google\Protobuf\Timestamp $end_time + * Optional. The end time of the `PrivateAuctionDeal`. + * @type \Google\Type\Money $floor_price + * Required. The floor price of the `PrivateAuctionDeal`. + * @type \Google\Ads\AdManager\V1\Size[] $creative_sizes + * Optional. The expected creative sizes of the `PrivateAuctionDeal`. + * @type int $status + * Output only. The status of the `PrivateAuctionDeal`. + * @type bool $auction_priority_enabled + * Optional. Whether the deal is enabled with priority over open auction. + * @type bool $block_override_enabled + * Optional. Whether the deal has block override enabled. + * @type int $buyer_permission_type + * Optional. The buyer permission model defining how the deal would transact + * among all buyers under the same bidder. + * @type \Google\Ads\AdManager\V1\PrivateAuctionDeal\BuyerData $buyer_data + * Optional. The buyer data required by the Marketplace API. + * @type \Google\Ads\AdManager\V1\NonGuaranteedDealPriority $deal_priority + * Optional. The priority of the deal across all non-guaranteed deals. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The instant at which the `PrivateAuctionDeal` was created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The instant at which the `PrivateAuctionDeal` was last + * updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `PrivateAuctionDeal`. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `PrivateAuctionDeal`. + * Format: + * `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `PrivateAuctionDeal` ID. + * + * Generated from protobuf field optional int64 private_auction_deal_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getPrivateAuctionDealId() + { + if (isset($this->private_auction_deal_id)) { + @trigger_error('private_auction_deal_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->private_auction_deal_id) ? $this->private_auction_deal_id : 0; + } + + public function hasPrivateAuctionDealId() + { + if (isset($this->private_auction_deal_id)) { + @trigger_error('private_auction_deal_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->private_auction_deal_id); + } + + public function clearPrivateAuctionDealId() + { + @trigger_error('private_auction_deal_id is deprecated.', E_USER_DEPRECATED); + unset($this->private_auction_deal_id); + } + + /** + * Output only. Deprecated: `PrivateAuctionDeal` ID. + * + * Generated from protobuf field optional int64 private_auction_deal_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setPrivateAuctionDealId($var) + { + @trigger_error('private_auction_deal_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->private_auction_deal_id = $var; + + return $this; + } + + /** + * Immutable. The ID of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int|string + */ + public function getPrivateAuctionId() + { + return isset($this->private_auction_id) ? $this->private_auction_id : 0; + } + + public function hasPrivateAuctionId() + { + return isset($this->private_auction_id); + } + + public function clearPrivateAuctionId() + { + unset($this->private_auction_id); + } + + /** + * Immutable. The ID of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional int64 private_auction_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int|string $var + * @return $this + */ + public function setPrivateAuctionId($var) + { + GPBUtil::checkInt64($var); + $this->private_auction_id = $var; + + return $this; + } + + /** + * Output only. The display name of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPrivateAuctionDisplayName() + { + return isset($this->private_auction_display_name) ? $this->private_auction_display_name : ''; + } + + public function hasPrivateAuctionDisplayName() + { + return isset($this->private_auction_display_name); + } + + public function clearPrivateAuctionDisplayName() + { + unset($this->private_auction_display_name); + } + + /** + * Output only. The display name of the + * [PrivateAuction](google.ads.admanager.v1.PrivateAuction). + * + * Generated from protobuf field optional string private_auction_display_name = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPrivateAuctionDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->private_auction_display_name = $var; + + return $this; + } + + /** + * Immutable. The account ID of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int|string + */ + public function getBuyerAccountId() + { + return isset($this->buyer_account_id) ? $this->buyer_account_id : 0; + } + + public function hasBuyerAccountId() + { + return isset($this->buyer_account_id); + } + + public function clearBuyerAccountId() + { + unset($this->buyer_account_id); + } + + /** + * Immutable. The account ID of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 buyer_account_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int|string $var + * @return $this + */ + public function setBuyerAccountId($var) + { + GPBUtil::checkInt64($var); + $this->buyer_account_id = $var; + + return $this; + } + + /** + * Output only. The external ID of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getExternalDealId() + { + return isset($this->external_deal_id) ? $this->external_deal_id : 0; + } + + public function hasExternalDealId() + { + return isset($this->external_deal_id); + } + + public function clearExternalDealId() + { + unset($this->external_deal_id); + } + + /** + * Output only. The external ID of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional int64 external_deal_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setExternalDealId($var) + { + GPBUtil::checkInt64($var); + $this->external_deal_id = $var; + + return $this; + } + + /** + * Optional. The targeting of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\Targeting|null + */ + public function getTargeting() + { + return $this->targeting; + } + + public function hasTargeting() + { + return isset($this->targeting); + } + + public function clearTargeting() + { + unset($this->targeting); + } + + /** + * Optional. The targeting of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\Targeting $var + * @return $this + */ + public function setTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Targeting::class); + $this->targeting = $var; + + return $this; + } + + /** + * Optional. The end time of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEndTime() + { + return $this->end_time; + } + + public function hasEndTime() + { + return isset($this->end_time); + } + + public function clearEndTime() + { + unset($this->end_time); + } + + /** + * Optional. The end time of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->end_time = $var; + + return $this; + } + + /** + * Required. The floor price of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Money|null + */ + public function getFloorPrice() + { + return $this->floor_price; + } + + public function hasFloorPrice() + { + return isset($this->floor_price); + } + + public function clearFloorPrice() + { + unset($this->floor_price); + } + + /** + * Required. The floor price of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.type.Money floor_price = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Money $var + * @return $this + */ + public function setFloorPrice($var) + { + GPBUtil::checkMessage($var, \Google\Type\Money::class); + $this->floor_price = $var; + + return $this; + } + + /** + * Optional. The expected creative sizes of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\Size> + */ + public function getCreativeSizes() + { + return $this->creative_sizes; + } + + /** + * Optional. The expected creative sizes of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.Size creative_sizes = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\Size[] $var + * @return $this + */ + public function setCreativeSizes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Size::class); + $this->creative_sizes = $arr; + + return $this; + } + + /** + * Output only. The status of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the `PrivateAuctionDeal`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\PrivateMarketplaceDealStatusEnum\PrivateMarketplaceDealStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. Whether the deal is enabled with priority over open auction. + * + * Generated from protobuf field optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAuctionPriorityEnabled() + { + return isset($this->auction_priority_enabled) ? $this->auction_priority_enabled : false; + } + + public function hasAuctionPriorityEnabled() + { + return isset($this->auction_priority_enabled); + } + + public function clearAuctionPriorityEnabled() + { + unset($this->auction_priority_enabled); + } + + /** + * Optional. Whether the deal is enabled with priority over open auction. + * + * Generated from protobuf field optional bool auction_priority_enabled = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAuctionPriorityEnabled($var) + { + GPBUtil::checkBool($var); + $this->auction_priority_enabled = $var; + + return $this; + } + + /** + * Optional. Whether the deal has block override enabled. + * + * Generated from protobuf field optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getBlockOverrideEnabled() + { + return isset($this->block_override_enabled) ? $this->block_override_enabled : false; + } + + public function hasBlockOverrideEnabled() + { + return isset($this->block_override_enabled); + } + + public function clearBlockOverrideEnabled() + { + unset($this->block_override_enabled); + } + + /** + * Optional. Whether the deal has block override enabled. + * + * Generated from protobuf field optional bool block_override_enabled = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setBlockOverrideEnabled($var) + { + GPBUtil::checkBool($var); + $this->block_override_enabled = $var; + + return $this; + } + + /** + * Optional. The buyer permission model defining how the deal would transact + * among all buyers under the same bidder. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getBuyerPermissionType() + { + return isset($this->buyer_permission_type) ? $this->buyer_permission_type : 0; + } + + public function hasBuyerPermissionType() + { + return isset($this->buyer_permission_type); + } + + public function clearBuyerPermissionType() + { + unset($this->buyer_permission_type); + } + + /** + * Optional. The buyer permission model defining how the deal would transact + * among all buyers under the same bidder. + * + * Generated from protobuf field optional .google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType buyer_permission_type = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setBuyerPermissionType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\DealBuyerPermissionTypeEnum\DealBuyerPermissionType::class); + $this->buyer_permission_type = $var; + + return $this; + } + + /** + * Optional. The buyer data required by the Marketplace API. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\PrivateAuctionDeal\BuyerData|null + */ + public function getBuyerData() + { + return $this->buyer_data; + } + + public function hasBuyerData() + { + return isset($this->buyer_data); + } + + public function clearBuyerData() + { + unset($this->buyer_data); + } + + /** + * Optional. The buyer data required by the Marketplace API. + * + * Generated from protobuf field optional .google.ads.admanager.v1.PrivateAuctionDeal.BuyerData buyer_data = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal\BuyerData $var + * @return $this + */ + public function setBuyerData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrivateAuctionDeal\BuyerData::class); + $this->buyer_data = $var; + + return $this; + } + + /** + * Optional. The priority of the deal across all non-guaranteed deals. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NonGuaranteedDealPriority deal_priority = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\NonGuaranteedDealPriority|null + */ + public function getDealPriority() + { + return $this->deal_priority; + } + + public function hasDealPriority() + { + return isset($this->deal_priority); + } + + public function clearDealPriority() + { + unset($this->deal_priority); + } + + /** + * Optional. The priority of the deal across all non-guaranteed deals. + * + * Generated from protobuf field optional .google.ads.admanager.v1.NonGuaranteedDealPriority deal_priority = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\NonGuaranteedDealPriority $var + * @return $this + */ + public function setDealPriority($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\NonGuaranteedDealPriority::class); + $this->deal_priority = $var; + + return $this; + } + + /** + * Output only. The instant at which the `PrivateAuctionDeal` was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The instant at which the `PrivateAuctionDeal` was created. + * + * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Output only. The instant at which the `PrivateAuctionDeal` was last + * updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The instant at which the `PrivateAuctionDeal` was last + * updated. + * + * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal/BuyerData.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal/BuyerData.php new file mode 100644 index 000000000000..3d8ddf62ce83 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateAuctionDeal/BuyerData.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.PrivateAuctionDeal.BuyerData + */ +class BuyerData extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The email contacts of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated string buyer_emails = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $buyer_emails; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $buyer_emails + * Optional. The email contacts of the buyer of the `PrivateAuctionDeal`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealMessages::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The email contacts of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated string buyer_emails = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getBuyerEmails() + { + return $this->buyer_emails; + } + + /** + * Optional. The email contacts of the buyer of the `PrivateAuctionDeal`. + * + * Generated from protobuf field repeated string buyer_emails = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setBuyerEmails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->buyer_emails = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum.php new file mode 100644 index 000000000000..8b38c7122813 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum + */ +class PrivateMarketplaceDealStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateMarketplaceEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum/PrivateMarketplaceDealStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum/PrivateMarketplaceDealStatus.php new file mode 100644 index 000000000000..9f1ddbcb9056 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/PrivateMarketplaceDealStatusEnum/PrivateMarketplaceDealStatus.php @@ -0,0 +1,89 @@ +google.ads.admanager.v1.PrivateMarketplaceDealStatusEnum.PrivateMarketplaceDealStatus + */ +class PrivateMarketplaceDealStatus +{ + /** + * No value specified. + * + * Generated from protobuf enum PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED = 0; + */ + const PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED = 0; + /** + * The deal is pending. + * + * Generated from protobuf enum PENDING = 1; + */ + const PENDING = 1; + /** + * The deal is active. + * + * Generated from protobuf enum ACTIVE = 2; + */ + const ACTIVE = 2; + /** + * The deal is canceled. + * + * Generated from protobuf enum CANCELED = 3; + */ + const CANCELED = 3; + /** + * The deal is paused by the seller. + * + * Generated from protobuf enum SELLER_PAUSED = 4; + */ + const SELLER_PAUSED = 4; + /** + * The deal is paused by the buyer. + * + * Generated from protobuf enum BUYER_PAUSED = 5; + */ + const BUYER_PAUSED = 5; + /** + * The deal is past its end date. + * + * Generated from protobuf enum COMPLETED = 6; + */ + const COMPLETED = 6; + + private static $valueToName = [ + self::PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED => 'PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED', + self::PENDING => 'PENDING', + self::ACTIVE => 'ACTIVE', + self::CANCELED => 'CANCELED', + self::SELLER_PAUSED => 'SELLER_PAUSED', + self::BUYER_PAUSED => 'BUYER_PAUSED', + self::COMPLETED => 'COMPLETED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ProgrammaticBuyer.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ProgrammaticBuyer.php new file mode 100644 index 000000000000..c292b5fba833 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ProgrammaticBuyer.php @@ -0,0 +1,395 @@ +google.ads.admanager.v1.ProgrammaticBuyer + */ +class ProgrammaticBuyer extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `ProgrammaticBuyer`. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The buyer account ID of the buyer. + * + * Generated from protobuf field optional int64 buyer_account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $buyer_account_id = null; + /** + * Output only. The display name of the buyer. + * + * Generated from protobuf field optional string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The ID of the programmatic buyer's sponsor. If the buyer has + * no sponsor, this field will be -1. + * + * Generated from protobuf field optional int64 parent_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $parent_account_id = null; + /** + * Output only. ID of the Display & Video 360 client buyer partner ID (if + * Display & Video 360) or Authorized Buyers client buyer account ID. + * + * Generated from protobuf field optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $partner_client_id = null; + /** + * Output only. Whether the buyer is an advertising agency. + * + * Generated from protobuf field optional bool agency = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $agency = null; + /** + * Output only. Whether the buyer is enabled for preferred deals. + * + * Generated from protobuf field optional bool preferred_deals_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $preferred_deals_enabled = null; + /** + * Output only. Whether the buyer is enabled for programmatic guaranteed + * deals. + * + * Generated from protobuf field optional bool programmatic_guaranteed_enabled = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $programmatic_guaranteed_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `ProgrammaticBuyer`. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * @type int|string $buyer_account_id + * Output only. The buyer account ID of the buyer. + * @type string $display_name + * Output only. The display name of the buyer. + * @type int|string $parent_account_id + * Output only. The ID of the programmatic buyer's sponsor. If the buyer has + * no sponsor, this field will be -1. + * @type string $partner_client_id + * Output only. ID of the Display & Video 360 client buyer partner ID (if + * Display & Video 360) or Authorized Buyers client buyer account ID. + * @type bool $agency + * Output only. Whether the buyer is an advertising agency. + * @type bool $preferred_deals_enabled + * Output only. Whether the buyer is enabled for preferred deals. + * @type bool $programmatic_guaranteed_enabled + * Output only. Whether the buyer is enabled for programmatic guaranteed + * deals. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ProgrammaticBuyerMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `ProgrammaticBuyer`. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `ProgrammaticBuyer`. + * Format: + * `networks/{network_code}/programmaticBuyers/{buyer_account_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The buyer account ID of the buyer. + * + * Generated from protobuf field optional int64 buyer_account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getBuyerAccountId() + { + return isset($this->buyer_account_id) ? $this->buyer_account_id : 0; + } + + public function hasBuyerAccountId() + { + return isset($this->buyer_account_id); + } + + public function clearBuyerAccountId() + { + unset($this->buyer_account_id); + } + + /** + * Output only. The buyer account ID of the buyer. + * + * Generated from protobuf field optional int64 buyer_account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setBuyerAccountId($var) + { + GPBUtil::checkInt64($var); + $this->buyer_account_id = $var; + + return $this; + } + + /** + * Output only. The display name of the buyer. + * + * Generated from protobuf field optional string display_name = 5 [(.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 buyer. + * + * Generated from protobuf field optional string display_name = 5 [(.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. The ID of the programmatic buyer's sponsor. If the buyer has + * no sponsor, this field will be -1. + * + * Generated from protobuf field optional int64 parent_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getParentAccountId() + { + return isset($this->parent_account_id) ? $this->parent_account_id : 0; + } + + public function hasParentAccountId() + { + return isset($this->parent_account_id); + } + + public function clearParentAccountId() + { + unset($this->parent_account_id); + } + + /** + * Output only. The ID of the programmatic buyer's sponsor. If the buyer has + * no sponsor, this field will be -1. + * + * Generated from protobuf field optional int64 parent_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setParentAccountId($var) + { + GPBUtil::checkInt64($var); + $this->parent_account_id = $var; + + return $this; + } + + /** + * Output only. ID of the Display & Video 360 client buyer partner ID (if + * Display & Video 360) or Authorized Buyers client buyer account ID. + * + * Generated from protobuf field optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPartnerClientId() + { + return isset($this->partner_client_id) ? $this->partner_client_id : ''; + } + + public function hasPartnerClientId() + { + return isset($this->partner_client_id); + } + + public function clearPartnerClientId() + { + unset($this->partner_client_id); + } + + /** + * Output only. ID of the Display & Video 360 client buyer partner ID (if + * Display & Video 360) or Authorized Buyers client buyer account ID. + * + * Generated from protobuf field optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPartnerClientId($var) + { + GPBUtil::checkString($var, True); + $this->partner_client_id = $var; + + return $this; + } + + /** + * Output only. Whether the buyer is an advertising agency. + * + * Generated from protobuf field optional bool agency = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getAgency() + { + return isset($this->agency) ? $this->agency : false; + } + + public function hasAgency() + { + return isset($this->agency); + } + + public function clearAgency() + { + unset($this->agency); + } + + /** + * Output only. Whether the buyer is an advertising agency. + * + * Generated from protobuf field optional bool agency = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setAgency($var) + { + GPBUtil::checkBool($var); + $this->agency = $var; + + return $this; + } + + /** + * Output only. Whether the buyer is enabled for preferred deals. + * + * Generated from protobuf field optional bool preferred_deals_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getPreferredDealsEnabled() + { + return isset($this->preferred_deals_enabled) ? $this->preferred_deals_enabled : false; + } + + public function hasPreferredDealsEnabled() + { + return isset($this->preferred_deals_enabled); + } + + public function clearPreferredDealsEnabled() + { + unset($this->preferred_deals_enabled); + } + + /** + * Output only. Whether the buyer is enabled for preferred deals. + * + * Generated from protobuf field optional bool preferred_deals_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setPreferredDealsEnabled($var) + { + GPBUtil::checkBool($var); + $this->preferred_deals_enabled = $var; + + return $this; + } + + /** + * Output only. Whether the buyer is enabled for programmatic guaranteed + * deals. + * + * Generated from protobuf field optional bool programmatic_guaranteed_enabled = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getProgrammaticGuaranteedEnabled() + { + return isset($this->programmatic_guaranteed_enabled) ? $this->programmatic_guaranteed_enabled : false; + } + + public function hasProgrammaticGuaranteedEnabled() + { + return isset($this->programmatic_guaranteed_enabled); + } + + public function clearProgrammaticGuaranteedEnabled() + { + unset($this->programmatic_guaranteed_enabled); + } + + /** + * Output only. Whether the buyer is enabled for programmatic guaranteed + * deals. + * + * Generated from protobuf field optional bool programmatic_guaranteed_enabled = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setProgrammaticGuaranteedEnabled($var) + { + GPBUtil::checkBool($var); + $this->programmatic_guaranteed_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum.php new file mode 100644 index 000000000000..c3547c69c058 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ReachPartnerEnum + */ +class ReachPartnerEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReachPartnerEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum/ReachPartner.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum/ReachPartner.php new file mode 100644 index 000000000000..47e1cfa786d1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReachPartnerEnum/ReachPartner.php @@ -0,0 +1,110 @@ +google.ads.admanager.v1.ReachPartnerEnum.ReachPartner + */ +class ReachPartner +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum REACH_PARTNER_UNSPECIFIED = 0; + */ + const REACH_PARTNER_UNSPECIFIED = 0; + /** + * Indicates third-party reach integration partner Audience Project + * + * Generated from protobuf enum AUDIENCE_PROJECT = 1; + */ + const AUDIENCE_PROJECT = 1; + /** + * Indicates third-party reach integration partner Comscore. + * + * Generated from protobuf enum COMSCORE = 2; + */ + const COMSCORE = 2; + /** + * Indicates third-party reach integration partner Gemius. + * + * Generated from protobuf enum GEMIUS = 3; + */ + const GEMIUS = 3; + /** + * Indicates third-party reach integration partner iSpot.TV + * + * Generated from protobuf enum ISPOT_TV = 5; + */ + const ISPOT_TV = 5; + /** + * Indicates third-party reach integration partner Kantar. + * + * Generated from protobuf enum KANTAR_MILLWARD_BROWN = 6; + */ + const KANTAR_MILLWARD_BROWN = 6; + /** + * Indicates third-party reach integration partner Nielsen. + * + * Generated from protobuf enum NIELSEN = 7; + */ + const NIELSEN = 7; + /** + * Indicates there's no third-party reach integration partner. + * + * Generated from protobuf enum NONE = 8; + */ + const NONE = 8; + /** + * Indicates third-party reach integration partner VideoAmp + * + * Generated from protobuf enum VIDEO_AMP = 9; + */ + const VIDEO_AMP = 9; + /** + * Indicates third-party reach integration partner Video Research. + * + * Generated from protobuf enum VIDEO_RESEARCH = 10; + */ + const VIDEO_RESEARCH = 10; + + private static $valueToName = [ + self::REACH_PARTNER_UNSPECIFIED => 'REACH_PARTNER_UNSPECIFIED', + self::AUDIENCE_PROJECT => 'AUDIENCE_PROJECT', + self::COMSCORE => 'COMSCORE', + self::GEMIUS => 'GEMIUS', + self::ISPOT_TV => 'ISPOT_TV', + self::KANTAR_MILLWARD_BROWN => 'KANTAR_MILLWARD_BROWN', + self::NIELSEN => 'NIELSEN', + self::NONE => 'NONE', + self::VIDEO_AMP => 'VIDEO_AMP', + self::VIDEO_RESEARCH => 'VIDEO_RESEARCH', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report.php new file mode 100644 index 000000000000..f03ff0c8ce64 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report.php @@ -0,0 +1,391 @@ +google.ads.admanager.v1.Report + */ +class Report extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the report. + * Report resource name have the form: + * `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Report ID. + * + * Generated from protobuf field int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $report_id = 0; + /** + * Optional. The visibility of a report. + * + * Generated from protobuf field .google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $visibility = 0; + /** + * Required. The report definition of the report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report_definition = null; + /** + * Optional. Display name for the report. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = ''; + /** + * Output only. The instant this report was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. The instant this report was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. The locale of this report. Locale is set from the user's + * locale at the time of the request. Locale can't be modified. + * + * Generated from protobuf field string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $locale = ''; + /** + * Optional. The schedule options of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $schedule_options = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the report. + * Report resource name have the form: + * `networks/{network_code}/reports/{report_id}` + * @type int|string $report_id + * Output only. Report ID. + * @type int $visibility + * Optional. The visibility of a report. + * @type \Google\Ads\AdManager\V1\ReportDefinition $report_definition + * Required. The report definition of the report. + * @type string $display_name + * Optional. Display name for the report. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The instant this report was last modified. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The instant this report was created. + * @type string $locale + * Output only. The locale of this report. Locale is set from the user's + * locale at the time of the request. Locale can't be modified. + * @type \Google\Ads\AdManager\V1\ScheduleOptions $schedule_options + * Optional. The schedule options of this report. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the report. + * Report resource name have the form: + * `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the report. + * Report resource name have the form: + * `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Report ID. + * + * Generated from protobuf field int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getReportId() + { + return $this->report_id; + } + + /** + * Output only. Report ID. + * + * Generated from protobuf field int64 report_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setReportId($var) + { + GPBUtil::checkInt64($var); + $this->report_id = $var; + + return $this; + } + + /** + * Optional. The visibility of a report. + * + * Generated from protobuf field .google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVisibility() + { + return $this->visibility; + } + + /** + * Optional. The visibility of a report. + * + * Generated from protobuf field .google.ads.admanager.v1.Report.Visibility visibility = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVisibility($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\Report\Visibility::class); + $this->visibility = $var; + + return $this; + } + + /** + * Required. The report definition of the report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\ReportDefinition|null + */ + public function getReportDefinition() + { + return $this->report_definition; + } + + public function hasReportDefinition() + { + return isset($this->report_definition); + } + + public function clearReportDefinition() + { + unset($this->report_definition); + } + + /** + * Required. The report definition of the report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition report_definition = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition $var + * @return $this + */ + public function setReportDefinition($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition::class); + $this->report_definition = $var; + + return $this; + } + + /** + * Optional. Display name for the report. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. Display name for the report. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The instant this report was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The instant this report was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Output only. The instant this report was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The instant this report was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Output only. The locale of this report. Locale is set from the user's + * locale at the time of the request. Locale can't be modified. + * + * Generated from protobuf field string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getLocale() + { + return $this->locale; + } + + /** + * Output only. The locale of this report. Locale is set from the user's + * locale at the time of the request. Locale can't be modified. + * + * Generated from protobuf field string locale = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setLocale($var) + { + GPBUtil::checkString($var, True); + $this->locale = $var; + + return $this; + } + + /** + * Optional. The schedule options of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ScheduleOptions|null + */ + public function getScheduleOptions() + { + return $this->schedule_options; + } + + public function hasScheduleOptions() + { + return isset($this->schedule_options); + } + + public function clearScheduleOptions() + { + unset($this->schedule_options); + } + + /** + * Optional. The schedule options of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions schedule_options = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ScheduleOptions $var + * @return $this + */ + public function setScheduleOptions($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ScheduleOptions::class); + $this->schedule_options = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report/Visibility.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report/Visibility.php new file mode 100644 index 000000000000..8afbbd6c43c6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Report/Visibility.php @@ -0,0 +1,73 @@ +google.ads.admanager.v1.Report.Visibility + */ +class Visibility +{ + /** + * Default value. Reports with hidden visibility won't appear in the Ad + * Manager UI. + * + * Generated from protobuf enum HIDDEN = 0; + */ + const HIDDEN = 0; + /** + * Reports with draft visibility will appear in the Ad Manager UI only if + * the user has configured the UI to show them. + * + * Generated from protobuf enum DRAFT = 1; + */ + const DRAFT = 1; + /** + * Reports with this visibility will appear in the Ad Manager UI. + * + * Generated from protobuf enum VISIBLE = 2; + */ + const VISIBLE = 2; + /** + * Deprecated: Use `VISIBLE`. + * Reports with saved visibility will appear in the Ad Manager UI by + * default. This is an alias for `VISIBLE` and will be removed in the + * future. + * + * Generated from protobuf enum SAVED = 2 [deprecated = true]; + */ + const SAVED = 2; + + private static $valueToName = [ + self::HIDDEN => 'HIDDEN', + self::DRAFT => 'DRAFT', + self::VISIBLE => 'VISIBLE', + self::SAVED => 'SAVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable.php new file mode 100644 index 000000000000..773c94747752 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.ReportDataTable + */ +class ReportDataTable extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportMessages::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/MetricValueGroup.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/MetricValueGroup.php new file mode 100644 index 000000000000..c4311ce76283 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/MetricValueGroup.php @@ -0,0 +1,286 @@ +google.ads.admanager.v1.ReportDataTable.MetricValueGroup + */ +class MetricValueGroup extends \Google\Protobuf\Internal\Message +{ + /** + * Data for the PRIMARY MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_values = 1; + */ + private $primary_values; + /** + * Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2; + */ + private $primary_percent_of_total_values; + /** + * Data for the COMPARISON MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_values = 3; + */ + private $comparison_values; + /** + * Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4; + */ + private $comparison_percent_of_total_values; + /** + * Data for the ABSOLUTE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5; + */ + private $absolute_change_values; + /** + * Data for the RELATIVE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6; + */ + private $relative_change_values; + /** + * If true, the flag's conditions are met. If false, the flag's + * conditions are not met. flag_values has the same length as + * flags and index i of flag_values represents the flag at index i + * of flags. + * + * Generated from protobuf field repeated bool flag_values = 7; + */ + private $flag_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportValue[] $primary_values + * Data for the PRIMARY MetricValueType. + * @type \Google\Ads\AdManager\V1\ReportValue[] $primary_percent_of_total_values + * Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType. + * @type \Google\Ads\AdManager\V1\ReportValue[] $comparison_values + * Data for the COMPARISON MetricValueType. + * @type \Google\Ads\AdManager\V1\ReportValue[] $comparison_percent_of_total_values + * Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType. + * @type \Google\Ads\AdManager\V1\ReportValue[] $absolute_change_values + * Data for the ABSOLUTE_CHANGE MetricValueType. + * @type \Google\Ads\AdManager\V1\ReportValue[] $relative_change_values + * Data for the RELATIVE_CHANGE MetricValueType. + * @type bool[] $flag_values + * If true, the flag's conditions are met. If false, the flag's + * conditions are not met. flag_values has the same length as + * flags and index i of flag_values represents the flag at index i + * of flags. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportMessages::initOnce(); + parent::__construct($data); + } + + /** + * Data for the PRIMARY MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getPrimaryValues() + { + return $this->primary_values; + } + + /** + * Data for the PRIMARY MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_values = 1; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setPrimaryValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->primary_values = $arr; + + return $this; + } + + /** + * Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getPrimaryPercentOfTotalValues() + { + return $this->primary_percent_of_total_values; + } + + /** + * Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setPrimaryPercentOfTotalValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->primary_percent_of_total_values = $arr; + + return $this; + } + + /** + * Data for the COMPARISON MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_values = 3; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getComparisonValues() + { + return $this->comparison_values; + } + + /** + * Data for the COMPARISON MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_values = 3; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setComparisonValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->comparison_values = $arr; + + return $this; + } + + /** + * Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getComparisonPercentOfTotalValues() + { + return $this->comparison_percent_of_total_values; + } + + /** + * Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setComparisonPercentOfTotalValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->comparison_percent_of_total_values = $arr; + + return $this; + } + + /** + * Data for the ABSOLUTE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getAbsoluteChangeValues() + { + return $this->absolute_change_values; + } + + /** + * Data for the ABSOLUTE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setAbsoluteChangeValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->absolute_change_values = $arr; + + return $this; + } + + /** + * Data for the RELATIVE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getRelativeChangeValues() + { + return $this->relative_change_values; + } + + /** + * Data for the RELATIVE_CHANGE MetricValueType. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setRelativeChangeValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->relative_change_values = $arr; + + return $this; + } + + /** + * If true, the flag's conditions are met. If false, the flag's + * conditions are not met. flag_values has the same length as + * flags and index i of flag_values represents the flag at index i + * of flags. + * + * Generated from protobuf field repeated bool flag_values = 7; + * @return RepeatedField + */ + public function getFlagValues() + { + return $this->flag_values; + } + + /** + * If true, the flag's conditions are met. If false, the flag's + * conditions are not met. flag_values has the same length as + * flags and index i of flag_values represents the flag at index i + * of flags. + * + * Generated from protobuf field repeated bool flag_values = 7; + * @param bool[] $var + * @return $this + */ + public function setFlagValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL); + $this->flag_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/Row.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/Row.php new file mode 100644 index 000000000000..4d0d4b9cf2e8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDataTable/Row.php @@ -0,0 +1,133 @@ +google.ads.admanager.v1.ReportDataTable.Row + */ +class Row extends \Google\Protobuf\Internal\Message +{ + /** + * The order of the dimension values is the same as the order of the + * dimensions specified in the request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue dimension_values = 1; + */ + private $dimension_values; + /** + * The length of the metric_value_groups + * field will be equal to the length of the date_ranges field in the + * fetch response. The metric_value_groups field is + * ordered such that each index corresponds to the date_range at the same + * index. For example, given date_ranges [x, y], metric_value_groups will + * have a length of two. The first entry in metric_value_groups represents + * the metrics for date x and the second entry in metric_value_groups + * represents the metrics for date y. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2; + */ + private $metric_value_groups; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportValue[] $dimension_values + * The order of the dimension values is the same as the order of the + * dimensions specified in the request. + * @type \Google\Ads\AdManager\V1\ReportDataTable\MetricValueGroup[] $metric_value_groups + * The length of the metric_value_groups + * field will be equal to the length of the date_ranges field in the + * fetch response. The metric_value_groups field is + * ordered such that each index corresponds to the date_range at the same + * index. For example, given date_ranges [x, y], metric_value_groups will + * have a length of two. The first entry in metric_value_groups represents + * the metrics for date x and the second entry in metric_value_groups + * represents the metrics for date y. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportMessages::initOnce(); + parent::__construct($data); + } + + /** + * The order of the dimension values is the same as the order of the + * dimensions specified in the request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue dimension_values = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getDimensionValues() + { + return $this->dimension_values; + } + + /** + * The order of the dimension values is the same as the order of the + * dimensions specified in the request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue dimension_values = 1; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->dimension_values = $arr; + + return $this; + } + + /** + * The length of the metric_value_groups + * field will be equal to the length of the date_ranges field in the + * fetch response. The metric_value_groups field is + * ordered such that each index corresponds to the date_range at the same + * index. For example, given date_ranges [x, y], metric_value_groups will + * have a length of two. The first entry in metric_value_groups represents + * the metrics for date x and the second entry in metric_value_groups + * represents the metrics for date y. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDataTable\MetricValueGroup> + */ + public function getMetricValueGroups() + { + return $this->metric_value_groups; + } + + /** + * The length of the metric_value_groups + * field will be equal to the length of the date_ranges field in the + * fetch response. The metric_value_groups field is + * ordered such that each index corresponds to the date_range at the same + * index. For example, given date_ranges [x, y], metric_value_groups will + * have a length of two. The first entry in metric_value_groups represents + * the metrics for date x and the second entry in metric_value_groups + * represents the metrics for date y. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2; + * @param \Google\Ads\AdManager\V1\ReportDataTable\MetricValueGroup[] $var + * @return $this + */ + public function setMetricValueGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDataTable\MetricValueGroup::class); + $this->metric_value_groups = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition.php new file mode 100644 index 000000000000..f95a65710076 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition.php @@ -0,0 +1,867 @@ +google.ads.admanager.v1.ReportDefinition + */ +class ReportDefinition extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The list of dimensions to report on. If empty, the report will + * have no dimensions, and any metrics will be totals. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Dimension dimensions = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * Required. The list of metrics to report on. If empty, the report will have + * no metrics. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Metric metrics = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $metrics; + /** + * Optional. The filters for this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $filters; + /** + * Optional. Where to get the time zone for this report. Defaults to using the + * network time zone setting (PUBLISHER). If source is PROVIDED, the time_zone + * field in the report definition must also set a time zone. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimeZoneSource time_zone_source = 20 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_zone_source = 0; + /** + * Optional. If time_zone_source is PROVIDED, this is the time zone to use for + * this report. Leave empty for any other time zone source. Time zone in IANA + * format. For example, "America/New_York". + * + * Generated from protobuf field string time_zone = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_zone = ''; + /** + * Optional. The ISO 4217 currency code for this report. Defaults to publisher + * currency code if not specified. + * + * Generated from protobuf field string currency_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $currency_code = ''; + /** + * Required. The primary date range of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange date_range = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $date_range = null; + /** + * Optional. The comparison date range of this report. If unspecified, the + * report won't have any comparison metrics. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.DateRange comparison_date_range = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $comparison_date_range = null; + /** + * Optional. CMS Metadata Dimension keys that represent + * CMS_METADATA_DIMENSION_* dimensions. The index of this repeated field + * corresponds to the index on each dimension. For example, + * cms_metadata_dimension_key_ids[0] describes + * CMS_METADATA_DIMENSION_0_VALUE_ID and CMS_METADATA_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 cms_metadata_dimension_key_ids = 19 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $cms_metadata_dimension_key_ids; + /** + * Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, custom_dimension_key_ids[0] describes + * CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 custom_dimension_key_ids = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_dimension_key_ids; + /** + * Optional. Enhanced Key-values Dimension keys that represent EKV_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, ekv_dimension_key_ids[0] describes + * EKV_DIMENSION_0_VALUE_ID and EKV_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 ekv_dimension_key_ids = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $ekv_dimension_key_ids; + /** + * Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, line_item_custom_field_ids[0] describes + * LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 line_item_custom_field_ids = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $line_item_custom_field_ids; + /** + * Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, order_custom_field_ids[0] describes + * ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 order_custom_field_ids = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $order_custom_field_ids; + /** + * Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, creative_custom_field_ids[0] describes + * CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 creative_custom_field_ids = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $creative_custom_field_ids; + /** + * Required. The type of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.ReportType report_type = 8 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report_type = 0; + /** + * Optional. Include a time period column to introduce comparison columns in + * the report for each generated period. For example, set to "QUARTERS" here + * to have a column for each quarter present in the primary date range. If + * "PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter + * column will also include comparison values for its relative previous + * quarter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimePeriodColumn time_period_column = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_period_column = 0; + /** + * Optional. List of flags for this report. Used to flag rows in a result set + * based on a set of defined filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $flags; + /** + * Optional. Default sorts to apply to this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Sort sorts = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $sorts; + /** + * Optional. Whether to use expanded compatibility for this report. + * If true, this setting enables certain combinations of dimensions and + * metrics for this report that would otherwise be incompatible. Enabling this + * will collapse reservation data into a single row even if the report's + * dimensions would normally result in multiple rows for reservation data. + * This impacts dimensions related to line items, orders, creatives, and + * advertisers. + * This is equivalent to the "Access more dimension and metric combinations" + * setting in the Interactive Reports UI. For more details, see: + * https://support.google.com/admanager/answer/16865393#combinations + * + * Generated from protobuf field bool expanded_compatibility = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $expanded_compatibility = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[] $dimensions + * Required. The list of dimensions to report on. If empty, the report will + * have no dimensions, and any metrics will be totals. + * @type int[] $metrics + * Required. The list of metrics to report on. If empty, the report will have + * no metrics. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $filters + * Optional. The filters for this report. + * @type int $time_zone_source + * Optional. Where to get the time zone for this report. Defaults to using the + * network time zone setting (PUBLISHER). If source is PROVIDED, the time_zone + * field in the report definition must also set a time zone. + * @type string $time_zone + * Optional. If time_zone_source is PROVIDED, this is the time zone to use for + * this report. Leave empty for any other time zone source. Time zone in IANA + * format. For example, "America/New_York". + * @type string $currency_code + * Optional. The ISO 4217 currency code for this report. Defaults to publisher + * currency code if not specified. + * @type \Google\Ads\AdManager\V1\ReportDefinition\DateRange $date_range + * Required. The primary date range of this report. + * @type \Google\Ads\AdManager\V1\ReportDefinition\DateRange $comparison_date_range + * Optional. The comparison date range of this report. If unspecified, the + * report won't have any comparison metrics. + * @type int[]|string[] $cms_metadata_dimension_key_ids + * Optional. CMS Metadata Dimension keys that represent + * CMS_METADATA_DIMENSION_* dimensions. The index of this repeated field + * corresponds to the index on each dimension. For example, + * cms_metadata_dimension_key_ids[0] describes + * CMS_METADATA_DIMENSION_0_VALUE_ID and CMS_METADATA_DIMENSION_0_VALUE. + * @type int[]|string[] $custom_dimension_key_ids + * Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, custom_dimension_key_ids[0] describes + * CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE. + * @type int[]|string[] $ekv_dimension_key_ids + * Optional. Enhanced Key-values Dimension keys that represent EKV_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, ekv_dimension_key_ids[0] describes + * EKV_DIMENSION_0_VALUE_ID and EKV_DIMENSION_0_VALUE. + * @type int[]|string[] $line_item_custom_field_ids + * Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, line_item_custom_field_ids[0] describes + * LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE. + * @type int[]|string[] $order_custom_field_ids + * Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, order_custom_field_ids[0] describes + * ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE. + * @type int[]|string[] $creative_custom_field_ids + * Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, creative_custom_field_ids[0] describes + * CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE. + * @type int $report_type + * Required. The type of this report. + * @type int $time_period_column + * Optional. Include a time period column to introduce comparison columns in + * the report for each generated period. For example, set to "QUARTERS" here + * to have a column for each quarter present in the primary date range. If + * "PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter + * column will also include comparison values for its relative previous + * quarter. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Flag[] $flags + * Optional. List of flags for this report. Used to flag rows in a result set + * based on a set of defined filters. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Sort[] $sorts + * Optional. Default sorts to apply to this report. + * @type bool $expanded_compatibility + * Optional. Whether to use expanded compatibility for this report. + * If true, this setting enables certain combinations of dimensions and + * metrics for this report that would otherwise be incompatible. Enabling this + * will collapse reservation data into a single row even if the report's + * dimensions would normally result in multiple rows for reservation data. + * This impacts dimensions related to line items, orders, creatives, and + * advertisers. + * This is equivalent to the "Access more dimension and metric combinations" + * setting in the Interactive Reports UI. For more details, see: + * https://support.google.com/admanager/answer/16865393#combinations + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. The list of dimensions to report on. If empty, the report will + * have no dimensions, and any metrics will be totals. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Dimension dimensions = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + + /** + * Required. The list of dimensions to report on. If empty, the report will + * have no dimensions, and any metrics will be totals. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Dimension dimensions = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int[] $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\ReportDefinition\Dimension::class); + $this->dimensions = $arr; + + return $this; + } + + /** + * Required. The list of metrics to report on. If empty, the report will have + * no metrics. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Metric metrics = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getMetrics() + { + return $this->metrics; + } + + /** + * Required. The list of metrics to report on. If empty, the report will have + * no metrics. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Metric metrics = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int[] $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\ReportDefinition\Metric::class); + $this->metrics = $arr; + + return $this; + } + + /** + * Optional. The filters for this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Filter> + */ + public function getFilters() + { + return $this->filters; + } + + /** + * Optional. The filters for this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $var + * @return $this + */ + public function setFilters($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Filter::class); + $this->filters = $arr; + + return $this; + } + + /** + * Optional. Where to get the time zone for this report. Defaults to using the + * network time zone setting (PUBLISHER). If source is PROVIDED, the time_zone + * field in the report definition must also set a time zone. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimeZoneSource time_zone_source = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTimeZoneSource() + { + return $this->time_zone_source; + } + + /** + * Optional. Where to get the time zone for this report. Defaults to using the + * network time zone setting (PUBLISHER). If source is PROVIDED, the time_zone + * field in the report definition must also set a time zone. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimeZoneSource time_zone_source = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTimeZoneSource($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\TimeZoneSource::class); + $this->time_zone_source = $var; + + return $this; + } + + /** + * Optional. If time_zone_source is PROVIDED, this is the time zone to use for + * this report. Leave empty for any other time zone source. Time zone in IANA + * format. For example, "America/New_York". + * + * Generated from protobuf field string time_zone = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTimeZone() + { + return $this->time_zone; + } + + /** + * Optional. If time_zone_source is PROVIDED, this is the time zone to use for + * this report. Leave empty for any other time zone source. Time zone in IANA + * format. For example, "America/New_York". + * + * Generated from protobuf field string time_zone = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + + return $this; + } + + /** + * Optional. The ISO 4217 currency code for this report. Defaults to publisher + * currency code if not specified. + * + * Generated from protobuf field string currency_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + + /** + * Optional. The ISO 4217 currency code for this report. Defaults to publisher + * currency code if not specified. + * + * Generated from protobuf field string currency_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + + /** + * Required. The primary date range of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange date_range = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\DateRange|null + */ + public function getDateRange() + { + return $this->date_range; + } + + public function hasDateRange() + { + return isset($this->date_range); + } + + public function clearDateRange() + { + unset($this->date_range); + } + + /** + * Required. The primary date range of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange date_range = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\DateRange $var + * @return $this + */ + public function setDateRange($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\DateRange::class); + $this->date_range = $var; + + return $this; + } + + /** + * Optional. The comparison date range of this report. If unspecified, the + * report won't have any comparison metrics. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.DateRange comparison_date_range = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\DateRange|null + */ + public function getComparisonDateRange() + { + return $this->comparison_date_range; + } + + public function hasComparisonDateRange() + { + return isset($this->comparison_date_range); + } + + public function clearComparisonDateRange() + { + unset($this->comparison_date_range); + } + + /** + * Optional. The comparison date range of this report. If unspecified, the + * report won't have any comparison metrics. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.DateRange comparison_date_range = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\DateRange $var + * @return $this + */ + public function setComparisonDateRange($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\DateRange::class); + $this->comparison_date_range = $var; + + return $this; + } + + /** + * Optional. CMS Metadata Dimension keys that represent + * CMS_METADATA_DIMENSION_* dimensions. The index of this repeated field + * corresponds to the index on each dimension. For example, + * cms_metadata_dimension_key_ids[0] describes + * CMS_METADATA_DIMENSION_0_VALUE_ID and CMS_METADATA_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 cms_metadata_dimension_key_ids = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getCmsMetadataDimensionKeyIds() + { + return $this->cms_metadata_dimension_key_ids; + } + + /** + * Optional. CMS Metadata Dimension keys that represent + * CMS_METADATA_DIMENSION_* dimensions. The index of this repeated field + * corresponds to the index on each dimension. For example, + * cms_metadata_dimension_key_ids[0] describes + * CMS_METADATA_DIMENSION_0_VALUE_ID and CMS_METADATA_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 cms_metadata_dimension_key_ids = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setCmsMetadataDimensionKeyIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->cms_metadata_dimension_key_ids = $arr; + + return $this; + } + + /** + * Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, custom_dimension_key_ids[0] describes + * CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 custom_dimension_key_ids = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getCustomDimensionKeyIds() + { + return $this->custom_dimension_key_ids; + } + + /** + * Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, custom_dimension_key_ids[0] describes + * CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 custom_dimension_key_ids = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setCustomDimensionKeyIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->custom_dimension_key_ids = $arr; + + return $this; + } + + /** + * Optional. Enhanced Key-values Dimension keys that represent EKV_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, ekv_dimension_key_ids[0] describes + * EKV_DIMENSION_0_VALUE_ID and EKV_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 ekv_dimension_key_ids = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getEkvDimensionKeyIds() + { + return $this->ekv_dimension_key_ids; + } + + /** + * Optional. Enhanced Key-values Dimension keys that represent EKV_DIMENSION_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, ekv_dimension_key_ids[0] describes + * EKV_DIMENSION_0_VALUE_ID and EKV_DIMENSION_0_VALUE. + * + * Generated from protobuf field repeated int64 ekv_dimension_key_ids = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setEkvDimensionKeyIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->ekv_dimension_key_ids = $arr; + + return $this; + } + + /** + * Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, line_item_custom_field_ids[0] describes + * LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 line_item_custom_field_ids = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getLineItemCustomFieldIds() + { + return $this->line_item_custom_field_ids; + } + + /** + * Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, line_item_custom_field_ids[0] describes + * LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 line_item_custom_field_ids = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setLineItemCustomFieldIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->line_item_custom_field_ids = $arr; + + return $this; + } + + /** + * Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, order_custom_field_ids[0] describes + * ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 order_custom_field_ids = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getOrderCustomFieldIds() + { + return $this->order_custom_field_ids; + } + + /** + * Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, order_custom_field_ids[0] describes + * ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 order_custom_field_ids = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setOrderCustomFieldIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->order_custom_field_ids = $arr; + + return $this; + } + + /** + * Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, creative_custom_field_ids[0] describes + * CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 creative_custom_field_ids = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getCreativeCustomFieldIds() + { + return $this->creative_custom_field_ids; + } + + /** + * Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_* + * dimensions. The index of this repeated field corresponds to the index on + * each dimension. For example, creative_custom_field_ids[0] describes + * CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE. + * + * Generated from protobuf field repeated int64 creative_custom_field_ids = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setCreativeCustomFieldIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->creative_custom_field_ids = $arr; + + return $this; + } + + /** + * Required. The type of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.ReportType report_type = 8 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getReportType() + { + return $this->report_type; + } + + /** + * Required. The type of this report. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.ReportType report_type = 8 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setReportType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\ReportType::class); + $this->report_type = $var; + + return $this; + } + + /** + * Optional. Include a time period column to introduce comparison columns in + * the report for each generated period. For example, set to "QUARTERS" here + * to have a column for each quarter present in the primary date range. If + * "PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter + * column will also include comparison values for its relative previous + * quarter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimePeriodColumn time_period_column = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTimePeriodColumn() + { + return $this->time_period_column; + } + + /** + * Optional. Include a time period column to introduce comparison columns in + * the report for each generated period. For example, set to "QUARTERS" here + * to have a column for each quarter present in the primary date range. If + * "PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter + * column will also include comparison values for its relative previous + * quarter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.TimePeriodColumn time_period_column = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTimePeriodColumn($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\TimePeriodColumn::class); + $this->time_period_column = $var; + + return $this; + } + + /** + * Optional. List of flags for this report. Used to flag rows in a result set + * based on a set of defined filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Flag> + */ + public function getFlags() + { + return $this->flags; + } + + /** + * Optional. List of flags for this report. Used to flag rows in a result set + * based on a set of defined filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Flag[] $var + * @return $this + */ + public function setFlags($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Flag::class); + $this->flags = $arr; + + return $this; + } + + /** + * Optional. Default sorts to apply to this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Sort sorts = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Sort> + */ + public function getSorts() + { + return $this->sorts; + } + + /** + * Optional. Default sorts to apply to this report. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Sort sorts = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Sort[] $var + * @return $this + */ + public function setSorts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Sort::class); + $this->sorts = $arr; + + return $this; + } + + /** + * Optional. Whether to use expanded compatibility for this report. + * If true, this setting enables certain combinations of dimensions and + * metrics for this report that would otherwise be incompatible. Enabling this + * will collapse reservation data into a single row even if the report's + * dimensions would normally result in multiple rows for reservation data. + * This impacts dimensions related to line items, orders, creatives, and + * advertisers. + * This is equivalent to the "Access more dimension and metric combinations" + * setting in the Interactive Reports UI. For more details, see: + * https://support.google.com/admanager/answer/16865393#combinations + * + * Generated from protobuf field bool expanded_compatibility = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getExpandedCompatibility() + { + return $this->expanded_compatibility; + } + + /** + * Optional. Whether to use expanded compatibility for this report. + * If true, this setting enables certain combinations of dimensions and + * metrics for this report that would otherwise be incompatible. Enabling this + * will collapse reservation data into a single row even if the report's + * dimensions would normally result in multiple rows for reservation data. + * This impacts dimensions related to line items, orders, creatives, and + * advertisers. + * This is equivalent to the "Access more dimension and metric combinations" + * setting in the Interactive Reports UI. For more details, see: + * https://support.google.com/admanager/answer/16865393#combinations + * + * Generated from protobuf field bool expanded_compatibility = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setExpandedCompatibility($var) + { + GPBUtil::checkBool($var); + $this->expanded_compatibility = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange.php new file mode 100644 index 000000000000..0748bb869317 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange.php @@ -0,0 +1,108 @@ +google.ads.admanager.v1.ReportDefinition.DateRange + */ +class DateRange extends \Google\Protobuf\Internal\Message +{ + protected $date_range_type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange $fixed + * A fixed date range. + * @type int $relative + * A relative date range. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * A fixed date range. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange fixed = 1; + * @return \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange|null + */ + public function getFixed() + { + return $this->readOneof(1); + } + + public function hasFixed() + { + return $this->hasOneof(1); + } + + /** + * A fixed date range. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange fixed = 1; + * @param \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange $var + * @return $this + */ + public function setFixed($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\DateRange\FixedDateRange::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A relative date range. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange relative = 2; + * @return int + */ + public function getRelative() + { + return $this->readOneof(2); + } + + public function hasRelative() + { + return $this->hasOneof(2); + } + + /** + * A relative date range. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange relative = 2; + * @param int $var + * @return $this + */ + public function setRelative($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\DateRange\RelativeDateRange::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getDateRangeType() + { + return $this->whichOneof("date_range_type"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/FixedDateRange.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/FixedDateRange.php new file mode 100644 index 000000000000..fef0194db259 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/FixedDateRange.php @@ -0,0 +1,121 @@ +google.ads.admanager.v1.ReportDefinition.DateRange.FixedDateRange + */ +class FixedDateRange extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The start date of this date range. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $start_date = null; + /** + * Required. The end date (inclusive) of this date range. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $end_date = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Type\Date $start_date + * Required. The start date of this date range. + * @type \Google\Type\Date $end_date + * Required. The end date (inclusive) of this date range. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. The start date of this date range. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Date|null + */ + public function getStartDate() + { + return $this->start_date; + } + + public function hasStartDate() + { + return isset($this->start_date); + } + + public function clearStartDate() + { + unset($this->start_date); + } + + /** + * Required. The start date of this date range. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setStartDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->start_date = $var; + + return $this; + } + + /** + * Required. The end date (inclusive) of this date range. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Date|null + */ + public function getEndDate() + { + return $this->end_date; + } + + public function hasEndDate() + { + return isset($this->end_date); + } + + public function clearEndDate() + { + unset($this->end_date); + } + + /** + * Required. The end date (inclusive) of this date range. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setEndDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->end_date = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/RelativeDateRange.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/RelativeDateRange.php new file mode 100644 index 000000000000..a96e32fce0ed --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/DateRange/RelativeDateRange.php @@ -0,0 +1,384 @@ +google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange + */ +class RelativeDateRange +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum RELATIVE_DATE_RANGE_UNSPECIFIED = 0; + */ + const RELATIVE_DATE_RANGE_UNSPECIFIED = 0; + /** + * The date the report is run. + * + * Generated from protobuf enum TODAY = 1; + */ + const TODAY = 1; + /** + * The date a day before the date that the report is run. + * + * Generated from protobuf enum YESTERDAY = 2; + */ + const YESTERDAY = 2; + /** + * The full week in which this report is run. Could include dates in + * the future. + * + * Generated from protobuf enum THIS_WEEK = 3; + */ + const THIS_WEEK = 3; + /** + * From the beginning of the calendar week in which the + * up to and including the day the report is run. + * + * Generated from protobuf enum THIS_WEEK_TO_DATE = 29; + */ + const THIS_WEEK_TO_DATE = 29; + /** + * From the beginning of the calendar week in which the + * report is run, up to and including the day before the report is run. + * + * Generated from protobuf enum THIS_WEEK_TO_YESTERDAY = 40; + */ + const THIS_WEEK_TO_YESTERDAY = 40; + /** + * The full month in which this report is run. Could include dates in + * the future. + * + * Generated from protobuf enum THIS_MONTH = 4; + */ + const THIS_MONTH = 4; + /** + * From the beginning of the calendar month in which the report is run, to + * up to and including the day the report is run. + * + * Generated from protobuf enum THIS_MONTH_TO_DATE = 26; + */ + const THIS_MONTH_TO_DATE = 26; + /** + * From the beginning of the calendar month in which the report is run, + * up to and including the day before the report is run. + * + * Generated from protobuf enum THIS_MONTH_TO_YESTERDAY = 41; + */ + const THIS_MONTH_TO_YESTERDAY = 41; + /** + * The full quarter in which this report is run. Could include dates + * in the future. + * + * Generated from protobuf enum THIS_QUARTER = 5; + */ + const THIS_QUARTER = 5; + /** + * From the beginning of the calendar quarter in which the report is run, + * up to and including the day the report is run. + * + * Generated from protobuf enum THIS_QUARTER_TO_DATE = 27; + */ + const THIS_QUARTER_TO_DATE = 27; + /** + * From the beginning of the calendar quarter in which the report is run, + * up to and including the day before the report is run. + * + * Generated from protobuf enum THIS_QUARTER_TO_YESTERDAY = 42; + */ + const THIS_QUARTER_TO_YESTERDAY = 42; + /** + * The full year in which this report is run. Could include dates in + * the future. + * + * Generated from protobuf enum THIS_YEAR = 6; + */ + const THIS_YEAR = 6; + /** + * From the beginning of the calendar year in which the report is run, to + * up to and including the day the report is run. + * + * Generated from protobuf enum THIS_YEAR_TO_DATE = 28; + */ + const THIS_YEAR_TO_DATE = 28; + /** + * From the beginning of the calendar year in which the report is run, to + * up to and including the day before the report is run. + * + * Generated from protobuf enum THIS_YEAR_TO_YESTERDAY = 43; + */ + const THIS_YEAR_TO_YESTERDAY = 43; + /** + * The entire previous calendar week, Monday to Sunday (inclusive), + * preceding the calendar week the report is run. + * + * Generated from protobuf enum LAST_WEEK = 7; + */ + const LAST_WEEK = 7; + /** + * The entire previous calendar week, Sunday to Saturday (inclusive), + * preceding the calendar week the report is run. + * + * Generated from protobuf enum LAST_WEEK_STARTING_SUNDAY = 39; + */ + const LAST_WEEK_STARTING_SUNDAY = 39; + /** + * The entire previous calendar month preceding the calendar month the + * report is run. + * + * Generated from protobuf enum LAST_MONTH = 8; + */ + const LAST_MONTH = 8; + /** + * The entire previous calendar quarter preceding the calendar quarter the + * report is run. + * + * Generated from protobuf enum LAST_QUARTER = 9; + */ + const LAST_QUARTER = 9; + /** + * The entire previous calendar year preceding the calendar year the + * report is run. + * + * Generated from protobuf enum LAST_YEAR = 10; + */ + const LAST_YEAR = 10; + /** + * The 7 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_7_DAYS = 11; + */ + const LAST_7_DAYS = 11; + /** + * The 30 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_30_DAYS = 12; + */ + const LAST_30_DAYS = 12; + /** + * The 60 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_60_DAYS = 13; + */ + const LAST_60_DAYS = 13; + /** + * The 90 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_90_DAYS = 14; + */ + const LAST_90_DAYS = 14; + /** + * The 93 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_93_DAYS = 38; + */ + const LAST_93_DAYS = 38; + /** + * The 180 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_180_DAYS = 15; + */ + const LAST_180_DAYS = 15; + /** + * The 360 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_360_DAYS = 16; + */ + const LAST_360_DAYS = 16; + /** + * The 365 days preceding the day the report is run. + * + * Generated from protobuf enum LAST_365_DAYS = 17; + */ + const LAST_365_DAYS = 17; + /** + * The entire previous 3 calendar months preceding the calendar month the + * report is run. + * + * Generated from protobuf enum LAST_3_MONTHS = 18; + */ + const LAST_3_MONTHS = 18; + /** + * The entire previous 6 calendar months preceding the calendar month the + * report is run. + * + * Generated from protobuf enum LAST_6_MONTHS = 19; + */ + const LAST_6_MONTHS = 19; + /** + * The entire previous 6 calendar months preceding the calendar month the + * report is run. + * + * Generated from protobuf enum LAST_12_MONTHS = 20; + */ + const LAST_12_MONTHS = 20; + /** + * From 3 years before the report is run, to the day before the report is + * run, inclusive. + * + * Generated from protobuf enum ALL_AVAILABLE = 21; + */ + const ALL_AVAILABLE = 21; + /** + * The date a day after the date that the report is run. + * + * Generated from protobuf enum TOMORROW = 30; + */ + const TOMORROW = 30; + /** + * The 90 days following the day the report is run. + * + * Generated from protobuf enum NEXT_90_DAYS = 31; + */ + const NEXT_90_DAYS = 31; + /** + * The entire calendar month following the calendar month the report is + * run. + * + * Generated from protobuf enum NEXT_MONTH = 32; + */ + const NEXT_MONTH = 32; + /** + * The entire 3 calendar months following the calendar month the report + * is run. + * + * Generated from protobuf enum NEXT_3_MONTHS = 33; + */ + const NEXT_3_MONTHS = 33; + /** + * The entire 12 calendar months following the calendar month the report + * is run. + * + * Generated from protobuf enum NEXT_12_MONTHS = 34; + */ + const NEXT_12_MONTHS = 34; + /** + * The entire calendar week, Monday to Sunday (inclusive), following the + * calendar week the report is run. + * + * Generated from protobuf enum NEXT_WEEK = 35; + */ + const NEXT_WEEK = 35; + /** + * The entire calendar quarter following the calendar quarter the report + * is run. + * + * Generated from protobuf enum NEXT_QUARTER = 36; + */ + const NEXT_QUARTER = 36; + /** + * From the date a day after the date that the report is run, to the end + * of the calendar month following the calendar month the report is run. + * + * Generated from protobuf enum TO_END_OF_NEXT_MONTH = 37; + */ + const TO_END_OF_NEXT_MONTH = 37; + /** + * Only valid when used in the comparison_date_range field. The complete + * period preceding the date period provided in date_range. + * In the case where date_range is a FixedDateRange of N days, this will + * be a period of N days where the end date is the date preceding the + * start date of the date_range. + * In the case where date_range is a RelativeDateRange, this will be a + * period of the same timeframe preceding the date_range. In the case + * where the date_range does not capture the full period because a report + * is run in the middle of that period, this will still be the full + * preceding period. For example, if date_range is THIS_WEEK, but the + * report is run on a Wednesday, THIS_WEEK will be Monday - Wednesday, but + * PREVIOUS_PERIOD will be Monday - Sunday. + * + * Generated from protobuf enum PREVIOUS_PERIOD = 22; + */ + const PREVIOUS_PERIOD = 22; + /** + * Only valid when used in the comparison_date_range field. The period + * starting 1 year prior to the date period provided in date_range. + * In the case where date_range is a FixedDateRange, this will be a date + * range starting 1 year prior to the date_range start date and ending 1 + * year prior to the date_range end date. + * In the case where date_range is a RelativeDateRange, this will be a + * period of the same timeframe exactly 1 year prior to the date_range. + * In the case where the date_range does not capture the full period + * because a report is run in the middle of that period, this will still + * be the full period 1 year prior. For example, if date range is + * THIS_WEEK, but the report is run on a Wednesday, THIS_WEEK will be + * Monday - Wednesday, but SAME_PERIOD_PREVIOUS_YEAR will be Monday - + * Sunday. + * + * Generated from protobuf enum SAME_PERIOD_PREVIOUS_YEAR = 24; + */ + const SAME_PERIOD_PREVIOUS_YEAR = 24; + + private static $valueToName = [ + self::RELATIVE_DATE_RANGE_UNSPECIFIED => 'RELATIVE_DATE_RANGE_UNSPECIFIED', + self::TODAY => 'TODAY', + self::YESTERDAY => 'YESTERDAY', + self::THIS_WEEK => 'THIS_WEEK', + self::THIS_WEEK_TO_DATE => 'THIS_WEEK_TO_DATE', + self::THIS_WEEK_TO_YESTERDAY => 'THIS_WEEK_TO_YESTERDAY', + self::THIS_MONTH => 'THIS_MONTH', + self::THIS_MONTH_TO_DATE => 'THIS_MONTH_TO_DATE', + self::THIS_MONTH_TO_YESTERDAY => 'THIS_MONTH_TO_YESTERDAY', + self::THIS_QUARTER => 'THIS_QUARTER', + self::THIS_QUARTER_TO_DATE => 'THIS_QUARTER_TO_DATE', + self::THIS_QUARTER_TO_YESTERDAY => 'THIS_QUARTER_TO_YESTERDAY', + self::THIS_YEAR => 'THIS_YEAR', + self::THIS_YEAR_TO_DATE => 'THIS_YEAR_TO_DATE', + self::THIS_YEAR_TO_YESTERDAY => 'THIS_YEAR_TO_YESTERDAY', + self::LAST_WEEK => 'LAST_WEEK', + self::LAST_WEEK_STARTING_SUNDAY => 'LAST_WEEK_STARTING_SUNDAY', + self::LAST_MONTH => 'LAST_MONTH', + self::LAST_QUARTER => 'LAST_QUARTER', + self::LAST_YEAR => 'LAST_YEAR', + self::LAST_7_DAYS => 'LAST_7_DAYS', + self::LAST_30_DAYS => 'LAST_30_DAYS', + self::LAST_60_DAYS => 'LAST_60_DAYS', + self::LAST_90_DAYS => 'LAST_90_DAYS', + self::LAST_93_DAYS => 'LAST_93_DAYS', + self::LAST_180_DAYS => 'LAST_180_DAYS', + self::LAST_360_DAYS => 'LAST_360_DAYS', + self::LAST_365_DAYS => 'LAST_365_DAYS', + self::LAST_3_MONTHS => 'LAST_3_MONTHS', + self::LAST_6_MONTHS => 'LAST_6_MONTHS', + self::LAST_12_MONTHS => 'LAST_12_MONTHS', + self::ALL_AVAILABLE => 'ALL_AVAILABLE', + self::TOMORROW => 'TOMORROW', + self::NEXT_90_DAYS => 'NEXT_90_DAYS', + self::NEXT_MONTH => 'NEXT_MONTH', + self::NEXT_3_MONTHS => 'NEXT_3_MONTHS', + self::NEXT_12_MONTHS => 'NEXT_12_MONTHS', + self::NEXT_WEEK => 'NEXT_WEEK', + self::NEXT_QUARTER => 'NEXT_QUARTER', + self::TO_END_OF_NEXT_MONTH => 'TO_END_OF_NEXT_MONTH', + self::PREVIOUS_PERIOD => 'PREVIOUS_PERIOD', + self::SAME_PERIOD_PREVIOUS_YEAR => 'SAME_PERIOD_PREVIOUS_YEAR', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Dimension.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Dimension.php new file mode 100644 index 000000000000..db86bdcd79a1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Dimension.php @@ -0,0 +1,7998 @@ +google.ads.admanager.v1.ReportDefinition.Dimension + */ +class Dimension +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum DIMENSION_UNSPECIFIED = 0; + */ + const DIMENSION_UNSPECIFIED = 0; + /** + * The measurement source of a video ad. + * Corresponds to "Active View measurement source value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum ACTIVE_VIEW_MEASUREMENT_SOURCE = 575; + */ + const ACTIVE_VIEW_MEASUREMENT_SOURCE = 575; + /** + * Active View measurement source localized name. + * Corresponds to "Active View measurement source" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ACTIVE_VIEW_MEASUREMENT_SOURCE_NAME = 576; + */ + const ACTIVE_VIEW_MEASUREMENT_SOURCE_NAME = 576; + /** + * Advertiser credit status ENUM + * Corresponds to "Advertiser credit status value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `ENUM` + * + * Generated from protobuf enum ADVERTISER_CREDIT_STATUS = 475; + */ + const ADVERTISER_CREDIT_STATUS = 475; + /** + * Advertiser credit status localized name + * Corresponds to "Advertiser credit status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_CREDIT_STATUS_NAME = 476; + */ + const ADVERTISER_CREDIT_STATUS_NAME = 476; + /** + * The domain name of the advertiser. + * Corresponds to "Landing page domain" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_DOMAIN_NAME = 242; + */ + const ADVERTISER_DOMAIN_NAME = 242; + /** + * The ID used in an external system for advertiser identification + * Corresponds to "Advertiser external ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_EXTERNAL_ID = 228; + */ + const ADVERTISER_EXTERNAL_ID = 228; + /** + * The ID of an advertiser company assigned to an order + * Corresponds to "Advertiser ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ADVERTISER_ID = 131; + */ + const ADVERTISER_ID = 131; + /** + * Labels applied to the advertiser + * can be used for either competitive exclusion or ad exclusion + * Corresponds to "Advertiser labels" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum ADVERTISER_LABELS = 230; + */ + const ADVERTISER_LABELS = 230; + /** + * Label ids applied to the advertiser + * can be used for either competitive exclusion or ad exclusion + * Corresponds to "Advertiser label IDs" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum ADVERTISER_LABEL_IDS = 229; + */ + const ADVERTISER_LABEL_IDS = 229; + /** + * The name of an advertiser company assigned to an order + * Corresponds to "Advertiser" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_NAME = 132; + */ + const ADVERTISER_NAME = 132; + /** + * The name of the contact associated with an advertiser company + * Corresponds to "Advertiser primary contact" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_PRIMARY_CONTACT = 227; + */ + const ADVERTISER_PRIMARY_CONTACT = 227; + /** + * Advertiser status ENUM + * Corresponds to "Advertiser status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum ADVERTISER_STATUS = 471; + */ + const ADVERTISER_STATUS = 471; + /** + * Advertiser status localized name + * Corresponds to "Advertiser status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_STATUS_NAME = 472; + */ + const ADVERTISER_STATUS_NAME = 472; + /** + * Advertiser type ENUM + * Corresponds to "Advertiser type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `ENUM` + * + * Generated from protobuf enum ADVERTISER_TYPE = 473; + */ + const ADVERTISER_TYPE = 473; + /** + * Advertiser type localized name + * Corresponds to "Advertiser type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_TYPE_NAME = 474; + */ + const ADVERTISER_TYPE_NAME = 474; + /** + * The category of an advertiser, such as Arts & Entertainment or Travel & + * Tourism. + * Corresponds to "Advertiser vertical" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ADVERTISER_VERTICAL = 580; + */ + const ADVERTISER_VERTICAL = 580; + /** + * Classification of different Ad Exchange products. + * Corresponds to "Ad Exchange product value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION` + * Data format: `ENUM` + * + * Generated from protobuf enum ADX_PRODUCT = 499; + */ + const ADX_PRODUCT = 499; + /** + * Localized name of the classification of different Ad Exchange + * products. + * Corresponds to "Ad Exchange product" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION` + * Data format: `STRING` + * + * Generated from protobuf enum ADX_PRODUCT_NAME = 500; + */ + const ADX_PRODUCT_NAME = 500; + /** + * Ad experiences type. + * Corresponds to "Ad experiences value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum AD_EXPERIENCES_TYPE = 641; + */ + const AD_EXPERIENCES_TYPE = 641; + /** + * Localized name of the Ad experiences type. + * Corresponds to "Ad experiences" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_EXPERIENCES_TYPE_NAME = 642; + */ + const AD_EXPERIENCES_TYPE_NAME = 642; + /** + * Shows an ENUM value describing whether a given piece of publisher + * inventory was above (ATF) or below the fold (BTF) of a page. + * Corresponds to "Ad location value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum AD_LOCATION = 390; + */ + const AD_LOCATION = 390; + /** + * Shows a localized string describing whether a given piece of publisher + * inventory was above (ATF) or below the fold (BTF) of a page. + * Corresponds to "Ad location" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_LOCATION_NAME = 391; + */ + const AD_LOCATION_NAME = 391; + /** + * Multi-size inventory in an ad request. + * Corresponds to "Ad request sizes" in the Ad Manager UI. + * Compatible with the following report types: `FUTURE_SELL_THROUGH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum AD_REQUEST_SIZES = 541; + */ + const AD_REQUEST_SIZES = 541; + /** + * The domain of the ad technology provider associated with the bid. + * Corresponds to "Ad technology provider domain" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_TECHNOLOGY_PROVIDER_DOMAIN = 620; + */ + const AD_TECHNOLOGY_PROVIDER_DOMAIN = 620; + /** + * The ID of the ad technology provider associated with the bid. + * Corresponds to "Ad technology provider ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_TECHNOLOGY_PROVIDER_ID = 621; + */ + const AD_TECHNOLOGY_PROVIDER_ID = 621; + /** + * The name of the ad technology provider associated with the bid. + * Corresponds to "Ad technology provider" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_TECHNOLOGY_PROVIDER_NAME = 622; + */ + const AD_TECHNOLOGY_PROVIDER_NAME = 622; + /** + * Segmentation of ad types. + * Corresponds to "Ad type value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum AD_TYPE = 497; + */ + const AD_TYPE = 497; + /** + * Localized name of the ad type. + * Corresponds to "Ad type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_TYPE_NAME = 498; + */ + const AD_TYPE_NAME = 498; + /** + * The code of the ad unit where the ad was requested. + * Corresponds to "Ad unit code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE = 64; + */ + const AD_UNIT_CODE = 64; + /** + * The code of the first level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 1" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_1 = 65; + */ + const AD_UNIT_CODE_LEVEL_1 = 65; + /** + * The code of the tenth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 10" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_10 = 74; + */ + const AD_UNIT_CODE_LEVEL_10 = 74; + /** + * The code of the eleventh level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 11" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_11 = 75; + */ + const AD_UNIT_CODE_LEVEL_11 = 75; + /** + * The code of the twelfth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 12" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_12 = 76; + */ + const AD_UNIT_CODE_LEVEL_12 = 76; + /** + * The code of the thirteenth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 13" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_13 = 77; + */ + const AD_UNIT_CODE_LEVEL_13 = 77; + /** + * The code of the fourteenth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 14" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_14 = 78; + */ + const AD_UNIT_CODE_LEVEL_14 = 78; + /** + * The code of the fifteenth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 15" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_15 = 79; + */ + const AD_UNIT_CODE_LEVEL_15 = 79; + /** + * The code of the sixteenth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 16" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_16 = 80; + */ + const AD_UNIT_CODE_LEVEL_16 = 80; + /** + * The code of the second level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 2" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_2 = 66; + */ + const AD_UNIT_CODE_LEVEL_2 = 66; + /** + * The code of the third level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 3" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_3 = 67; + */ + const AD_UNIT_CODE_LEVEL_3 = 67; + /** + * The code of the fourth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 4" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_4 = 68; + */ + const AD_UNIT_CODE_LEVEL_4 = 68; + /** + * The code of the fifth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 5" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_5 = 69; + */ + const AD_UNIT_CODE_LEVEL_5 = 69; + /** + * The code of the sixth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 6" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_6 = 70; + */ + const AD_UNIT_CODE_LEVEL_6 = 70; + /** + * The code of the seventh level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 7" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_7 = 71; + */ + const AD_UNIT_CODE_LEVEL_7 = 71; + /** + * The code of the eighth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 8" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_8 = 72; + */ + const AD_UNIT_CODE_LEVEL_8 = 72; + /** + * The code of the ninth level ad unit of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit code level 9" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_CODE_LEVEL_9 = 73; + */ + const AD_UNIT_CODE_LEVEL_9 = 73; + /** + * The ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, `REACH`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID = 25; + */ + const AD_UNIT_ID = 25; + /** + * The full hierarchy of ad unit IDs where the ad was requested, from + * root to leaf, excluding the root ad unit ID. + * Corresponds to "Ad unit ID (all levels)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, `REACH`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum AD_UNIT_ID_ALL_LEVEL = 27; + */ + const AD_UNIT_ID_ALL_LEVEL = 27; + /** + * The first level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 1" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_1 = 30; + */ + const AD_UNIT_ID_LEVEL_1 = 30; + /** + * The tenth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 10" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_10 = 48; + */ + const AD_UNIT_ID_LEVEL_10 = 48; + /** + * The eleventh level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 11" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_11 = 50; + */ + const AD_UNIT_ID_LEVEL_11 = 50; + /** + * The twelfth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 12" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_12 = 52; + */ + const AD_UNIT_ID_LEVEL_12 = 52; + /** + * The thirteenth level ad unit ID of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit ID level 13" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_13 = 54; + */ + const AD_UNIT_ID_LEVEL_13 = 54; + /** + * The fourteenth level ad unit ID of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit ID level 14" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_14 = 56; + */ + const AD_UNIT_ID_LEVEL_14 = 56; + /** + * The fifteenth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 15" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_15 = 58; + */ + const AD_UNIT_ID_LEVEL_15 = 58; + /** + * The sixteenth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 16" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_16 = 60; + */ + const AD_UNIT_ID_LEVEL_16 = 60; + /** + * The second level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 2" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_2 = 32; + */ + const AD_UNIT_ID_LEVEL_2 = 32; + /** + * The third level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 3" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_3 = 34; + */ + const AD_UNIT_ID_LEVEL_3 = 34; + /** + * The fourth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 4" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_4 = 36; + */ + const AD_UNIT_ID_LEVEL_4 = 36; + /** + * The fifth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 5" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_5 = 38; + */ + const AD_UNIT_ID_LEVEL_5 = 38; + /** + * The sixth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 6" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_6 = 40; + */ + const AD_UNIT_ID_LEVEL_6 = 40; + /** + * The seventh level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 7" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_7 = 42; + */ + const AD_UNIT_ID_LEVEL_7 = 42; + /** + * The eighth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 8" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_8 = 44; + */ + const AD_UNIT_ID_LEVEL_8 = 44; + /** + * The ninth level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID level 9" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_LEVEL_9 = 46; + */ + const AD_UNIT_ID_LEVEL_9 = 46; + /** + * The top-level ad unit ID of the ad unit where the ad was requested. + * Corresponds to "Ad unit ID (top level)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AD_UNIT_ID_TOP_LEVEL = 142; + */ + const AD_UNIT_ID_TOP_LEVEL = 142; + /** + * The name of the ad unit where the ad was requested. + * Corresponds to "Ad unit" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, `REACH`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME = 26; + */ + const AD_UNIT_NAME = 26; + /** + * The full hierarchy of ad unit names where the ad was requested, from + * root to leaf, excluding the root ad unit name. + * Corresponds to "Ad unit (all levels)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, `REACH`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum AD_UNIT_NAME_ALL_LEVEL = 29; + */ + const AD_UNIT_NAME_ALL_LEVEL = 29; + /** + * The first level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 1" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_1 = 31; + */ + const AD_UNIT_NAME_LEVEL_1 = 31; + /** + * The tenth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 10" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_10 = 49; + */ + const AD_UNIT_NAME_LEVEL_10 = 49; + /** + * The eleventh level ad unit name of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit level 11" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_11 = 51; + */ + const AD_UNIT_NAME_LEVEL_11 = 51; + /** + * The twelfth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 12" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_12 = 53; + */ + const AD_UNIT_NAME_LEVEL_12 = 53; + /** + * The thirteenth level ad unit name of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit level 13" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_13 = 55; + */ + const AD_UNIT_NAME_LEVEL_13 = 55; + /** + * The fourteenth level ad unit name of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit level 14" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_14 = 57; + */ + const AD_UNIT_NAME_LEVEL_14 = 57; + /** + * The fifteenth level ad unit name of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit level 15" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_15 = 59; + */ + const AD_UNIT_NAME_LEVEL_15 = 59; + /** + * The sixteenth level ad unit name of the ad unit where the ad was + * requested. + * Corresponds to "Ad unit level 16" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_16 = 61; + */ + const AD_UNIT_NAME_LEVEL_16 = 61; + /** + * The second level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 2" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_2 = 33; + */ + const AD_UNIT_NAME_LEVEL_2 = 33; + /** + * The third level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 3" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_3 = 35; + */ + const AD_UNIT_NAME_LEVEL_3 = 35; + /** + * The fourth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 4" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_4 = 37; + */ + const AD_UNIT_NAME_LEVEL_4 = 37; + /** + * The fifth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 5" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_5 = 39; + */ + const AD_UNIT_NAME_LEVEL_5 = 39; + /** + * The sixth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 6" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_6 = 41; + */ + const AD_UNIT_NAME_LEVEL_6 = 41; + /** + * The seventh level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 7" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_7 = 43; + */ + const AD_UNIT_NAME_LEVEL_7 = 43; + /** + * The eighth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 8" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_8 = 45; + */ + const AD_UNIT_NAME_LEVEL_8 = 45; + /** + * The ninth level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit level 9" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_LEVEL_9 = 47; + */ + const AD_UNIT_NAME_LEVEL_9 = 47; + /** + * The top-level ad unit name of the ad unit where the ad was requested. + * Corresponds to "Ad unit (top level)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_NAME_TOP_LEVEL = 143; + */ + const AD_UNIT_NAME_TOP_LEVEL = 143; + /** + * The reward amount of the ad unit where the ad was requested. + * Corresponds to "Ad unit reward amount" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_UNIT_REWARD_AMOUNT = 63; + */ + const AD_UNIT_REWARD_AMOUNT = 63; + /** + * The reward type of the ad unit where the ad was requested. + * Corresponds to "Ad unit reward type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_REWARD_TYPE = 62; + */ + const AD_UNIT_REWARD_TYPE = 62; + /** + * The status of the ad unit + * Corresponds to "Ad unit status value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `ENUM` + * Values: + * [AdUnitStatus][google.ads.admanager.v1.AdUnitStatusEnum.AdUnitStatus] + * + * Generated from protobuf enum AD_UNIT_STATUS = 206; + */ + const AD_UNIT_STATUS = 206; + /** + * The name of the status of the ad unit + * Corresponds to "Ad unit status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum AD_UNIT_STATUS_NAME = 207; + */ + const AD_UNIT_STATUS_NAME = 207; + /** + * The ID of an agency at level 1 of agency hierarchy. + * Corresponds to "Agency ID (Level 1)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AGENCY_LEVEL_1_ID = 565; + */ + const AGENCY_LEVEL_1_ID = 565; + /** + * The name of an agency at level 1 of agency hierarchy. + * Corresponds to "Agency (Level 1)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AGENCY_LEVEL_1_NAME = 566; + */ + const AGENCY_LEVEL_1_NAME = 566; + /** + * The ID of an agency at level 2 of agency hierarchy. + * Corresponds to "Agency ID (Level 2)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AGENCY_LEVEL_2_ID = 567; + */ + const AGENCY_LEVEL_2_ID = 567; + /** + * The name of an agency at level 2 of agency hierarchy. + * Corresponds to "Agency (Level 2)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AGENCY_LEVEL_2_NAME = 568; + */ + const AGENCY_LEVEL_2_NAME = 568; + /** + * The ID of an agency at level 3 of agency hierarchy. + * Corresponds to "Agency ID (Level 3)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AGENCY_LEVEL_3_ID = 569; + */ + const AGENCY_LEVEL_3_ID = 569; + /** + * The name of an agency at level 3 of agency hierarchy. + * Corresponds to "Agency (Level 3)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AGENCY_LEVEL_3_NAME = 570; + */ + const AGENCY_LEVEL_3_NAME = 570; + /** + * User age bracket enum. + * Corresponds to "Age bracket value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum AGE_BRACKET = 508; + */ + const AGE_BRACKET = 508; + /** + * Localized user age bracket returned from Google Analytics. For example, + * "18-24", "25-34", "35-44", "45-54", "55-64", "65+". + * Corresponds to "Age bracket" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AGE_BRACKET_NAME = 582; + */ + const AGE_BRACKET_NAME = 582; + /** + * Property ID in Google Analytics + * Corresponds to "Analytics property ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ANALYTICS_PROPERTY_ID = 733; + */ + const ANALYTICS_PROPERTY_ID = 733; + /** + * Property name in Google Analytics + * Corresponds to "Analytics property" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ANALYTICS_PROPERTY_NAME = 767; + */ + const ANALYTICS_PROPERTY_NAME = 767; + /** + * Enum value for App Tracking Transparency consent status. + * Corresponds to "App Tracking Transparency consent status value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum APP_TRACKING_TRANSPARENCY_CONSENT_STATUS = 442; + */ + const APP_TRACKING_TRANSPARENCY_CONSENT_STATUS = 442; + /** + * Localized string value for App Tracking Transparency consent status. + * Corresponds to "App Tracking Transparency consent status" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME = 443; + */ + const APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME = 443; + /** + * The app version. + * Corresponds to "App version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum APP_VERSION = 392; + */ + const APP_VERSION = 392; + /** + * The name of Auction Package deal + * Corresponds to "Auction package deal" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AUCTION_PACKAGE_DEAL = 579; + */ + const AUCTION_PACKAGE_DEAL = 579; + /** + * The ID of Auction Package deal + * Corresponds to "Auction package deal ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AUCTION_PACKAGE_DEAL_ID = 571; + */ + const AUCTION_PACKAGE_DEAL_ID = 571; + /** + * Name of billable audience segment. + * Corresponds to "Audience segment (billable)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_BILLABLE = 594; + */ + const AUDIENCE_SEGMENT_BILLABLE = 594; + /** + * ID of the data provider for the audience segment. + * Corresponds to "Audience segment data provider ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_DATA_PROVIDER_ID = 613; + */ + const AUDIENCE_SEGMENT_DATA_PROVIDER_ID = 613; + /** + * Name of the data provider for the audience segment. + * Corresponds to "Audience segment data provider" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_DATA_PROVIDER_NAME = 614; + */ + const AUDIENCE_SEGMENT_DATA_PROVIDER_NAME = 614; + /** + * ID of billable audience segment. + * Corresponds to "Audience segment ID (billable)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_ID_BILLABLE = 595; + */ + const AUDIENCE_SEGMENT_ID_BILLABLE = 595; + /** + * ID of targeted audience segment, including all first-party and + * third-party segments that matched the user on the winning line item. + * Corresponds to "Audience segment ID (targeted)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_ID_TARGETED = 584; + */ + const AUDIENCE_SEGMENT_ID_TARGETED = 584; + /** + * Name of targeted audience segment, including all first-party and + * third-party segments that matched the user on the winning line item. + * Corresponds to "Audience segment (targeted)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED = 585; + */ + const AUDIENCE_SEGMENT_TARGETED = 585; + /** + * Number of AdID identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) AdID size" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE = 605; + */ + const AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE = 605; + /** + * Number of Amazon Fire identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Amazon Fire size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE = 606; + */ + const AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE = 606; + /** + * Number of Android TV identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Android TV size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE = 607; + */ + const AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE = 607; + /** + * Number of Apple TV identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Apple TV size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE = 608; + */ + const AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE = 608; + /** + * Number of IDFA identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) IDFA size" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE = 609; + */ + const AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE = 609; + /** + * Number of mobile web identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) mobile web size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE = 610; + */ + const AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE = 610; + /** + * Number of PlayStation identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) PlayStation size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE = 611; + */ + const AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE = 611; + /** + * Number of PPID identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) PPID size" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE = 612; + */ + const AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE = 612; + /** + * Number of Roku identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Roku size" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE = 615; + */ + const AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE = 615; + /** + * Number of Samsung TV identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Samsung TV size" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE = 616; + */ + const AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE = 616; + /** + * Number of identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) size" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_SIZE = 618; + */ + const AUDIENCE_SEGMENT_TARGETED_SIZE = 618; + /** + * Status of the audience segment. + * Corresponds to "Audience segment (targeted) status value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `ENUM` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_STATUS = 628; + */ + const AUDIENCE_SEGMENT_TARGETED_STATUS = 628; + /** + * Name of the status of the audience segment. + * Corresponds to "Audience segment (targeted) status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_STATUS_NAME = 617; + */ + const AUDIENCE_SEGMENT_TARGETED_STATUS_NAME = 617; + /** + * Number of Xbox identifiers in the audience segment. + * Corresponds to "Audience segment (targeted) Xbox size" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE = 619; + */ + const AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE = 619; + /** + * Enum value of Auto refreshed traffic. + * Corresponds to "Auto refreshed traffic value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum AUTO_REFRESHED_TRAFFIC = 421; + */ + const AUTO_REFRESHED_TRAFFIC = 421; + /** + * Indicates if the traffic is from auto-refreshed ad requests. + * Corresponds to "Auto refreshed traffic" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum AUTO_REFRESHED_TRAFFIC_NAME = 422; + */ + const AUTO_REFRESHED_TRAFFIC_NAME = 422; + /** + * The encrypted version of BIDDER_ID. + * Corresponds to "Bidder encrypted ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum BIDDER_ENCRYPTED_ID = 493; + */ + const BIDDER_ENCRYPTED_ID = 493; + /** + * The name of the bidder. + * Corresponds to "Bidder" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum BIDDER_NAME = 494; + */ + const BIDDER_NAME = 494; + /** + * The cpm range within which a bid falls. + * Corresponds to "Bid Range" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BID_RANGE` + * + * Generated from protobuf enum BID_RANGE = 679; + */ + const BID_RANGE = 679; + /** + * The reason a bid was rejected. + * Corresponds to "Bid rejection reason value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum BID_REJECTION_REASON = 599; + */ + const BID_REJECTION_REASON = 599; + /** + * The localized name of the reason a bid was rejected. + * Corresponds to "Bid rejection reason" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum BID_REJECTION_REASON_NAME = 600; + */ + const BID_REJECTION_REASON_NAME = 600; + /** + * The amount of information about the Publisher's page sent to the buyer + * who purchased the impressions. + * Corresponds to "Branding type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum BRANDING_TYPE = 383; + */ + const BRANDING_TYPE = 383; + /** + * The localized version of branding type, the amount of information about + * the Publisher's page sent to the buyer who purchased the impressions. + * Corresponds to "Branding type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum BRANDING_TYPE_NAME = 384; + */ + const BRANDING_TYPE_NAME = 384; + /** + * Browser category. + * Corresponds to "Browser category value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `ENUM` + * + * Generated from protobuf enum BROWSER_CATEGORY = 119; + */ + const BROWSER_CATEGORY = 119; + /** + * Browser category name. + * Corresponds to "Browser category" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum BROWSER_CATEGORY_NAME = 120; + */ + const BROWSER_CATEGORY_NAME = 120; + /** + * The ID of the browser. + * Corresponds to "Browser ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum BROWSER_ID = 235; + */ + const BROWSER_ID = 235; + /** + * The name of the browser. + * Corresponds to "Browser" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum BROWSER_NAME = 236; + */ + const BROWSER_NAME = 236; + /** + * The ID of the buyer network. + * Corresponds to "Buyer network ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum BUYER_NETWORK_ID = 448; + */ + const BUYER_NETWORK_ID = 448; + /** + * The name of the buyer network. + * Corresponds to "Buyer network" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum BUYER_NETWORK_NAME = 449; + */ + const BUYER_NETWORK_NAME = 449; + /** + * The callout status category name in the Ads traffic navigator report. + * Corresponds to "Callout status category" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum CALLOUT_STATUS_CATEGORY_NAME = 589; + */ + const CALLOUT_STATUS_CATEGORY_NAME = 589; + /** + * Mobile carrier ID. + * Corresponds to "Carrier ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CARRIER_ID = 369; + */ + const CARRIER_ID = 369; + /** + * Name of the mobile carrier. + * Corresponds to "Carrier" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CARRIER_NAME = 368; + */ + const CARRIER_NAME = 368; + /** + * Inventory segmentation by channel. + * Corresponds to "Channel" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CHANNEL = 501; + */ + const CHANNEL = 501; + /** + * Child Publisher Network Code + * Corresponds to "Child network code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CHILD_NETWORK_CODE = 542; + */ + const CHILD_NETWORK_CODE = 542; + /** + * Child Publisher Network ID + * Corresponds to "Child network ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CHILD_NETWORK_ID = 544; + */ + const CHILD_NETWORK_ID = 544; + /** + * Child Partner Network Name + * Corresponds to "Child network" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CHILD_PARTNER_NAME = 543; + */ + const CHILD_PARTNER_NAME = 543; + /** + * The criteria ID of the city in which the ad served. + * Corresponds to "City ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CITY_ID = 459; + */ + const CITY_ID = 459; + /** + * The name of the city in which the ad served. + * Corresponds to "City" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum CITY_NAME = 452; + */ + const CITY_NAME = 452; + /** + * The ID of an advertiser, classified by Google, associated with a creative + * transacted + * Corresponds to "Advertiser ID (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CLASSIFIED_ADVERTISER_ID = 133; + */ + const CLASSIFIED_ADVERTISER_ID = 133; + /** + * The name of an advertiser, classified by Google, associated with a + * creative transacted + * Corresponds to "Advertiser (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum CLASSIFIED_ADVERTISER_NAME = 134; + */ + const CLASSIFIED_ADVERTISER_NAME = 134; + /** + * ID of the brand, as classified by Google, + * Corresponds to "Brand ID (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CLASSIFIED_BRAND_ID = 243; + */ + const CLASSIFIED_BRAND_ID = 243; + /** + * Name of the brand, as classified by Google, + * Corresponds to "Brand (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum CLASSIFIED_BRAND_NAME = 244; + */ + const CLASSIFIED_BRAND_NAME = 244; + /** + * ID of the video content bundle served. + * Corresponds to "Content bundle ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CONTENT_BUNDLE_ID = 460; + */ + const CONTENT_BUNDLE_ID = 460; + /** + * Name of the video content bundle served. + * Corresponds to "Content bundle" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_BUNDLE_NAME = 461; + */ + const CONTENT_BUNDLE_NAME = 461; + /** + * ID of the video content metadata namespace served. + * Corresponds to "CMS metadata key ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CONTENT_CMS_METADATA_KV_NAMESPACE_ID = 462; + */ + const CONTENT_CMS_METADATA_KV_NAMESPACE_ID = 462; + /** + * Name of the video content metadata namespace served. + * Corresponds to "CMS metadata key" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_CMS_METADATA_KV_NAMESPACE_NAME = 463; + */ + const CONTENT_CMS_METADATA_KV_NAMESPACE_NAME = 463; + /** + * The display name of the CMS content. + * Corresponds to "Content source name" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_CMS_NAME = 643; + */ + const CONTENT_CMS_NAME = 643; + /** + * The CMS content ID of the video content. + * Corresponds to "ID of the video in the content source" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, + * `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_CMS_VIDEO_ID = 644; + */ + const CONTENT_CMS_VIDEO_ID = 644; + /** + * ID of the video content served. + * Corresponds to "Content ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CONTENT_ID = 246; + */ + const CONTENT_ID = 246; + /** + * Content mapping presence ENUM value + * Corresponds to "Content mapping presence value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CONTENT_MAPPING_PRESENCE = 731; + */ + const CONTENT_MAPPING_PRESENCE = 731; + /** + * Content mapping presence name + * Corresponds to "Content mapping presence" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_MAPPING_PRESENCE_NAME = 732; + */ + const CONTENT_MAPPING_PRESENCE_NAME = 732; + /** + * Name of the video content served. + * Corresponds to "Content" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum CONTENT_NAME = 247; + */ + const CONTENT_NAME = 247; + /** + * The continent in which the ad served (derived from country). + * Corresponds to "Continent value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CONTINENT = 469; + */ + const CONTINENT = 469; + /** + * The name of the continent in which the ad served (derived from country). + * Corresponds to "Continent" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CONTINENT_NAME = 470; + */ + const CONTINENT_NAME = 470; + /** + * The ISO code of the country in which the ad served. + * Corresponds to "Country code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, `AD_SPEED`, + * `YOUTUBE_CONSOLIDATED`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum COUNTRY_CODE = 466; + */ + const COUNTRY_CODE = 466; + /** + * The criteria ID of the country in which the ad served. + * Corresponds to "Country ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, `AD_SPEED`, + * `YOUTUBE_CONSOLIDATED`, `OFF_PROPERTY_CAMPAIGNS`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum COUNTRY_ID = 11; + */ + const COUNTRY_ID = 11; + /** + * The name of the country in which the ad served. + * Corresponds to "Country" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, `AD_SPEED`, + * `YOUTUBE_CONSOLIDATED`, `OFF_PROPERTY_CAMPAIGNS`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum COUNTRY_NAME = 12; + */ + const COUNTRY_NAME = 12; + /** + * Enum value of creative billing type + * Corresponds to "Creative billing type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_BILLING_TYPE = 366; + */ + const CREATIVE_BILLING_TYPE = 366; + /** + * Localized string value of creative billing type + * Corresponds to "Creative billing type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_BILLING_TYPE_NAME = 367; + */ + const CREATIVE_BILLING_TYPE_NAME = 367; + /** + * Represents the click-through URL of a creative + * Corresponds to "Creative click through url" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_CLICK_THROUGH_URL = 174; + */ + const CREATIVE_CLICK_THROUGH_URL = 174; + /** + * The ID of a creative + * Corresponds to "Creative ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `REAL_TIME_VIDEO`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CREATIVE_ID = 138; + */ + const CREATIVE_ID = 138; + /** + * Creative name + * Corresponds to "Creative" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `REAL_TIME_VIDEO`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_NAME = 139; + */ + const CREATIVE_NAME = 139; + /** + * ENUM describing whether the creative is part of a creative set or a + * normal creative. + * Corresponds to "Creative or creative set value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_OR_CREATIVE_SET = 682; + */ + const CREATIVE_OR_CREATIVE_SET = 682; + /** + * Localized string name of whether the creative is part of a creative set + * or a normal creative. + * Corresponds to "Creative or creative set" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_OR_CREATIVE_SET_NAME = 683; + */ + const CREATIVE_OR_CREATIVE_SET_NAME = 683; + /** + * Creative Policies filtering. + * Corresponds to "Creative policies filtering value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_POLICIES_FILTERING = 711; + */ + const CREATIVE_POLICIES_FILTERING = 711; + /** + * Localized name of the Creative Policies filtering. + * Corresponds to "Creative policies filtering" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_POLICIES_FILTERING_NAME = 712; + */ + const CREATIVE_POLICIES_FILTERING_NAME = 712; + /** + * Creative Protections filtering. + * Corresponds to "Creative protections filtering value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_PROTECTIONS_FILTERING = 704; + */ + const CREATIVE_PROTECTIONS_FILTERING = 704; + /** + * Localized name of the Creative Protections filtering. + * Corresponds to "Creative protections filtering" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_PROTECTIONS_FILTERING_NAME = 705; + */ + const CREATIVE_PROTECTIONS_FILTERING_NAME = 705; + /** + * ENUM describing whether the creative is part of a creative set and if so, + * what its role in the creative set is. + * Corresponds to "Creative set role type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_SET_ROLE_TYPE = 686; + */ + const CREATIVE_SET_ROLE_TYPE = 686; + /** + * Localized name describing whether the creative is part of a creative set + * and if so, what its role in the creative set is. + * Corresponds to "Creative set role type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_SET_ROLE_TYPE_NAME = 687; + */ + const CREATIVE_SET_ROLE_TYPE_NAME = 687; + /** + * Whether the creative has an SSL compliance override, and how the override + * has been set. + * Corresponds to "Creative SSL compliance override value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_SSL_COMPLIANCE_OVERRIDE = 784; + */ + const CREATIVE_SSL_COMPLIANCE_OVERRIDE = 784; + /** + * Localized name of the creative SSL compliance override. + * Corresponds to "Creative SSL compliance override" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_SSL_COMPLIANCE_OVERRIDE_NAME = 786; + */ + const CREATIVE_SSL_COMPLIANCE_OVERRIDE_NAME = 786; + /** + * The result of an Ad Manager scan of the creative. + * Corresponds to "Creative SSL scan result value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_SSL_SCAN_RESULT = 785; + */ + const CREATIVE_SSL_SCAN_RESULT = 785; + /** + * Localized name of the creative SSL scan result. + * Corresponds to "Creative SSL scan result" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_SSL_SCAN_RESULT_NAME = 787; + */ + const CREATIVE_SSL_SCAN_RESULT_NAME = 787; + /** + * The size of the ad unit that the creative is intended to occupy, such as + * "468 x 60". + * Corresponds to "Creative target ad unit size" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `REAL_TIME_VIDEO`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_TARGET_AD_UNIT_SIZE = 770; + */ + const CREATIVE_TARGET_AD_UNIT_SIZE = 770; + /** + * Creative technology ENUM + * Corresponds to "Creative technology value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_TECHNOLOGY = 148; + */ + const CREATIVE_TECHNOLOGY = 148; + /** + * Creative technology localized name + * Corresponds to "Creative technology" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_TECHNOLOGY_NAME = 149; + */ + const CREATIVE_TECHNOLOGY_NAME = 149; + /** + * Third party vendor name of a creative + * Corresponds to "Creative third party vendor" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_THIRD_PARTY_VENDOR = 361; + */ + const CREATIVE_THIRD_PARTY_VENDOR = 361; + /** + * Enum value of creative type + * Corresponds to "Creative type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `ENUM` + * + * Generated from protobuf enum CREATIVE_TYPE = 344; + */ + const CREATIVE_TYPE = 344; + /** + * Localized string name of creative type + * Corresponds to "Creative type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_TYPE_NAME = 345; + */ + const CREATIVE_TYPE_NAME = 345; + /** + * Creative vendor ID. + * Corresponds to "Creative vendor ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CREATIVE_VENDOR_ID = 706; + */ + const CREATIVE_VENDOR_ID = 706; + /** + * Name of the Creative vendor. + * Corresponds to "Creative vendor" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_VENDOR_NAME = 707; + */ + const CREATIVE_VENDOR_NAME = 707; + /** + * The third party where Google Ad Manager was redirected for the creative, + * based on the domain. + * Corresponds to "Creative video redirect third party" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CREATIVE_VIDEO_REDIRECT_THIRD_PARTY = 562; + */ + const CREATIVE_VIDEO_REDIRECT_THIRD_PARTY = 562; + /** + * The ID of a Curation partner + * Corresponds to "Curation partner ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CURATOR_ID = 572; + */ + const CURATOR_ID = 572; + /** + * The name of a Curation partner + * Corresponds to "Curation partner" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CURATOR_NAME = 573; + */ + const CURATOR_NAME = 573; + /** + * Custom event ID + * Corresponds to "Custom event id" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CUSTOM_EVENT_ID = 737; + */ + const CUSTOM_EVENT_ID = 737; + /** + * Custom event name + * Corresponds to "Custom event" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CUSTOM_EVENT_NAME = 735; + */ + const CUSTOM_EVENT_NAME = 735; + /** + * Custom event type + * Corresponds to "Custom event type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum CUSTOM_EVENT_TYPE = 736; + */ + const CUSTOM_EVENT_TYPE = 736; + /** + * Localized name of the custom event type + * Corresponds to "Custom event type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CUSTOM_EVENT_TYPE_NAME = 738; + */ + const CUSTOM_EVENT_TYPE_NAME = 738; + /** + * The ID of an ad spot. An ad spot can be added to an ad break template, as + * well as directly targeted by a video line item. + * Corresponds to "Custom spot ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum CUSTOM_SPOT_ID = 423; + */ + const CUSTOM_SPOT_ID = 423; + /** + * The name of an ad spot. An ad spot can be added to an ad break + * template, as well as directly targeted by a video line item. + * Corresponds to "Custom spot" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum CUSTOM_SPOT_NAME = 424; + */ + const CUSTOM_SPOT_NAME = 424; + /** + * Breaks down reporting data by date. + * Corresponds to "Date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, + * `REVENUE_VERIFICATION`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `YOUTUBE_CONSOLIDATED`, `OFF_PROPERTY_CAMPAIGNS`, + * `ADS_TRAFFIC_NAVIGATOR`, `ON_PLATFORM_MULTICALL` + * Data format: `DATE` + * + * Generated from protobuf enum DATE = 3; + */ + const DATE = 3; + /** + * Breaks down reporting data by day of the week. Monday is 1 and 7 is + * Sunday. + * Corresponds to "Day of week" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, + * `YOUTUBE_CONSOLIDATED`, `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum DAY_OF_WEEK = 4; + */ + const DAY_OF_WEEK = 4; + /** + * The ID of the buyer of a deal. + * Corresponds to "Deal buyer ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum DEAL_BUYER_ID = 240; + */ + const DEAL_BUYER_ID = 240; + /** + * The name of the buyer of a deal. + * Corresponds to "Deal buyer" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DEAL_BUYER_NAME = 241; + */ + const DEAL_BUYER_NAME = 241; + /** + * Deal ID + * Corresponds to "Deal ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum DEAL_ID = 436; + */ + const DEAL_ID = 436; + /** + * List of deal IDs found in a callout. + * Corresponds to "Deal ID (all)" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum DEAL_ID_ALL = 781; + */ + const DEAL_ID_ALL = 781; + /** + * Deal name + * Corresponds to "Deal" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum DEAL_NAME = 437; + */ + const DEAL_NAME = 437; + /** + * The declared domain of the advertiser. + * Corresponds to "Declared advertiser domain" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DECLARED_ADVERTISER_DOMAIN = 796; + */ + const DECLARED_ADVERTISER_DOMAIN = 796; + /** + * The ID of the secure signals that were sent to the bidder who won the + * impression. + * Corresponds to "Secure signal ID (delivered)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum DELIVERED_SECURE_SIGNAL_ID = 309; + */ + const DELIVERED_SECURE_SIGNAL_ID = 309; + /** + * The name of the secure signals that were sent to the bidder who won the + * impression. + * Corresponds to "Secure signal name (delivered)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DELIVERED_SECURE_SIGNAL_NAME = 310; + */ + const DELIVERED_SECURE_SIGNAL_NAME = 310; + /** + * Demand channel. + * Corresponds to "Demand channel value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `REVENUE_VERIFICATION`, `AD_SPEED`, `ON_PLATFORM_MULTICALL` + * Data format: `ENUM` + * + * Generated from protobuf enum DEMAND_CHANNEL = 9; + */ + const DEMAND_CHANNEL = 9; + /** + * Demand channel name. + * Corresponds to "Demand channel" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `REVENUE_VERIFICATION`, `AD_SPEED`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum DEMAND_CHANNEL_NAME = 10; + */ + const DEMAND_CHANNEL_NAME = 10; + /** + * Demand source. + * Corresponds to "Demand source value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `ENUM` + * + * Generated from protobuf enum DEMAND_SOURCE = 592; + */ + const DEMAND_SOURCE = 592; + /** + * List of demand sources found in a callout. + * Corresponds to "Demand source (all)" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum DEMAND_SOURCE_ALL = 782; + */ + const DEMAND_SOURCE_ALL = 782; + /** + * Demand source name. + * Corresponds to "Demand source" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum DEMAND_SOURCE_NAME = 593; + */ + const DEMAND_SOURCE_NAME = 593; + /** + * Demand subchannel. + * Corresponds to "Demand subchannel value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum DEMAND_SUBCHANNEL = 22; + */ + const DEMAND_SUBCHANNEL = 22; + /** + * Demand subchannel name. + * Corresponds to "Demand subchannel" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DEMAND_SUBCHANNEL_NAME = 23; + */ + const DEMAND_SUBCHANNEL_NAME = 23; + /** + * The device on which an ad was served. + * Corresponds to "Device value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum DEVICE = 226; + */ + const DEVICE = 226; + /** + * The device category to which an ad is being targeted. + * Corresponds to "Device category value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `ENUM` + * + * Generated from protobuf enum DEVICE_CATEGORY = 15; + */ + const DEVICE_CATEGORY = 15; + /** + * The name of the category of device (smartphone, feature phone, tablet, or + * desktop) to which an ad is being targeted. + * Corresponds to "Device category" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `OFF_PROPERTY_CAMPAIGNS`, `ON_PLATFORM_MULTICALL` + * Data format: `STRING` + * + * Generated from protobuf enum DEVICE_CATEGORY_NAME = 16; + */ + const DEVICE_CATEGORY_NAME = 16; + /** + * Device manufacturer ID + * Corresponds to "Device manufacturer ID" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum DEVICE_MANUFACTURER_ID = 525; + */ + const DEVICE_MANUFACTURER_ID = 525; + /** + * Device manufacturer name + * Corresponds to "Device manufacturer" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DEVICE_MANUFACTURER_NAME = 526; + */ + const DEVICE_MANUFACTURER_NAME = 526; + /** + * Device model ID + * Corresponds to "Device model ID" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum DEVICE_MODEL_ID = 527; + */ + const DEVICE_MODEL_ID = 527; + /** + * Device model name + * Corresponds to "Device model" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DEVICE_MODEL_NAME = 528; + */ + const DEVICE_MODEL_NAME = 528; + /** + * The localized name of the device on which an ad was served. + * Corresponds to "Device" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DEVICE_NAME = 225 [deprecated = true]; + */ + const DEVICE_NAME = 225; + /** + * The ID of DSP Seat + * Corresponds to "DSP seat ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DSP_SEAT_ID = 564; + */ + const DSP_SEAT_ID = 564; + /** + * Categorization of inventory sources based on AdX dynamic allocation + * backfill type. + * Corresponds to "Dynamic allocation value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum DYNAMIC_ALLOCATION_TYPE = 502; + */ + const DYNAMIC_ALLOCATION_TYPE = 502; + /** + * Localized name of the dynamic allocation type. + * Corresponds to "Dynamic allocation" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum DYNAMIC_ALLOCATION_TYPE_NAME = 503; + */ + const DYNAMIC_ALLOCATION_TYPE_NAME = 503; + /** + * Status of Encrypted Signals for Publishers delivery. + * Corresponds to "Secure signal delivery value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum ESP_DELIVERY = 623; + */ + const ESP_DELIVERY = 623; + /** + * Localized name of the ESP delivery status. + * Corresponds to "Secure signal delivery" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ESP_DELIVERY_NAME = 624; + */ + const ESP_DELIVERY_NAME = 624; + /** + * Whether Encrypted Signals for Publishers are present on the ad request. + * Corresponds to "Secure signal presence value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum ESP_PRESENCE = 625; + */ + const ESP_PRESENCE = 625; + /** + * Localized name of the ESP presence status. + * Corresponds to "Secure signal presence" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ESP_PRESENCE_NAME = 626; + */ + const ESP_PRESENCE_NAME = 626; + /** + * Exchange bidding deal ID. + * Corresponds to "Exchange bidding deal id" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum EXCHANGE_BIDDING_DEAL_ID = 715; + */ + const EXCHANGE_BIDDING_DEAL_ID = 715; + /** + * Exchange bidding deal type. + * Corresponds to "Exchange bidding deal type value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum EXCHANGE_BIDDING_DEAL_TYPE = 714; + */ + const EXCHANGE_BIDDING_DEAL_TYPE = 714; + /** + * Localized name of the exchange bidding deal type. + * Corresponds to "Exchange bidding deal type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum EXCHANGE_BIDDING_DEAL_TYPE_NAME = 723; + */ + const EXCHANGE_BIDDING_DEAL_TYPE_NAME = 723; + /** + * ID of the yield partner as classified by Google + * Corresponds to "Yield partner ID (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum EXCHANGE_THIRD_PARTY_COMPANY_ID = 185; + */ + const EXCHANGE_THIRD_PARTY_COMPANY_ID = 185; + /** + * Name of the yield partner as classified by Google + * Corresponds to "Yield partner (classified)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum EXCHANGE_THIRD_PARTY_COMPANY_NAME = 186; + */ + const EXCHANGE_THIRD_PARTY_COMPANY_NAME = 186; + /** + * The ID of the first look pricing rule. + * Corresponds to "First look pricing rule ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum FIRST_LOOK_PRICING_RULE_ID = 248; + */ + const FIRST_LOOK_PRICING_RULE_ID = 248; + /** + * The name of the first look pricing rule. + * Corresponds to "First look pricing rule" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum FIRST_LOOK_PRICING_RULE_NAME = 249; + */ + const FIRST_LOOK_PRICING_RULE_NAME = 249; + /** + * Whether a first-party user identifier was present on a given + * ad-request. + * Corresponds to "First-party ID status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum FIRST_PARTY_ID_STATUS = 404; + */ + const FIRST_PARTY_ID_STATUS = 404; + /** + * The localized name of whether a first-party user identifier was present + * on a given ad-request. + * Corresponds to "First-party ID status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum FIRST_PARTY_ID_STATUS_NAME = 405; + */ + const FIRST_PARTY_ID_STATUS_NAME = 405; + /** + * User gender enum value returned from Google Analytics. + * Corresponds to "Gender value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum GENDER = 509; + */ + const GENDER = 509; + /** + * Localized user gender returned from Google Analytics. For example, + * "male", "female". + * Corresponds to "Gender" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum GENDER_NAME = 583; + */ + const GENDER_NAME = 583; + /** + * The ID of a Google Analytics stream. For example, web site or mobile app + * Corresponds to "Google Analytics stream ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_STREAM_ID = 519; + */ + const GOOGLE_ANALYTICS_STREAM_ID = 519; + /** + * The name of a Google Analytics stream. For example, + * web site or mobile app. + * Corresponds to "Google Analytics stream" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_STREAM_NAME = 520; + */ + const GOOGLE_ANALYTICS_STREAM_NAME = 520; + /** + * The ID of the header bidding trafficking yield partner. + * Corresponds to "Yield partner ID (header bidding trafficking)" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum HBT_YIELD_PARTNER_ID = 659; + */ + const HBT_YIELD_PARTNER_ID = 659; + /** + * The name of the header bidding trafficking yield partner. + * Corresponds to "Yield partner (header bidding trafficking)" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum HBT_YIELD_PARTNER_NAME = 660; + */ + const HBT_YIELD_PARTNER_NAME = 660; + /** + * Header Bidder integration type. + * Corresponds to "Header bidder integration type value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum HEADER_BIDDER_INTEGRATION_TYPE = 718; + */ + const HEADER_BIDDER_INTEGRATION_TYPE = 718; + /** + * Localized name of the Header Bidder integration type. + * Corresponds to "Header bidder integration type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum HEADER_BIDDER_INTEGRATION_TYPE_NAME = 719; + */ + const HEADER_BIDDER_INTEGRATION_TYPE_NAME = 719; + /** + * Breaks down reporting data by hour in one day. + * Corresponds to "Hour" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO`, `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR`, + * `ON_PLATFORM_MULTICALL` + * Data format: `INTEGER` + * + * Generated from protobuf enum HOUR = 100; + */ + const HOUR = 100; + /** + * Impression Counting Method ENUM. + * Corresponds to "Impression counting method value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum IMPRESSION_COUNTING_METHOD = 577; + */ + const IMPRESSION_COUNTING_METHOD = 577; + /** + * Localized impression counting method name. + * Corresponds to "Impression counting method" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum IMPRESSION_COUNTING_METHOD_NAME = 578; + */ + const IMPRESSION_COUNTING_METHOD_NAME = 578; + /** + * The interaction type of an ad. + * Corresponds to "Interaction type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum INTERACTION_TYPE = 223; + */ + const INTERACTION_TYPE = 223; + /** + * The localized name of the interaction type of an ad. + * Corresponds to "Interaction type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INTERACTION_TYPE_NAME = 224; + */ + const INTERACTION_TYPE_NAME = 224; + /** + * User interest returned from Google Analytics. + * Corresponds to "Interests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INTEREST = 510; + */ + const INTEREST = 510; + /** + * Inventory format. + * The format of the ad unit (e.g, banner) where the ad was requested. + * Corresponds to "Inventory format value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum INVENTORY_FORMAT = 17; + */ + const INVENTORY_FORMAT = 17; + /** + * Inventory format name. + * The format of the ad unit (e.g, banner) where the ad was requested. + * Corresponds to "Inventory format" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_FORMAT_NAME = 18; + */ + const INVENTORY_FORMAT_NAME = 18; + /** + * The ID of the inventory share assignment. + * Corresponds to "Inventory share assignment ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum INVENTORY_SHARE_ASSIGNMENT_ID = 648; + */ + const INVENTORY_SHARE_ASSIGNMENT_ID = 648; + /** + * The name of the inventory share assignment. + * Corresponds to "Inventory share assignment" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_SHARE_ASSIGNMENT_NAME = 649; + */ + const INVENTORY_SHARE_ASSIGNMENT_NAME = 649; + /** + * The result of an inventory share. + * Corresponds to "Inventory share outcome value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum INVENTORY_SHARE_OUTCOME = 603; + */ + const INVENTORY_SHARE_OUTCOME = 603; + /** + * The localized name of the result of an inventory share. + * Corresponds to "Inventory share outcome" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_SHARE_OUTCOME_NAME = 604; + */ + const INVENTORY_SHARE_OUTCOME_NAME = 604; + /** + * The partner ad server of the inventory share. + * Corresponds to "Inventory share partner ad server value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum INVENTORY_SHARE_PARTNER_AD_SERVER = 652; + */ + const INVENTORY_SHARE_PARTNER_AD_SERVER = 652; + /** + * The localized name of the partner ad server. + * Corresponds to "Inventory share partner ad server" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_SHARE_PARTNER_AD_SERVER_NAME = 653; + */ + const INVENTORY_SHARE_PARTNER_AD_SERVER_NAME = 653; + /** + * The target share percent of the inventory share assignment + * Corresponds to "Partner target share percent" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum INVENTORY_SHARE_TARGET_SHARE_PERCENT = 654; + */ + const INVENTORY_SHARE_TARGET_SHARE_PERCENT = 654; + /** + * The type of the inventory share. + * Corresponds to "Inventory share type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum INVENTORY_SHARE_TYPE = 650; + */ + const INVENTORY_SHARE_TYPE = 650; + /** + * The localized name of the inventory share type. + * Corresponds to "Inventory share type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_SHARE_TYPE_NAME = 651; + */ + const INVENTORY_SHARE_TYPE_NAME = 651; + /** + * Inventory type. + * The kind of web page or device where the ad was requested. + * Corresponds to "Inventory type (expanded) value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `ENUM` + * + * Generated from protobuf enum INVENTORY_TYPE = 19; + */ + const INVENTORY_TYPE = 19; + /** + * Inventory type name. + * The kind of web page or device where the ad was requested. + * Corresponds to "Inventory type (expanded)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum INVENTORY_TYPE_NAME = 20; + */ + const INVENTORY_TYPE_NAME = 20; + /** + * Whether traffic is Adx Direct. + * Corresponds to "Is AdX Direct" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum IS_ADX_DIRECT = 382; + */ + const IS_ADX_DIRECT = 382; + /** + * If curation was targeted by the buyer when buying the impression + * Corresponds to "Is curation targeted" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum IS_CURATION_TARGETED = 574; + */ + const IS_CURATION_TARGETED = 574; + /** + * Whether the query was dropped. + * Corresponds to "Is Dropped" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum IS_DROPPED = 464; + */ + const IS_DROPPED = 464; + /** + * Whether traffic is First Look. + * Corresponds to "Is First Look" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum IS_FIRST_LOOK_DEAL = 401; + */ + const IS_FIRST_LOOK_DEAL = 401; + /** + * The Custom Targeting Value ID + * Corresponds to "Key-values ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum KEY_VALUES_ID = 214; + */ + const KEY_VALUES_ID = 214; + /** + * The Custom Targeting Value formatted like `{keyName}={valueName}` + * Corresponds to "Key-values" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH` + * Data format: `STRING` + * + * Generated from protobuf enum KEY_VALUES_NAME = 215; + */ + const KEY_VALUES_NAME = 215; + /** + * The custom criteria key-values specified in ad requests. + * Corresponds to "Key-values" in the Ad Manager UI. + * Compatible with the following report types: + * Data format: `STRING_LIST` + * + * Generated from protobuf enum KEY_VALUES_SET = 713; + */ + const KEY_VALUES_SET = 713; + /** + * The agency of the order associated with the line item. + * Corresponds to "Line item agency" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_AGENCY = 663; + */ + const LINE_ITEM_AGENCY = 663; + /** + * Whether a Line item is archived. + * Corresponds to "Line item is archived" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum LINE_ITEM_ARCHIVED = 188; + */ + const LINE_ITEM_ARCHIVED = 188; + /** + * The average number of viewers for the line item. + * Corresponds to "Nielsen average number of viewers" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DOUBLE` + * + * Generated from protobuf enum LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS = 694; + */ + const LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS = 694; + /** + * Line item companion delivery option ENUM value. + * Corresponds to "Line item companion delivery option value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: + * [LineItemCompanionDeliveryType][google.ads.admanager.v1.LineItemCompanionDeliveryTypeEnum.LineItemCompanionDeliveryType] + * + * Generated from protobuf enum LINE_ITEM_COMPANION_DELIVERY_OPTION = 204; + */ + const LINE_ITEM_COMPANION_DELIVERY_OPTION = 204; + /** + * Localized line item companion delivery option name. + * Corresponds to "Line item companion delivery option" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_COMPANION_DELIVERY_OPTION_NAME = 205; + */ + const LINE_ITEM_COMPANION_DELIVERY_OPTION_NAME = 205; + /** + * The computed status of the LineItem. + * Corresponds to "Line item computed status value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `ENUM` + * Values: + * [LineItemComputedStatus][google.ads.admanager.v1.LineItemComputedStatusEnum.LineItemComputedStatus] + * + * Generated from protobuf enum LINE_ITEM_COMPUTED_STATUS = 250; + */ + const LINE_ITEM_COMPUTED_STATUS = 250; + /** + * The localized name of the computed status of the LineItem. + * Corresponds to "Line item computed status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_COMPUTED_STATUS_NAME = 251; + */ + const LINE_ITEM_COMPUTED_STATUS_NAME = 251; + /** + * The contracted units bought for the Line item. + * Corresponds to "Line item contracted quantity" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_CONTRACTED_QUANTITY = 92; + */ + const LINE_ITEM_CONTRACTED_QUANTITY = 92; + /** + * The cost per unit of the Line item. + * Corresponds to "Line item rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `MONEY` + * + * Generated from protobuf enum LINE_ITEM_COST_PER_UNIT = 85; + */ + const LINE_ITEM_COST_PER_UNIT = 85; + /** + * Line item cost type ENUM value. + * Corresponds to "Line item cost type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `ENUM` + * Values: + * [LineItemCostType][google.ads.admanager.v1.LineItemCostTypeEnum.LineItemCostType] + * + * Generated from protobuf enum LINE_ITEM_COST_TYPE = 212; + */ + const LINE_ITEM_COST_TYPE = 212; + /** + * Localized line item cost type name. + * Corresponds to "Line item cost type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_COST_TYPE_NAME = 213; + */ + const LINE_ITEM_COST_TYPE_NAME = 213; + /** + * Represent the end date of a creative associated with line item + * Corresponds to "Line item creative end date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DATE` + * + * Generated from protobuf enum LINE_ITEM_CREATIVE_END_DATE = 176; + */ + const LINE_ITEM_CREATIVE_END_DATE = 176; + /** + * The creative rotation type of the LineItem. + * Corresponds to "Line item creative rotation type value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: + * [CreativeRotationType][google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType] + * + * Generated from protobuf enum LINE_ITEM_CREATIVE_ROTATION_TYPE = 189; + */ + const LINE_ITEM_CREATIVE_ROTATION_TYPE = 189; + /** + * The localized name of the creative rotation type of the LineItem. + * Corresponds to "Line item creative rotation type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_CREATIVE_ROTATION_TYPE_NAME = 190; + */ + const LINE_ITEM_CREATIVE_ROTATION_TYPE_NAME = 190; + /** + * Represent the start date of a creative associated with line item + * Corresponds to "Line item creative start date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DATE` + * + * Generated from protobuf enum LINE_ITEM_CREATIVE_START_DATE = 175; + */ + const LINE_ITEM_CREATIVE_START_DATE = 175; + /** + * The 3 letter currency code of the Line Item + * Corresponds to "Line item currency code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_CURRENCY_CODE = 180; + */ + const LINE_ITEM_CURRENCY_CODE = 180; + /** + * The progress made for the delivery of the Line item. + * Corresponds to "Line item delivery indicator" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `REAL_TIME_VIDEO` + * Data format: `PERCENT` + * + * Generated from protobuf enum LINE_ITEM_DELIVERY_INDICATOR = 87; + */ + const LINE_ITEM_DELIVERY_INDICATOR = 87; + /** + * The delivery rate type of the LineItem. + * Corresponds to "Line item delivery rate type value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `ENUM` + * Values: + * [LineItemDeliveryRateType][google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType] + * + * Generated from protobuf enum LINE_ITEM_DELIVERY_RATE_TYPE = 191; + */ + const LINE_ITEM_DELIVERY_RATE_TYPE = 191; + /** + * The localized name of the delivery rate type of the LineItem. + * Corresponds to "Line item delivery rate type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_DELIVERY_RATE_TYPE_NAME = 192; + */ + const LINE_ITEM_DELIVERY_RATE_TYPE_NAME = 192; + /** + * The discount of the LineItem in whole units in the LineItem's currency + * code, or if unspecified the Network's currency code. + * Corresponds to "Line item discount (absolute)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `MONEY` + * + * Generated from protobuf enum LINE_ITEM_DISCOUNT_ABSOLUTE = 195; + */ + const LINE_ITEM_DISCOUNT_ABSOLUTE = 195; + /** + * The discount of the LineItem in percentage. + * Corresponds to "Line item discount (percentage)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `WHOLE_PERCENT` + * + * Generated from protobuf enum LINE_ITEM_DISCOUNT_PERCENTAGE = 196; + */ + const LINE_ITEM_DISCOUNT_PERCENTAGE = 196; + /** + * The end date of the Line item. + * Corresponds to "Line item end date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `DATE` + * + * Generated from protobuf enum LINE_ITEM_END_DATE = 81; + */ + const LINE_ITEM_END_DATE = 81; + /** + * The end date and time of the Line item. + * Corresponds to "Line item end time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `TIMESTAMP` + * + * Generated from protobuf enum LINE_ITEM_END_DATE_TIME = 83; + */ + const LINE_ITEM_END_DATE_TIME = 83; + /** + * The ENUM value of the environment a LineItem is targeting. + * Corresponds to "Line item environment type value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: + * [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] + * + * Generated from protobuf enum LINE_ITEM_ENVIRONMENT_TYPE = 201; + */ + const LINE_ITEM_ENVIRONMENT_TYPE = 201; + /** + * The localized name of the environment a LineItem is targeting. + * Corresponds to "Line item environment type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_ENVIRONMENT_TYPE_NAME = 202; + */ + const LINE_ITEM_ENVIRONMENT_TYPE_NAME = 202; + /** + * The deal ID of the Line item. Set for Programmatic Direct campaigns. + * Corresponds to "Line item deal ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum LINE_ITEM_EXTERNAL_DEAL_ID = 97; + */ + const LINE_ITEM_EXTERNAL_DEAL_ID = 97; + /** + * The external ID of the Line item. + * Corresponds to "Line item external ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_EXTERNAL_ID = 86; + */ + const LINE_ITEM_EXTERNAL_ID = 86; + /** + * The frequency cap of the Line item (descriptive string). + * Corresponds to "Line item frequency cap" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_FREQUENCY_CAP = 256; + */ + const LINE_ITEM_FREQUENCY_CAP = 256; + /** + * Line item ID. + * Corresponds to "Line item ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum LINE_ITEM_ID = 1; + */ + const LINE_ITEM_ID = 1; + /** + * Line item labels. + * Corresponds to "Line item labels" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum LINE_ITEM_LABELS = 667; + */ + const LINE_ITEM_LABELS = 667; + /** + * Line item label IDs. + * Corresponds to "Line item label IDs" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum LINE_ITEM_LABEL_IDS = 665; + */ + const LINE_ITEM_LABEL_IDS = 665; + /** + * The application that last modified the Line Item. + * Corresponds to "Line item last modified by app" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_LAST_MODIFIED_BY_APP = 181; + */ + const LINE_ITEM_LAST_MODIFIED_BY_APP = 181; + /** + * The total number of clicks delivered of the lifetime of the Line item. + * Corresponds to "Line item lifetime clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_LIFETIME_CLICKS = 95; + */ + const LINE_ITEM_LIFETIME_CLICKS = 95; + /** + * The total number of impressions delivered over the lifetime of the + * Line item. + * Corresponds to "Line item lifetime impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_LIFETIME_IMPRESSIONS = 94; + */ + const LINE_ITEM_LIFETIME_IMPRESSIONS = 94; + /** + * The total number of viewable impressions delivered over the lifetime of + * the Line item. + * Corresponds to "Line item lifetime viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_LIFETIME_VIEWABLE_IMPRESSIONS = 96; + */ + const LINE_ITEM_LIFETIME_VIEWABLE_IMPRESSIONS = 96; + /** + * Whether or not the Line item is Makegood. Makegood refers to free + * inventory offered to buyers to compensate for mistakes or under-delivery + * in the original campaigns. + * Corresponds to "Line item is makegood" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum LINE_ITEM_MAKEGOOD = 89; + */ + const LINE_ITEM_MAKEGOOD = 89; + /** + * Line item Name. + * Corresponds to "Line item" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO`, + * `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_NAME = 2; + */ + const LINE_ITEM_NAME = 2; + /** + * The cost of booking for the Line item (non-CPD). + * Corresponds to "Line item booked revenue (exclude CPD)" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `MONEY` + * + * Generated from protobuf enum LINE_ITEM_NON_CPD_BOOKED_REVENUE = 98; + */ + const LINE_ITEM_NON_CPD_BOOKED_REVENUE = 98; + /** + * Whether a Line item is eligible for optimization. + * Corresponds to "Line item is optimizable" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum LINE_ITEM_OPTIMIZABLE = 90; + */ + const LINE_ITEM_OPTIMIZABLE = 90; + /** + * The PO number of the order associated with the line item. + * Corresponds to "Line item PO number" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_PO_NUMBER = 669; + */ + const LINE_ITEM_PO_NUMBER = 669; + /** + * Goal type ENUM value of the primary goal of the line item. + * Corresponds to "Line item primary goal type value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: [GoalType][google.ads.admanager.v1.GoalTypeEnum.GoalType] + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_TYPE = 210; + */ + const LINE_ITEM_PRIMARY_GOAL_TYPE = 210; + /** + * Localized goal type name of the primary goal of the line item. + * Corresponds to "Line item primary goal type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_TYPE_NAME = 211; + */ + const LINE_ITEM_PRIMARY_GOAL_TYPE_NAME = 211; + /** + * The total number of impressions or clicks that are reserved for a + * line item. For line items of type BULK or PRICE_PRIORITY, this + * represents the number of remaining impressions reserved. If the line + * item has an impression cap goal, this represents the number of + * impressions or conversions that the line item will stop serving at if + * reached. + * Corresponds to "Line item primary goal units (absolute)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_UNITS_ABSOLUTE = 93; + */ + const LINE_ITEM_PRIMARY_GOAL_UNITS_ABSOLUTE = 93; + /** + * The percentage of impressions or clicks that are reserved for a + * line item. For line items of type SPONSORSHIP, this represents the + * percentage of available impressions reserved. For line items of type + * NETWORK or HOUSE, this represents the percentage of remaining + * impressions reserved. + * Corresponds to "Line item primary goal units (percentage)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `WHOLE_PERCENT` + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_UNITS_PERCENTAGE = 396; + */ + const LINE_ITEM_PRIMARY_GOAL_UNITS_PERCENTAGE = 396; + /** + * Unit type ENUM value of the primary goal of the line item. + * Corresponds to "Line item primary goal unit type value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: [UnitType][google.ads.admanager.v1.UnitTypeEnum.UnitType] + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE = 208; + */ + const LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE = 208; + /** + * Localized unit type name of the primary goal of the line item. + * Corresponds to "Line item primary goal unit type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE_NAME = 209; + */ + const LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE_NAME = 209; + /** + * The priority of this Line item as a value between 1 and 16. + * In general, a lower priority means more serving priority for the + * Line item. + * Corresponds to "Line item priority" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum LINE_ITEM_PRIORITY = 24; + */ + const LINE_ITEM_PRIORITY = 24; + /** + * ENUM value describing the state of inventory reservation for the + * LineItem. + * Corresponds to "Line item reservation status value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * Values: + * [LineItemReservationStatus][google.ads.admanager.v1.LineItemReservationStatusEnum.LineItemReservationStatus] + * + * Generated from protobuf enum LINE_ITEM_RESERVATION_STATUS = 304; + */ + const LINE_ITEM_RESERVATION_STATUS = 304; + /** + * Localized string describing the state of inventory reservation for the + * LineItem. + * Corresponds to "Line item reservation status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_RESERVATION_STATUS_NAME = 305; + */ + const LINE_ITEM_RESERVATION_STATUS_NAME = 305; + /** + * The sales person of the order associated with the line item. + * Corresponds to "Line item salesperson" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_SALESPERSON = 671; + */ + const LINE_ITEM_SALESPERSON = 671; + /** + * The secondary sales people of the order associated with the line item. + * Corresponds to "Line item secondary salespeople" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum LINE_ITEM_SECONDARY_SALESPEOPLE = 673; + */ + const LINE_ITEM_SECONDARY_SALESPEOPLE = 673; + /** + * The secondary traffickers of the order associated with the line item. + * Corresponds to "Line item secondary traffickers" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum LINE_ITEM_SECONDARY_TRAFFICKERS = 675; + */ + const LINE_ITEM_SECONDARY_TRAFFICKERS = 675; + /** + * The start date of the Line item. + * Corresponds to "Line item start date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `DATE` + * + * Generated from protobuf enum LINE_ITEM_START_DATE = 82; + */ + const LINE_ITEM_START_DATE = 82; + /** + * The start date and time of the Line item. + * Corresponds to "Line item start time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `TIMESTAMP` + * + * Generated from protobuf enum LINE_ITEM_START_DATE_TIME = 84; + */ + const LINE_ITEM_START_DATE_TIME = 84; + /** + * The trafficker of the order associated with the line item. + * Corresponds to "Line item trafficker" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_TRAFFICKER = 677; + */ + const LINE_ITEM_TRAFFICKER = 677; + /** + * Line item type ENUM value. + * Corresponds to "Line item type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `ENUM` + * Values: + * [LineItemType][google.ads.admanager.v1.LineItemTypeEnum.LineItemType] + * + * Generated from protobuf enum LINE_ITEM_TYPE = 193; + */ + const LINE_ITEM_TYPE = 193; + /** + * Localized line item type name. + * Corresponds to "Line item type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_TYPE_NAME = 194; + */ + const LINE_ITEM_TYPE_NAME = 194; + /** + * Whether the Line item end time and end date is set to effectively never + * end. + * Corresponds to "Line item is unlimited end time" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `REAL_TIME_VIDEO` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum LINE_ITEM_UNLIMITED_END = 187; + */ + const LINE_ITEM_UNLIMITED_END = 187; + /** + * The artificial cost per unit used by the Ad server to help rank + * inventory. + * Corresponds to "Line item value cost per unit" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `MONEY` + * + * Generated from protobuf enum LINE_ITEM_VALUE_COST_PER_UNIT = 88; + */ + const LINE_ITEM_VALUE_COST_PER_UNIT = 88; + /** + * The web property code used for dynamic allocation Line Items. + * Corresponds to "Line item web property code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum LINE_ITEM_WEB_PROPERTY_CODE = 179; + */ + const LINE_ITEM_WEB_PROPERTY_CODE = 179; + /** + * The ID of creative, includes regular creatives, and master and companions + * in case of creative sets + * Corresponds to "Master and Companion creative ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum MASTER_COMPANION_CREATIVE_ID = 140; + */ + const MASTER_COMPANION_CREATIVE_ID = 140; + /** + * Name of creative, includes regular creatives, and master and companions + * in case of creative sets + * Corresponds to "Master and Companion creative" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MASTER_COMPANION_CREATIVE_NAME = 141; + */ + const MASTER_COMPANION_CREATIVE_NAME = 141; + /** + * Mediation type. + * Corresponds to "Mediation type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum MEDIATION_TYPE = 701; + */ + const MEDIATION_TYPE = 701; + /** + * Localized mediation type name. + * Corresponds to "Mediation type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MEDIATION_TYPE_NAME = 754; + */ + const MEDIATION_TYPE_NAME = 754; + /** + * The ID of the yield partner for Mediation. + * Corresponds to "Yield partner ID (mediation)" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum MEDIATION_YIELD_PARTNER_ID = 661; + */ + const MEDIATION_YIELD_PARTNER_ID = 661; + /** + * The name of the yield partner for Mediation. + * Corresponds to "Yield partner (mediation)" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum MEDIATION_YIELD_PARTNER_NAME = 662; + */ + const MEDIATION_YIELD_PARTNER_NAME = 662; + /** + * The criteria ID of the metro area in which the ad served. + * Corresponds to "Metro ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum METRO_ID = 453; + */ + const METRO_ID = 453; + /** + * The name of the metro area in which the ad served. + * Corresponds to "Metro" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum METRO_NAME = 454; + */ + const METRO_NAME = 454; + /** + * Whether the mobile app is free. + * Corresponds to "App is free" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum MOBILE_APP_FREE = 128; + */ + const MOBILE_APP_FREE = 128; + /** + * URL of app icon for the mobile app. + * Corresponds to "App icon URL" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_APP_ICON_URL = 129; + */ + const MOBILE_APP_ICON_URL = 129; + /** + * The ID of the Mobile App. + * Corresponds to "App ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_APP_ID = 123; + */ + const MOBILE_APP_ID = 123; + /** + * The name of the mobile app. + * Corresponds to "App" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_APP_NAME = 127; + */ + const MOBILE_APP_NAME = 127; + /** + * Ownership status of the mobile app. + * Corresponds to "App ownership status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum MOBILE_APP_OWNERSHIP_STATUS = 311; + */ + const MOBILE_APP_OWNERSHIP_STATUS = 311; + /** + * Ownership status of the mobile app. + * Corresponds to "App ownership status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_APP_OWNERSHIP_STATUS_NAME = 312; + */ + const MOBILE_APP_OWNERSHIP_STATUS_NAME = 312; + /** + * The App Store of the mobile app. + * Corresponds to "App store value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum MOBILE_APP_STORE = 125; + */ + const MOBILE_APP_STORE = 125; + /** + * The localized name of the mobile app store. + * Corresponds to "App store" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_APP_STORE_NAME = 245; + */ + const MOBILE_APP_STORE_NAME = 245; + /** + * Mobile inventory type. + * Identifies whether a mobile ad came from a regular web page, an AMP web + * page, or a mobile app. + * Values match the Inventory type dimension available in the Overview Home + * dashboard. Note: Video takes precedence over any other value, for + * example, if there is an in-stream video impression on a desktop device, + * it will be attributed to in-stream video and not desktop web. + * Corresponds to "Inventory type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `ENUM` + * + * Generated from protobuf enum MOBILE_INVENTORY_TYPE = 99; + */ + const MOBILE_INVENTORY_TYPE = 99; + /** + * Mobile inventory type name. + * Identifies whether a mobile ad came from a regular web page, an AMP web + * page, or a mobile app. + * Corresponds to "Inventory type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_INVENTORY_TYPE_NAME = 21; + */ + const MOBILE_INVENTORY_TYPE_NAME = 21; + /** + * Mobile rendering SDK. + * Corresponds to "Rendering SDK value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION` + * Data format: `ENUM` + * + * Generated from protobuf enum MOBILE_RENDERING_SDK = 646; + */ + const MOBILE_RENDERING_SDK = 646; + /** + * Localized name of the Mobile rendering SDK. + * Corresponds to "Rendering SDK" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_RENDERING_SDK_NAME = 647; + */ + const MOBILE_RENDERING_SDK_NAME = 647; + /** + * The major version of the mobile SDK. + * Corresponds to "App SDK major version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum MOBILE_SDK_MAJOR_VERSION = 692; + */ + const MOBILE_SDK_MAJOR_VERSION = 692; + /** + * The minor version of the mobile SDK. + * Corresponds to "App SDK minor version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum MOBILE_SDK_MINOR_VERSION = 693; + */ + const MOBILE_SDK_MINOR_VERSION = 693; + /** + * SDK version of the mobile device. + * Corresponds to "App SDK version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum MOBILE_SDK_VERSION_NAME = 130; + */ + const MOBILE_SDK_VERSION_NAME = 130; + /** + * Breaks down reporting data by month and year. + * Corresponds to "Month and year" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, + * `REVENUE_VERIFICATION`, `PARTNER_FINANCE`, `YOUTUBE_CONSOLIDATED`, + * `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum MONTH_YEAR = 6; + */ + const MONTH_YEAR = 6; + /** + * Native ad format ID. + * Corresponds to "Native ad format ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum NATIVE_AD_FORMAT_ID = 255; + */ + const NATIVE_AD_FORMAT_ID = 255; + /** + * Native ad format name. + * Corresponds to "Native ad format" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum NATIVE_AD_FORMAT_NAME = 254; + */ + const NATIVE_AD_FORMAT_NAME = 254; + /** + * Native style ID. + * Corresponds to "Native style ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum NATIVE_STYLE_ID = 253; + */ + const NATIVE_STYLE_ID = 253; + /** + * Native style name. + * Corresponds to "Native style" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum NATIVE_STYLE_NAME = 252; + */ + const NATIVE_STYLE_NAME = 252; + /** + * Nielsen demographics (gender and age group). + * Corresponds to "Nielsen Digital Ad Ratings demographics value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `REACH` + * Data format: `ENUM` + * + * Generated from protobuf enum NIELSEN_DEMOGRAPHICS = 695; + */ + const NIELSEN_DEMOGRAPHICS = 695; + /** + * Name of the Nielsen demographics (gender and age group). + * Corresponds to "Nielsen Digital Ad Ratings demographics" in the Ad + * Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum NIELSEN_DEMOGRAPHICS_NAME = 768; + */ + const NIELSEN_DEMOGRAPHICS_NAME = 768; + /** + * Nielsen device. + * Corresponds to "Nielsen Digital Ad Ratings device value" in the Ad + * Manager UI (when showing API fields). + * Compatible with the following report types: `REACH` + * Data format: `ENUM` + * + * Generated from protobuf enum NIELSEN_DEVICE = 696; + */ + const NIELSEN_DEVICE = 696; + /** + * Name of the Nielsen device. + * Corresponds to "Nielsen Digital Ad Ratings device" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum NIELSEN_DEVICE_NAME = 697; + */ + const NIELSEN_DEVICE_NAME = 697; + /** + * Nielsen in target + * Corresponds to "Nielsen in-target" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum NIELSEN_IN_TARGET = 769; + */ + const NIELSEN_IN_TARGET = 769; + /** + * Data restatement date of Nielsen Digital Ad Ratings data. + * Corresponds to "Nielsen Digital Ad Ratings restatement date" in the Ad + * Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DATE` + * + * Generated from protobuf enum NIELSEN_RESTATEMENT_DATE = 698; + */ + const NIELSEN_RESTATEMENT_DATE = 698; + /** + * Campaign date segment of Nielsen Digital Ad Ratings reporting. + * Corresponds to "Nielsen Digital Ad Ratings segment" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DATE_RANGE` + * + * Generated from protobuf enum NIELSEN_SEGMENT = 699; + */ + const NIELSEN_SEGMENT = 699; + /** + * Site URL of Nielsen Digital Ad Ratings data. + * Corresponds to "Nielsen Site URL" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum NIELSEN_SITE_URL = 700; + */ + const NIELSEN_SITE_URL = 700; + /** + * No fill reason category name in the Ads traffic navigator report. + * Corresponds to "No fill reason category" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum NO_FILL_REASON_CATEGORY_NAME = 587; + */ + const NO_FILL_REASON_CATEGORY_NAME = 587; + /** + * Operating system category. + * Corresponds to "Operating system category value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `ENUM` + * + * Generated from protobuf enum OPERATING_SYSTEM_CATEGORY = 117; + */ + const OPERATING_SYSTEM_CATEGORY = 117; + /** + * Operating system category name. + * Corresponds to "Operating system category" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum OPERATING_SYSTEM_CATEGORY_NAME = 118; + */ + const OPERATING_SYSTEM_CATEGORY_NAME = 118; + /** + * ID of the operating system version. + * Corresponds to "Operating system ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum OPERATING_SYSTEM_VERSION_ID = 238; + */ + const OPERATING_SYSTEM_VERSION_ID = 238; + /** + * Details of the operating system, including version. + * Corresponds to "Operating system" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum OPERATING_SYSTEM_VERSION_NAME = 237; + */ + const OPERATING_SYSTEM_VERSION_NAME = 237; + /** + * Enum value of the optimization type. + * Corresponds to "Optimization type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum OPTIMIZATION_TYPE = 639; + */ + const OPTIMIZATION_TYPE = 639; + /** + * Localized name of the optimization type. + * Corresponds to "Optimization type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum OPTIMIZATION_TYPE_NAME = 640; + */ + const OPTIMIZATION_TYPE_NAME = 640; + /** + * Order agency. + * Corresponds to "Order agency" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_AGENCY = 150; + */ + const ORDER_AGENCY = 150; + /** + * Order agency ID. + * Corresponds to "Order agency ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ORDER_AGENCY_ID = 151; + */ + const ORDER_AGENCY_ID = 151; + /** + * Order booked CPC. + * Corresponds to "Order booked CPC" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum ORDER_BOOKED_CPC = 152; + */ + const ORDER_BOOKED_CPC = 152; + /** + * Order booked CPM. + * Corresponds to "Order booked CPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum ORDER_BOOKED_CPM = 153; + */ + const ORDER_BOOKED_CPM = 153; + /** + * Order delivery status ENUM value. + * Corresponds to "Order delivery status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * Values: + * [OrderDeliveryStatus][google.ads.admanager.v1.OrderDeliveryStatusEnum.OrderDeliveryStatus] + * + * Generated from protobuf enum ORDER_DELIVERY_STATUS = 231; + */ + const ORDER_DELIVERY_STATUS = 231; + /** + * Order delivery status localized name. + * Corresponds to "Order delivery status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_DELIVERY_STATUS_NAME = 239; + */ + const ORDER_DELIVERY_STATUS_NAME = 239; + /** + * Order end date. + * Corresponds to "Order end date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `DATE` + * + * Generated from protobuf enum ORDER_END_DATE = 154; + */ + const ORDER_END_DATE = 154; + /** + * Order end date and time. + * Corresponds to "Order end time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `TIMESTAMP` + * + * Generated from protobuf enum ORDER_END_DATE_TIME = 155; + */ + const ORDER_END_DATE_TIME = 155; + /** + * Order external ID. + * Corresponds to "Order external ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ORDER_EXTERNAL_ID = 156; + */ + const ORDER_EXTERNAL_ID = 156; + /** + * Order ID. + * Corresponds to "Order ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ORDER_ID = 7; + */ + const ORDER_ID = 7; + /** + * Order labels. + * Corresponds to "Order labels" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum ORDER_LABELS = 170; + */ + const ORDER_LABELS = 170; + /** + * Order labels IDs. + * Corresponds to "Order label IDs" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum ORDER_LABEL_IDS = 171; + */ + const ORDER_LABEL_IDS = 171; + /** + * Order lifetime clicks. + * Corresponds to "Order lifetime clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `INTEGER` + * + * Generated from protobuf enum ORDER_LIFETIME_CLICKS = 158; + */ + const ORDER_LIFETIME_CLICKS = 158; + /** + * Order lifetime impressions. + * Corresponds to "Order lifetime impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `INTEGER` + * + * Generated from protobuf enum ORDER_LIFETIME_IMPRESSIONS = 159; + */ + const ORDER_LIFETIME_IMPRESSIONS = 159; + /** + * Order name. + * Corresponds to "Order" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED`, `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_NAME = 8; + */ + const ORDER_NAME = 8; + /** + * Order PO number. + * Corresponds to "Order PO number" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_PO_NUMBER = 160; + */ + const ORDER_PO_NUMBER = 160; + /** + * Whether the Order is programmatic. + * Corresponds to "Order is programmatic" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum ORDER_PROGRAMMATIC = 157; + */ + const ORDER_PROGRAMMATIC = 157; + /** + * Order sales person. + * Corresponds to "Order salesperson" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_SALESPERSON = 161; + */ + const ORDER_SALESPERSON = 161; + /** + * Order sales person ID. + * Corresponds to "Order salesperson ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ORDER_SALESPERSON_ID = 629; + */ + const ORDER_SALESPERSON_ID = 629; + /** + * Order secondary sales people. + * Corresponds to "Order secondary salespeople" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum ORDER_SECONDARY_SALESPEOPLE = 164; + */ + const ORDER_SECONDARY_SALESPEOPLE = 164; + /** + * Order secondary sales people ID. + * Corresponds to "Order secondary salespeople ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum ORDER_SECONDARY_SALESPEOPLE_ID = 165; + */ + const ORDER_SECONDARY_SALESPEOPLE_ID = 165; + /** + * Order secondary traffickers. + * Corresponds to "Order secondary traffickers" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum ORDER_SECONDARY_TRAFFICKERS = 166; + */ + const ORDER_SECONDARY_TRAFFICKERS = 166; + /** + * Order secondary traffickers ID. + * Corresponds to "Order secondary trafficker IDs" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum ORDER_SECONDARY_TRAFFICKERS_ID = 167; + */ + const ORDER_SECONDARY_TRAFFICKERS_ID = 167; + /** + * Order start date. + * Corresponds to "Order start date" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `DATE` + * + * Generated from protobuf enum ORDER_START_DATE = 168; + */ + const ORDER_START_DATE = 168; + /** + * Order start date and time. + * Corresponds to "Order start time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `TIMESTAMP` + * + * Generated from protobuf enum ORDER_START_DATE_TIME = 169; + */ + const ORDER_START_DATE_TIME = 169; + /** + * Order trafficker. + * Corresponds to "Order trafficker" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `STRING` + * + * Generated from protobuf enum ORDER_TRAFFICKER = 162; + */ + const ORDER_TRAFFICKER = 162; + /** + * Order trafficker ID. + * Corresponds to "Order trafficker ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum ORDER_TRAFFICKER_ID = 163; + */ + const ORDER_TRAFFICKER_ID = 163; + /** + * Whether the Order end time and end date is set to effectively never + * end. + * Corresponds to "Order is unlimited end time" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `AD_SPEED` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum ORDER_UNLIMITED_END = 203; + */ + const ORDER_UNLIMITED_END = 203; + /** + * Page path is the part of a page URL that comes after the domain but + * before the query strings from Google Analytics. + * Corresponds to "Page path" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PAGE_PATH = 511; + */ + const PAGE_PATH = 511; + /** + * Page title (web) and screen class (mobile) returned from Google + * Analytics. + * Corresponds to "Page title and screen class" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PAGE_TITLE_AND_SCREEN_CLASS = 512; + */ + const PAGE_TITLE_AND_SCREEN_CLASS = 512; + /** + * Page title (web) and screen name (mobile) returned from Google Analytics. + * Corresponds to "Page title and screen name" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PAGE_TITLE_AND_SCREEN_NAME = 513; + */ + const PAGE_TITLE_AND_SCREEN_NAME = 513; + /** + * The ID of a partner management assignment. + * Corresponds to "Partner management assignment ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PARTNER_FINANCE` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_ASSIGNMENT_ID = 657; + */ + const PARTNER_MANAGEMENT_ASSIGNMENT_ID = 657; + /** + * The name of a partner management assignment. + * Corresponds to "Partner management assignment" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PARTNER_FINANCE` + * Data format: `STRING` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_ASSIGNMENT_NAME = 658; + */ + const PARTNER_MANAGEMENT_ASSIGNMENT_NAME = 658; + /** + * The ID of a partner in a partner management assignment. + * Corresponds to "Partner management partner ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PARTNER_FINANCE` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_PARTNER_ID = 655; + */ + const PARTNER_MANAGEMENT_PARTNER_ID = 655; + /** + * The name of a partner in a partner management assignment. + * Corresponds to "Partner management partner" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PARTNER_FINANCE` + * Data format: `STRING` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_PARTNER_NAME = 656; + */ + const PARTNER_MANAGEMENT_PARTNER_NAME = 656; + /** + * Placement ID + * Corresponds to "Placement ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum PLACEMENT_ID = 113; + */ + const PLACEMENT_ID = 113; + /** + * The full list of placement IDs associated with the ad unit. + * Corresponds to "Placement ID (all)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum PLACEMENT_ID_ALL = 144; + */ + const PLACEMENT_ID_ALL = 144; + /** + * Placement name + * Corresponds to "Placement" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum PLACEMENT_NAME = 114; + */ + const PLACEMENT_NAME = 114; + /** + * The full list of placement names associated with the ad unit. + * Corresponds to "Placement (all)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum PLACEMENT_NAME_ALL = 145; + */ + const PLACEMENT_NAME_ALL = 145; + /** + * Placement status ENUM value + * Corresponds to "Placement status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH` + * Data format: `ENUM` + * Values: + * [PlacementStatus][google.ads.admanager.v1.PlacementStatusEnum.PlacementStatus] + * + * Generated from protobuf enum PLACEMENT_STATUS = 362; + */ + const PLACEMENT_STATUS = 362; + /** + * Localized placement status name. + * Corresponds to "Placement status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH` + * Data format: `STRING` + * + * Generated from protobuf enum PLACEMENT_STATUS_NAME = 364; + */ + const PLACEMENT_STATUS_NAME = 364; + /** + * The full list of localized placement status names associated with the ad + * unit. + * Corresponds to "Placement status (all)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum PLACEMENT_STATUS_NAME_ALL = 365; + */ + const PLACEMENT_STATUS_NAME_ALL = 365; + /** + * The criteria ID of the postal code in which the ad served. + * Corresponds to "Postal code ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum POSTAL_CODE_ID = 455; + */ + const POSTAL_CODE_ID = 455; + /** + * The name of the postal code in which the ad served. + * Corresponds to "Postal code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum POSTAL_CODE_NAME = 456; + */ + const POSTAL_CODE_NAME = 456; + /** + * Indicates the valid PPID (Publisher provided identifier) status on a + * given ad request. + * Corresponds to "PPID status value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum PPID_STATUS = 406; + */ + const PPID_STATUS = 406; + /** + * The localized name of that indicates the valid PPID (Publisher provided + * identifier) status on a given ad request. + * Corresponds to "PPID status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PPID_STATUS_NAME = 407; + */ + const PPID_STATUS_NAME = 407; + /** + * Predicted viewability score bucket. + * Corresponds to "Predicted viewability bucket value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum PREDICTED_VIEWABILITY_BUCKET = 633; + */ + const PREDICTED_VIEWABILITY_BUCKET = 633; + /** + * The localized name of the predicted viewability score bucket. + * Corresponds to "Predicted viewability bucket" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PREDICTED_VIEWABILITY_BUCKET_NAME = 634; + */ + const PREDICTED_VIEWABILITY_BUCKET_NAME = 634; + /** + * The ID of the secure signals sent in the ad request. + * Corresponds to "Secure signal ID (presented)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum PRESENTED_SECURE_SIGNAL_ID = 495; + */ + const PRESENTED_SECURE_SIGNAL_ID = 495; + /** + * The name of the secure signals sent in the ad request. + * Corresponds to "Secure signal name (presented)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PRESENTED_SECURE_SIGNAL_NAME = 496; + */ + const PRESENTED_SECURE_SIGNAL_NAME = 496; + /** + * Pricing rule ID dimension + * Corresponds to "Pricing rule ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum PRICING_RULE_ID = 393; + */ + const PRICING_RULE_ID = 393; + /** + * Pricing rule name dimension + * Corresponds to "Pricing rule" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PRICING_RULE_NAME = 394; + */ + const PRICING_RULE_NAME = 394; + /** + * The ID type selected for personalization. + * Corresponds to "Primary personalization ID type value" in the Ad Manager + * UI (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum PRIMARY_PERSONALIZATION_ID_TYPE = 408; + */ + const PRIMARY_PERSONALIZATION_ID_TYPE = 408; + /** + * The localized name of the ID type selected for personalization. + * Corresponds to "Primary personalization ID type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PRIMARY_PERSONALIZATION_ID_TYPE_NAME = 409; + */ + const PRIMARY_PERSONALIZATION_ID_TYPE_NAME = 409; + /** + * Programmatic channel. + * The type of transaction that occurred in Ad Exchange. + * Corresponds to "Programmatic channel value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REVENUE_VERIFICATION` + * Data format: `ENUM` + * + * Generated from protobuf enum PROGRAMMATIC_CHANNEL = 13; + */ + const PROGRAMMATIC_CHANNEL = 13; + /** + * Programmatic channel name. + * The type of transaction that occurred in Ad Exchange. + * Corresponds to "Programmatic channel" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `REACH`, + * `REVENUE_VERIFICATION` + * Data format: `STRING` + * + * Generated from protobuf enum PROGRAMMATIC_CHANNEL_NAME = 14; + */ + const PROGRAMMATIC_CHANNEL_NAME = 14; + /** + * External code ID of a publisher provided signal (all levels). + * Corresponds to "Publisher provided signals external code (all levels)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_EXTERNAL_CODE = 410; + */ + const PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_EXTERNAL_CODE = 410; + /** + * The ancestor chain of IDs of a publisher provided signal (all levels). + * Corresponds to "Publisher provided signals ID (all levels)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_IDS = 546; + */ + const PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_IDS = 546; + /** + * The ancestor chain of names of a publisher provided signal (all levels). + * Corresponds to "Publisher provided signals (all levels)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_NAME = 412; + */ + const PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_NAME = 412; + /** + * Tier of a publisher provided signal (all levels). + * Corresponds to "Publisher provided signals tier (all levels)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TIER = 413; + */ + const PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TIER = 413; + /** + * Type of a publisher provided signal (all levels). + * Corresponds to "Publisher provided signals type (all levels)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TYPE = 414; + */ + const PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TYPE = 414; + /** + * External code ID of a publisher provided signal (delivered). + * Corresponds to "Publisher provided signals external code (delivered)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_DELIVERED_EXTERNAL_CODE = 425; + */ + const PUBLISHER_PROVIDED_SIGNALS_DELIVERED_EXTERNAL_CODE = 425; + /** + * The ancestor chain of IDs of a publisher provided signal (delivered). + * Corresponds to "Publisher provided signals ID (delivered)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER_LIST` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_DELIVERED_IDS = 545; + */ + const PUBLISHER_PROVIDED_SIGNALS_DELIVERED_IDS = 545; + /** + * The ancestor chain of names of a publisher provided signal (delivered). + * Corresponds to "Publisher provided signals (delivered)" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_DELIVERED_NAME = 427; + */ + const PUBLISHER_PROVIDED_SIGNALS_DELIVERED_NAME = 427; + /** + * Tier of a publisher provided signal (delivered). + * Corresponds to "Publisher provided signals tier (delivered)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TIER = 428; + */ + const PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TIER = 428; + /** + * Type of a publisher provided signal (delivered). + * Corresponds to "Publisher provided signals type (delivered)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TYPE = 429; + */ + const PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TYPE = 429; + /** + * External code ID of a publisher provided signal (top level). + * Corresponds to "Publisher provided signals external code (top level)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_EXTERNAL_CODE = 415; + */ + const PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_EXTERNAL_CODE = 415; + /** + * ID of a publisher provided signal (top level). + * Corresponds to "Publisher provided signals ID (top level)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_ID = 416; + */ + const PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_ID = 416; + /** + * Name of a publisher provided signal (top level). + * Corresponds to "Publisher provided signals (top level)" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING_LIST` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_NAME = 417; + */ + const PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_NAME = 417; + /** + * Tier of a publisher provided signal (top level). + * Corresponds to "Publisher provided signals tier (top level)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TIER = 418; + */ + const PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TIER = 418; + /** + * Type of a publisher provided signal (top level). + * Corresponds to "Publisher provided signals type (top level)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TYPE = 419; + */ + const PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TYPE = 419; + /** + * Data provider ID associated with a publisher provided signal. + * Corresponds to "Publisher provided signals (data provider ID)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_ID = 136; + */ + const PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_ID = 136; + /** + * Data provider name associated with a publisher provided signal. + * Corresponds to "Publisher provided signals (data provider)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_NAME = 137; + */ + const PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_NAME = 137; + /** + * The criteria ID of the region (for example, US state) in which the ad + * served. + * Corresponds to "Region ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum REGION_ID = 457; + */ + const REGION_ID = 457; + /** + * The name of the region (for example, US state) in which the ad + * served. + * Corresponds to "Region" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum REGION_NAME = 458; + */ + const REGION_NAME = 458; + /** + * The rejection class category name in the Ads traffic navigator report. + * Corresponds to "Rejection class category" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `STRING` + * + * Generated from protobuf enum REJECTION_CLASS_CATEGORY_NAME = 591; + */ + const REJECTION_CLASS_CATEGORY_NAME = 591; + /** + * The size of a rendered creative, It can differ with the creative's size + * if a creative is shown in an ad slot of a different size. + * Corresponds to "Rendered creative size" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED`, + * `OFF_PROPERTY_CAMPAIGNS` + * Data format: `STRING` + * + * Generated from protobuf enum RENDERED_CREATIVE_SIZE = 343; + */ + const RENDERED_CREATIVE_SIZE = 343; + /** + * Inventory Requested Ad Sizes dimension + * Corresponds to "Requested ad sizes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum REQUESTED_AD_SIZES = 352; + */ + const REQUESTED_AD_SIZES = 352; + /** + * Request type ENUM + * Corresponds to "Request type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `ENUM` + * + * Generated from protobuf enum REQUEST_TYPE = 146; + */ + const REQUEST_TYPE = 146; + /** + * Request type localized name + * Corresponds to "Request type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `STRING` + * + * Generated from protobuf enum REQUEST_TYPE_NAME = 147; + */ + const REQUEST_TYPE_NAME = 147; + /** + * Revenue Verification bidder-provided ID. + * Corresponds to "Revenue verification ID" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum REVENUE_VERIFICATION_ID = 645; + */ + const REVENUE_VERIFICATION_ID = 645; + /** + * Indicates if a request was eligible for server-side unwrapping. + * Corresponds to "Server-side unwrapping eligible" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_ELIGIBLE = 597; + */ + const SERVER_SIDE_UNWRAPPING_ELIGIBLE = 597; + /** + * The serving restriction mode for privacy. + * Corresponds to "Serving restriction value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum SERVING_RESTRICTION = 631; + */ + const SERVING_RESTRICTION = 631; + /** + * The localized name of the serving restriction mode for privacy. + * Corresponds to "Serving restriction" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum SERVING_RESTRICTION_NAME = 632; + */ + const SERVING_RESTRICTION_NAME = 632; + /** + * Information about domain or subdomains. + * Corresponds to "Site" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PRIVACY_AND_MESSAGING` + * Data format: `STRING` + * + * Generated from protobuf enum SITE = 387; + */ + const SITE = 387; + /** + * The ID of the browser, device or other environment into which a line item + * or creative was served. + * Corresponds to "Targeting ID" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum TARGETING_ID = 232; + */ + const TARGETING_ID = 232; + /** + * Information about the browser, device and other environments into which + * a line item or creative was served. + * Corresponds to "Targeting" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum TARGETING_NAME = 233; + */ + const TARGETING_NAME = 233; + /** + * The way in which advertisers targeted their ads. + * Corresponds to "Targeting type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum TARGETING_TYPE = 385; + */ + const TARGETING_TYPE = 385; + /** + * The localized name of the way in which advertisers targeted their ads. + * Corresponds to "Targeting type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum TARGETING_TYPE_NAME = 386; + */ + const TARGETING_TYPE_NAME = 386; + /** + * Targets customer matching list. Whether the query is siloed customer + * match attributed. + * Corresponds to "Targets customer matching list" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `BOOLEAN` + * + * Generated from protobuf enum TARGETS_CUSTOMER_MATCHING_LIST = 789; + */ + const TARGETS_CUSTOMER_MATCHING_LIST = 789; + /** + * Whether a third-party cookie or device ID was present on a given ad + * request. + * Corresponds to "Third-party ID status value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum THIRD_PARTY_ID_STATUS = 402; + */ + const THIRD_PARTY_ID_STATUS = 402; + /** + * The localized name of whether a third-party cookie or device ID was + * present on a given ad request. + * Corresponds to "Third-party ID status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum THIRD_PARTY_ID_STATUS_NAME = 403; + */ + const THIRD_PARTY_ID_STATUS_NAME = 403; + /** + * Reports the status of Topics in the ad request. + * Corresponds to "Topics status value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum TOPICS_STATUS = 504; + */ + const TOPICS_STATUS = 504; + /** + * The localized name of the status of Topics in the ad request. + * Corresponds to "Topics status" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum TOPICS_STATUS_NAME = 505; + */ + const TOPICS_STATUS_NAME = 505; + /** + * Inventory top private domain dimension + * Corresponds to "Domain" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `OFF_PROPERTY_CAMPAIGNS`, `PRIVACY_AND_MESSAGING` + * Data format: `STRING` + * + * Generated from protobuf enum TOP_PRIVATE_DOMAIN = 444; + */ + const TOP_PRIVATE_DOMAIN = 444; + /** + * Inventory Traffic source dimension + * Corresponds to "Traffic source value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum TRAFFIC_SOURCE = 388; + */ + const TRAFFIC_SOURCE = 388; + /** + * Inventory Traffic source dimension name + * Corresponds to "Traffic source" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum TRAFFIC_SOURCE_NAME = 389; + */ + const TRAFFIC_SOURCE_NAME = 389; + /** + * A URL defined under a publisher's inventory. + * Corresponds to "URL" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum URL = 506; + */ + const URL = 506; + /** + * A URL defined under a publisher's inventory. + * Corresponds to "URL ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum URL_ID = 507; + */ + const URL_ID = 507; + /** + * The choice made in a user message. + * Corresponds to "User choice value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `ENUM` + * + * Generated from protobuf enum USER_MESSAGES_CHOICE = 702; + */ + const USER_MESSAGES_CHOICE = 702; + /** + * Localized name of the choice made in a user message. + * Corresponds to "User choice" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `STRING` + * + * Generated from protobuf enum USER_MESSAGES_CHOICE_NAME = 703; + */ + const USER_MESSAGES_CHOICE_NAME = 703; + /** + * Enum value for the entitlement source. + * Corresponds to "Entitlement source value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `ENUM` + * + * Generated from protobuf enum USER_MESSAGES_ENTITLEMENT_SOURCE = 635; + */ + const USER_MESSAGES_ENTITLEMENT_SOURCE = 635; + /** + * The localized name of the entitlement source. + * Corresponds to "Entitlement source" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `STRING` + * + * Generated from protobuf enum USER_MESSAGES_ENTITLEMENT_SOURCE_NAME = 636; + */ + const USER_MESSAGES_ENTITLEMENT_SOURCE_NAME = 636; + /** + * Targeting criteria ID for the operating system group. Used for User + * Messages reports. + * Corresponds to "Operating system group ID" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID = 637; + */ + const USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID = 637; + /** + * The name of the operating system group. Used for User Messages reports. + * Corresponds to "Operating system group" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `STRING` + * + * Generated from protobuf enum USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_NAME = 638; + */ + const USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_NAME = 638; + /** + * The VAST version of the creative that is returned for an ad request. + * Corresponds to "Vast version value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VAST_VERSION = 554; + */ + const VAST_VERSION = 554; + /** + * The localized name of the VAST version of the creative that is returned + * for an ad request. + * Corresponds to "Vast version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VAST_VERSION_NAME = 555; + */ + const VAST_VERSION_NAME = 555; + /** + * The break type of a video ad request. + * Corresponds to "Video ad break type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_AD_BREAK_TYPE = 556; + */ + const VIDEO_AD_BREAK_TYPE = 556; + /** + * The localized name of the break type of a video ad request. + * Corresponds to "Video ad break type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_BREAK_TYPE_NAME = 557; + */ + const VIDEO_AD_BREAK_TYPE_NAME = 557; + /** + * Video ad duration + * Corresponds to "Video ad duration" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_DURATION = 450; + */ + const VIDEO_AD_DURATION = 450; + /** + * The name of the video ad formats rule used to control the ad formats + * eligible for your inventory. + * Corresponds to "Video ad formats rule" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_FORMATS_RULE = 561; + */ + const VIDEO_AD_FORMATS_RULE = 561; + /** + * The ID of the video ad formats rule used to control the ad formats + * eligible for your inventory. + * Corresponds to "Video ad formats rule ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum VIDEO_AD_FORMATS_RULE_ID = 560; + */ + const VIDEO_AD_FORMATS_RULE_ID = 560; + /** + * The duration of a video ad request. + * Corresponds to "Video ad request duration value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_AD_REQUEST_DURATION = 558; + */ + const VIDEO_AD_REQUEST_DURATION = 558; + /** + * The localized name of the midpoint of the duration of a video ad request. + * Corresponds to "Video ad request duration midpoint" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_REQUEST_DURATION_MIDPOINT_NAME = 751; + */ + const VIDEO_AD_REQUEST_DURATION_MIDPOINT_NAME = 751; + /** + * The localized name of the duration of a video ad request. + * Corresponds to "Video ad request duration" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_REQUEST_DURATION_NAME = 559; + */ + const VIDEO_AD_REQUEST_DURATION_NAME = 559; + /** + * The video ad request source enum. + * Corresponds to "Ad request source value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_AD_REQUEST_SOURCE = 438; + */ + const VIDEO_AD_REQUEST_SOURCE = 438; + /** + * The localized name of the video ad request source. + * Corresponds to "Ad request source" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_REQUEST_SOURCE_NAME = 439; + */ + const VIDEO_AD_REQUEST_SOURCE_NAME = 439; + /** + * Video ad type + * Corresponds to "Video ad type value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_AD_TYPE = 432; + */ + const VIDEO_AD_TYPE = 432; + /** + * Video ad type localized name + * Corresponds to "Video ad type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_AD_TYPE_NAME = 433; + */ + const VIDEO_AD_TYPE_NAME = 433; + /** + * The continuous play type of the video ad impression. + * Corresponds to "Video continuous play type value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_CONTINUOUS_PLAY_TYPE = 721; + */ + const VIDEO_CONTINUOUS_PLAY_TYPE = 721; + /** + * Video continuous play type localized name. + * Corresponds to "Video continuous play type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_CONTINUOUS_PLAY_TYPE_NAME = 722; + */ + const VIDEO_CONTINUOUS_PLAY_TYPE_NAME = 722; + /** + * Fallback position of the video ad. + * Corresponds to "Fallback position" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_FALLBACK_POSITION = 530; + */ + const VIDEO_FALLBACK_POSITION = 530; + /** + * The expected duration of the ad break in seconds for a live stream event. + * Corresponds to "Ad break duration (seconds)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION = 547; + */ + const VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION = 547; + /** + * The ID of the ad break in a live stream event. + * Corresponds to "Live stream ad break ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID = 548; + */ + const VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID = 548; + /** + * The name of the ad break in a live stream event. + * Corresponds to "Live stream ad break" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME = 549; + */ + const VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME = 549; + /** + * The time of the ad break in a live stream event in the format of + * YYYY-MM-DD HH:MM:SS+Timezone. + * Corresponds to "Ad break time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `TIMESTAMP` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME = 550; + */ + const VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME = 550; + /** + * The ID of the live stream event. + * Corresponds to "Live stream ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_ID = 551; + */ + const VIDEO_LIVE_STREAM_EVENT_ID = 551; + /** + * The name of the live stream event. + * Corresponds to "Live stream" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_LIVE_STREAM_EVENT_NAME = 552; + */ + const VIDEO_LIVE_STREAM_EVENT_NAME = 552; + /** + * The performance of the video ad inventory broken out by source. + * Corresponds to "Video measurement source value" in the Ad Manager UI + * (when showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_MEASUREMENT_SOURCE = 601; + */ + const VIDEO_MEASUREMENT_SOURCE = 601; + /** + * Video measurement source localized name. + * Corresponds to "Video measurement source" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_MEASUREMENT_SOURCE_NAME = 602; + */ + const VIDEO_MEASUREMENT_SOURCE_NAME = 602; + /** + * The video placement enum as defined by ADCOM 1.0-202303. + * Corresponds to "Video placement value" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_PLCMT = 172; + */ + const VIDEO_PLCMT = 172; + /** + * The localized name of the video placement as defined by ADCOM 1.0-202303. + * Corresponds to "Video placement" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_PLCMT_NAME = 173; + */ + const VIDEO_PLCMT_NAME = 173; + /** + * The position in the video pod. For example 0, 1, 2, etc. + * Corresponds to "Position in pod" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_POSITION_IN_POD = 538; + */ + const VIDEO_POSITION_IN_POD = 538; + /** + * The position of the pod in the video stream. For example pre-roll, + * mid-roll, post-roll. + * Corresponds to "Position of pod" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_POSITION_OF_POD = 539; + */ + const VIDEO_POSITION_OF_POD = 539; + /** + * The video SDK version enum. + * Corresponds to "Video SDK version value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_SDK_VERSION = 440; + */ + const VIDEO_SDK_VERSION = 440; + /** + * The localized name of the video SDK version. + * Corresponds to "Video SDK version" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `REAL_TIME_VIDEO` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_SDK_VERSION_NAME = 441; + */ + const VIDEO_SDK_VERSION_NAME = 441; + /** + * Video stitcher type. + * Corresponds to "Video stitcher type value" in the Ad Manager UI (when + * showing API fields). + * Compatible with the following report types: `HISTORICAL` + * Data format: `ENUM` + * + * Generated from protobuf enum VIDEO_STITCHER_TYPE = 752; + */ + const VIDEO_STITCHER_TYPE = 752; + /** + * Localized name of the video stitcher type. + * Corresponds to "Video stitcher type" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum VIDEO_STITCHER_TYPE_NAME = 753; + */ + const VIDEO_STITCHER_TYPE_NAME = 753; + /** + * Web property code + * Corresponds to "Web property code" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum WEB_PROPERTY_CODE = 730; + */ + const WEB_PROPERTY_CODE = 730; + /** + * Breaks down reporting data by week of the year. + * Corresponds to "Week" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `FUTURE_SELL_THROUGH`, `REACH`, `PRIVACY_AND_MESSAGING`, + * `YOUTUBE_CONSOLIDATED`, `OFF_PROPERTY_CAMPAIGNS`, `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum WEEK = 5; + */ + const WEEK = 5; + /** + * Name of the company within a yield group + * Corresponds to "Yield partner" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum YIELD_GROUP_BUYER_NAME = 184; + */ + const YIELD_GROUP_BUYER_NAME = 184; + /** + * Tag of the company within a yield group. + * Corresponds to "Yield group buyer tag" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum YIELD_GROUP_BUYER_TAG_NAME = 627; + */ + const YIELD_GROUP_BUYER_TAG_NAME = 627; + /** + * ID of the group of ad networks or exchanges used for Mediation and Open + * Bidding + * Corresponds to "Yield group ID" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `IDENTIFIER` + * + * Generated from protobuf enum YIELD_GROUP_ID = 182; + */ + const YIELD_GROUP_ID = 182; + /** + * Name of the group of ad networks or exchanges used for Mediation and Open + * Bidding + * Corresponds to "Yield group" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `STRING` + * + * Generated from protobuf enum YIELD_GROUP_NAME = 183; + */ + const YIELD_GROUP_NAME = 183; + /** + * YouTube instream ad duration bucket. + * Corresponds to "Ad duration value" in the Ad Manager UI (when showing API + * fields). + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `ENUM` + * + * Generated from protobuf enum YOUTUBE_AD_DURATION_BUCKET = 430; + */ + const YOUTUBE_AD_DURATION_BUCKET = 430; + /** + * YouTube instream ad duration bucket name. + * Corresponds to "Ad duration" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum YOUTUBE_AD_DURATION_BUCKET_NAME = 431; + */ + const YOUTUBE_AD_DURATION_BUCKET_NAME = 431; + /** + * YouTube instream Ad Type. + * Corresponds to "YouTube ad type ID" in the Ad Manager UI (when showing + * API fields). + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `ENUM` + * + * Generated from protobuf enum YOUTUBE_AD_TYPE = 399; + */ + const YOUTUBE_AD_TYPE = 399; + /** + * YouTube instream Ad Type localized name. + * Corresponds to "YouTube ad type" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `STRING` + * + * Generated from protobuf enum YOUTUBE_AD_TYPE_NAME = 400; + */ + const YOUTUBE_AD_TYPE_NAME = 400; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 0 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID = 10000; + */ + const LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID = 10000; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 1 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_1_OPTION_ID = 10001; + */ + const LINE_ITEM_CUSTOM_FIELD_1_OPTION_ID = 10001; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 2 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_2_OPTION_ID = 10002; + */ + const LINE_ITEM_CUSTOM_FIELD_2_OPTION_ID = 10002; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 3 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_3_OPTION_ID = 10003; + */ + const LINE_ITEM_CUSTOM_FIELD_3_OPTION_ID = 10003; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 4 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_4_OPTION_ID = 10004; + */ + const LINE_ITEM_CUSTOM_FIELD_4_OPTION_ID = 10004; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 5 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_5_OPTION_ID = 10005; + */ + const LINE_ITEM_CUSTOM_FIELD_5_OPTION_ID = 10005; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 6 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_6_OPTION_ID = 10006; + */ + const LINE_ITEM_CUSTOM_FIELD_6_OPTION_ID = 10006; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 7 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_7_OPTION_ID = 10007; + */ + const LINE_ITEM_CUSTOM_FIELD_7_OPTION_ID = 10007; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 8 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_8_OPTION_ID = 10008; + */ + const LINE_ITEM_CUSTOM_FIELD_8_OPTION_ID = 10008; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 9 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_9_OPTION_ID = 10009; + */ + const LINE_ITEM_CUSTOM_FIELD_9_OPTION_ID = 10009; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 10 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_10_OPTION_ID = 10010; + */ + const LINE_ITEM_CUSTOM_FIELD_10_OPTION_ID = 10010; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 11 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_11_OPTION_ID = 10011; + */ + const LINE_ITEM_CUSTOM_FIELD_11_OPTION_ID = 10011; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 12 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_12_OPTION_ID = 10012; + */ + const LINE_ITEM_CUSTOM_FIELD_12_OPTION_ID = 10012; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 13 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_13_OPTION_ID = 10013; + */ + const LINE_ITEM_CUSTOM_FIELD_13_OPTION_ID = 10013; + /** + * Custom field option ID for Line Item with custom field ID equal to the ID + * in index 14 of `ReportDefinition.line_item_custom_field_ids`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_14_OPTION_ID = 10014; + */ + const LINE_ITEM_CUSTOM_FIELD_14_OPTION_ID = 10014; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 0 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 0 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_0_VALUE = 11000; + */ + const LINE_ITEM_CUSTOM_FIELD_0_VALUE = 11000; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 1 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 1 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_1_VALUE = 11001; + */ + const LINE_ITEM_CUSTOM_FIELD_1_VALUE = 11001; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 2 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 2 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_2_VALUE = 11002; + */ + const LINE_ITEM_CUSTOM_FIELD_2_VALUE = 11002; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 3 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 3 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_3_VALUE = 11003; + */ + const LINE_ITEM_CUSTOM_FIELD_3_VALUE = 11003; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 4 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 4 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_4_VALUE = 11004; + */ + const LINE_ITEM_CUSTOM_FIELD_4_VALUE = 11004; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 5 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 5 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_5_VALUE = 11005; + */ + const LINE_ITEM_CUSTOM_FIELD_5_VALUE = 11005; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 6 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 6 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_6_VALUE = 11006; + */ + const LINE_ITEM_CUSTOM_FIELD_6_VALUE = 11006; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 7 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 7 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_7_VALUE = 11007; + */ + const LINE_ITEM_CUSTOM_FIELD_7_VALUE = 11007; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 8 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 8 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_8_VALUE = 11008; + */ + const LINE_ITEM_CUSTOM_FIELD_8_VALUE = 11008; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 9 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 9 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_9_VALUE = 11009; + */ + const LINE_ITEM_CUSTOM_FIELD_9_VALUE = 11009; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 10 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 10 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_10_VALUE = 11010; + */ + const LINE_ITEM_CUSTOM_FIELD_10_VALUE = 11010; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 11 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 11 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_11_VALUE = 11011; + */ + const LINE_ITEM_CUSTOM_FIELD_11_VALUE = 11011; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 12 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 12 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_12_VALUE = 11012; + */ + const LINE_ITEM_CUSTOM_FIELD_12_VALUE = 11012; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 13 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 13 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_13_VALUE = 11013; + */ + const LINE_ITEM_CUSTOM_FIELD_13_VALUE = 11013; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 14 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 14 is of + * type `STRING` or `DROPDOWN`. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_14_VALUE = 11014; + */ + const LINE_ITEM_CUSTOM_FIELD_14_VALUE = 11014; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 0 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 0 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_0_VALUE_DOUBLE = 11015; + */ + const LINE_ITEM_CUSTOM_FIELD_0_VALUE_DOUBLE = 11015; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 1 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 1 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_1_VALUE_DOUBLE = 11016; + */ + const LINE_ITEM_CUSTOM_FIELD_1_VALUE_DOUBLE = 11016; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 2 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 2 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_2_VALUE_DOUBLE = 11017; + */ + const LINE_ITEM_CUSTOM_FIELD_2_VALUE_DOUBLE = 11017; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 3 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 3 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_3_VALUE_DOUBLE = 11018; + */ + const LINE_ITEM_CUSTOM_FIELD_3_VALUE_DOUBLE = 11018; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 4 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 4 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_4_VALUE_DOUBLE = 11019; + */ + const LINE_ITEM_CUSTOM_FIELD_4_VALUE_DOUBLE = 11019; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 5 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 5 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_5_VALUE_DOUBLE = 11020; + */ + const LINE_ITEM_CUSTOM_FIELD_5_VALUE_DOUBLE = 11020; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 6 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 6 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_6_VALUE_DOUBLE = 11021; + */ + const LINE_ITEM_CUSTOM_FIELD_6_VALUE_DOUBLE = 11021; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 7 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 7 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_7_VALUE_DOUBLE = 11022; + */ + const LINE_ITEM_CUSTOM_FIELD_7_VALUE_DOUBLE = 11022; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 8 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 8 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_8_VALUE_DOUBLE = 11023; + */ + const LINE_ITEM_CUSTOM_FIELD_8_VALUE_DOUBLE = 11023; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 9 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 9 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_9_VALUE_DOUBLE = 11024; + */ + const LINE_ITEM_CUSTOM_FIELD_9_VALUE_DOUBLE = 11024; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 10 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 10 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_10_VALUE_DOUBLE = 11025; + */ + const LINE_ITEM_CUSTOM_FIELD_10_VALUE_DOUBLE = 11025; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 11 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 11 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_11_VALUE_DOUBLE = 11026; + */ + const LINE_ITEM_CUSTOM_FIELD_11_VALUE_DOUBLE = 11026; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 12 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 12 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_12_VALUE_DOUBLE = 11027; + */ + const LINE_ITEM_CUSTOM_FIELD_12_VALUE_DOUBLE = 11027; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 13 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 13 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_13_VALUE_DOUBLE = 11028; + */ + const LINE_ITEM_CUSTOM_FIELD_13_VALUE_DOUBLE = 11028; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 14 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 14 is of + * type DOUBLE. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_14_VALUE_DOUBLE = 11029; + */ + const LINE_ITEM_CUSTOM_FIELD_14_VALUE_DOUBLE = 11029; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 0 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 0 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_0_VALUE_BOOL = 11030; + */ + const LINE_ITEM_CUSTOM_FIELD_0_VALUE_BOOL = 11030; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 1 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 1 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_1_VALUE_BOOL = 11031; + */ + const LINE_ITEM_CUSTOM_FIELD_1_VALUE_BOOL = 11031; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 2 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 2 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_2_VALUE_BOOL = 11032; + */ + const LINE_ITEM_CUSTOM_FIELD_2_VALUE_BOOL = 11032; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 3 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 3 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_3_VALUE_BOOL = 11033; + */ + const LINE_ITEM_CUSTOM_FIELD_3_VALUE_BOOL = 11033; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 4 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 4 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_4_VALUE_BOOL = 11034; + */ + const LINE_ITEM_CUSTOM_FIELD_4_VALUE_BOOL = 11034; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 5 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 5 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_5_VALUE_BOOL = 11035; + */ + const LINE_ITEM_CUSTOM_FIELD_5_VALUE_BOOL = 11035; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 6 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 6 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_6_VALUE_BOOL = 11036; + */ + const LINE_ITEM_CUSTOM_FIELD_6_VALUE_BOOL = 11036; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 7 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 7 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_7_VALUE_BOOL = 11037; + */ + const LINE_ITEM_CUSTOM_FIELD_7_VALUE_BOOL = 11037; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 8 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 8 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_8_VALUE_BOOL = 11038; + */ + const LINE_ITEM_CUSTOM_FIELD_8_VALUE_BOOL = 11038; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 9 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 9 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_9_VALUE_BOOL = 11039; + */ + const LINE_ITEM_CUSTOM_FIELD_9_VALUE_BOOL = 11039; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 10 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 10 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_10_VALUE_BOOL = 11040; + */ + const LINE_ITEM_CUSTOM_FIELD_10_VALUE_BOOL = 11040; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 11 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 11 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_11_VALUE_BOOL = 11041; + */ + const LINE_ITEM_CUSTOM_FIELD_11_VALUE_BOOL = 11041; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 12 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 12 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_12_VALUE_BOOL = 11042; + */ + const LINE_ITEM_CUSTOM_FIELD_12_VALUE_BOOL = 11042; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 13 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 13 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_13_VALUE_BOOL = 11043; + */ + const LINE_ITEM_CUSTOM_FIELD_13_VALUE_BOOL = 11043; + /** + * Custom field value for Line Item with custom field ID equal to the ID + * in index 14 of `ReportDefinition.line_item_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 14 is of + * type BOOLEAN. + * + * Generated from protobuf enum LINE_ITEM_CUSTOM_FIELD_14_VALUE_BOOL = 11044; + */ + const LINE_ITEM_CUSTOM_FIELD_14_VALUE_BOOL = 11044; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 0 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_0_OPTION_ID = 12000; + */ + const ORDER_CUSTOM_FIELD_0_OPTION_ID = 12000; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 1 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_1_OPTION_ID = 12001; + */ + const ORDER_CUSTOM_FIELD_1_OPTION_ID = 12001; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 2 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_2_OPTION_ID = 12002; + */ + const ORDER_CUSTOM_FIELD_2_OPTION_ID = 12002; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 3 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_3_OPTION_ID = 12003; + */ + const ORDER_CUSTOM_FIELD_3_OPTION_ID = 12003; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 4 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_4_OPTION_ID = 12004; + */ + const ORDER_CUSTOM_FIELD_4_OPTION_ID = 12004; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 5 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_5_OPTION_ID = 12005; + */ + const ORDER_CUSTOM_FIELD_5_OPTION_ID = 12005; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 6 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_6_OPTION_ID = 12006; + */ + const ORDER_CUSTOM_FIELD_6_OPTION_ID = 12006; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 7 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_7_OPTION_ID = 12007; + */ + const ORDER_CUSTOM_FIELD_7_OPTION_ID = 12007; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 8 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_8_OPTION_ID = 12008; + */ + const ORDER_CUSTOM_FIELD_8_OPTION_ID = 12008; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 9 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_9_OPTION_ID = 12009; + */ + const ORDER_CUSTOM_FIELD_9_OPTION_ID = 12009; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 10 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_10_OPTION_ID = 12010; + */ + const ORDER_CUSTOM_FIELD_10_OPTION_ID = 12010; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 11 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_11_OPTION_ID = 12011; + */ + const ORDER_CUSTOM_FIELD_11_OPTION_ID = 12011; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 12 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_12_OPTION_ID = 12012; + */ + const ORDER_CUSTOM_FIELD_12_OPTION_ID = 12012; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 13 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_13_OPTION_ID = 12013; + */ + const ORDER_CUSTOM_FIELD_13_OPTION_ID = 12013; + /** + * Custom field option ID for Order with custom field ID equal to the ID + * in index 14 of `ReportDefinition.order_custom_field_ids`. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_14_OPTION_ID = 12014; + */ + const ORDER_CUSTOM_FIELD_14_OPTION_ID = 12014; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 0 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 0 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_0_VALUE = 13000; + */ + const ORDER_CUSTOM_FIELD_0_VALUE = 13000; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 1 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 1 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_1_VALUE = 13001; + */ + const ORDER_CUSTOM_FIELD_1_VALUE = 13001; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 2 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 2 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_2_VALUE = 13002; + */ + const ORDER_CUSTOM_FIELD_2_VALUE = 13002; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 3 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 3 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_3_VALUE = 13003; + */ + const ORDER_CUSTOM_FIELD_3_VALUE = 13003; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 4 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 4 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_4_VALUE = 13004; + */ + const ORDER_CUSTOM_FIELD_4_VALUE = 13004; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 5 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 5 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_5_VALUE = 13005; + */ + const ORDER_CUSTOM_FIELD_5_VALUE = 13005; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 6 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 6 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_6_VALUE = 13006; + */ + const ORDER_CUSTOM_FIELD_6_VALUE = 13006; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 7 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 7 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_7_VALUE = 13007; + */ + const ORDER_CUSTOM_FIELD_7_VALUE = 13007; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 8 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 8 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_8_VALUE = 13008; + */ + const ORDER_CUSTOM_FIELD_8_VALUE = 13008; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 9 of `ReportDefinition.order_custom_field_ids`. Treats the value + * as a string. Can only be used if the custom field at index 9 is of type + * STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_9_VALUE = 13009; + */ + const ORDER_CUSTOM_FIELD_9_VALUE = 13009; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 10 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 10 is of + * type STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_10_VALUE = 13010; + */ + const ORDER_CUSTOM_FIELD_10_VALUE = 13010; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 11 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 11 is of + * type STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_11_VALUE = 13011; + */ + const ORDER_CUSTOM_FIELD_11_VALUE = 13011; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 12 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 12 is of + * type STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_12_VALUE = 13012; + */ + const ORDER_CUSTOM_FIELD_12_VALUE = 13012; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 13 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 13 is of + * type STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_13_VALUE = 13013; + */ + const ORDER_CUSTOM_FIELD_13_VALUE = 13013; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 14 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 14 is of + * type STRING. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_14_VALUE = 13014; + */ + const ORDER_CUSTOM_FIELD_14_VALUE = 13014; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 0 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 0 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_0_VALUE_DOUBLE = 13015; + */ + const ORDER_CUSTOM_FIELD_0_VALUE_DOUBLE = 13015; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 1 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 1 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_1_VALUE_DOUBLE = 13016; + */ + const ORDER_CUSTOM_FIELD_1_VALUE_DOUBLE = 13016; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 2 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 2 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_2_VALUE_DOUBLE = 13017; + */ + const ORDER_CUSTOM_FIELD_2_VALUE_DOUBLE = 13017; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 3 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 3 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_3_VALUE_DOUBLE = 13018; + */ + const ORDER_CUSTOM_FIELD_3_VALUE_DOUBLE = 13018; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 4 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 4 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_4_VALUE_DOUBLE = 13019; + */ + const ORDER_CUSTOM_FIELD_4_VALUE_DOUBLE = 13019; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 5 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 5 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_5_VALUE_DOUBLE = 13020; + */ + const ORDER_CUSTOM_FIELD_5_VALUE_DOUBLE = 13020; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 6 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 6 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_6_VALUE_DOUBLE = 13021; + */ + const ORDER_CUSTOM_FIELD_6_VALUE_DOUBLE = 13021; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 7 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 7 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_7_VALUE_DOUBLE = 13022; + */ + const ORDER_CUSTOM_FIELD_7_VALUE_DOUBLE = 13022; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 8 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 8 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_8_VALUE_DOUBLE = 13023; + */ + const ORDER_CUSTOM_FIELD_8_VALUE_DOUBLE = 13023; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 9 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 9 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_9_VALUE_DOUBLE = 13024; + */ + const ORDER_CUSTOM_FIELD_9_VALUE_DOUBLE = 13024; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 10 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 10 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_10_VALUE_DOUBLE = 13025; + */ + const ORDER_CUSTOM_FIELD_10_VALUE_DOUBLE = 13025; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 11 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 11 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_11_VALUE_DOUBLE = 13026; + */ + const ORDER_CUSTOM_FIELD_11_VALUE_DOUBLE = 13026; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 12 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 12 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_12_VALUE_DOUBLE = 13027; + */ + const ORDER_CUSTOM_FIELD_12_VALUE_DOUBLE = 13027; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 13 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 13 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_13_VALUE_DOUBLE = 13028; + */ + const ORDER_CUSTOM_FIELD_13_VALUE_DOUBLE = 13028; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 14 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 14 is of + * type DOUBLE. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_14_VALUE_DOUBLE = 13029; + */ + const ORDER_CUSTOM_FIELD_14_VALUE_DOUBLE = 13029; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 0 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 0 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_0_VALUE_BOOL = 13030; + */ + const ORDER_CUSTOM_FIELD_0_VALUE_BOOL = 13030; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 1 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 1 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_1_VALUE_BOOL = 13031; + */ + const ORDER_CUSTOM_FIELD_1_VALUE_BOOL = 13031; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 2 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 2 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_2_VALUE_BOOL = 13032; + */ + const ORDER_CUSTOM_FIELD_2_VALUE_BOOL = 13032; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 3 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 3 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_3_VALUE_BOOL = 13033; + */ + const ORDER_CUSTOM_FIELD_3_VALUE_BOOL = 13033; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 4 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 4 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_4_VALUE_BOOL = 13034; + */ + const ORDER_CUSTOM_FIELD_4_VALUE_BOOL = 13034; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 5 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 5 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_5_VALUE_BOOL = 13035; + */ + const ORDER_CUSTOM_FIELD_5_VALUE_BOOL = 13035; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 6 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 6 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_6_VALUE_BOOL = 13036; + */ + const ORDER_CUSTOM_FIELD_6_VALUE_BOOL = 13036; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 7 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 7 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_7_VALUE_BOOL = 13037; + */ + const ORDER_CUSTOM_FIELD_7_VALUE_BOOL = 13037; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 8 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 8 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_8_VALUE_BOOL = 13038; + */ + const ORDER_CUSTOM_FIELD_8_VALUE_BOOL = 13038; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 9 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 9 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_9_VALUE_BOOL = 13039; + */ + const ORDER_CUSTOM_FIELD_9_VALUE_BOOL = 13039; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 10 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 10 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_10_VALUE_BOOL = 13040; + */ + const ORDER_CUSTOM_FIELD_10_VALUE_BOOL = 13040; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 11 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 11 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_11_VALUE_BOOL = 13041; + */ + const ORDER_CUSTOM_FIELD_11_VALUE_BOOL = 13041; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 12 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 12 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_12_VALUE_BOOL = 13042; + */ + const ORDER_CUSTOM_FIELD_12_VALUE_BOOL = 13042; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 13 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 13 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_13_VALUE_BOOL = 13043; + */ + const ORDER_CUSTOM_FIELD_13_VALUE_BOOL = 13043; + /** + * Custom field value for Order with custom field ID equal to the ID + * in index 14 of `ReportDefinition.order_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 14 is of + * type BOOLEAN. + * + * Generated from protobuf enum ORDER_CUSTOM_FIELD_14_VALUE_BOOL = 13044; + */ + const ORDER_CUSTOM_FIELD_14_VALUE_BOOL = 13044; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 0 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_0_OPTION_ID = 14000; + */ + const CREATIVE_CUSTOM_FIELD_0_OPTION_ID = 14000; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 1 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_1_OPTION_ID = 14001; + */ + const CREATIVE_CUSTOM_FIELD_1_OPTION_ID = 14001; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 2 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_2_OPTION_ID = 14002; + */ + const CREATIVE_CUSTOM_FIELD_2_OPTION_ID = 14002; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 3 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_3_OPTION_ID = 14003; + */ + const CREATIVE_CUSTOM_FIELD_3_OPTION_ID = 14003; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 4 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_4_OPTION_ID = 14004; + */ + const CREATIVE_CUSTOM_FIELD_4_OPTION_ID = 14004; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 5 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_5_OPTION_ID = 14005; + */ + const CREATIVE_CUSTOM_FIELD_5_OPTION_ID = 14005; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 6 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_6_OPTION_ID = 14006; + */ + const CREATIVE_CUSTOM_FIELD_6_OPTION_ID = 14006; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 7 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_7_OPTION_ID = 14007; + */ + const CREATIVE_CUSTOM_FIELD_7_OPTION_ID = 14007; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 8 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_8_OPTION_ID = 14008; + */ + const CREATIVE_CUSTOM_FIELD_8_OPTION_ID = 14008; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 9 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_9_OPTION_ID = 14009; + */ + const CREATIVE_CUSTOM_FIELD_9_OPTION_ID = 14009; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 10 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_10_OPTION_ID = 14010; + */ + const CREATIVE_CUSTOM_FIELD_10_OPTION_ID = 14010; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 11 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_11_OPTION_ID = 14011; + */ + const CREATIVE_CUSTOM_FIELD_11_OPTION_ID = 14011; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 12 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_12_OPTION_ID = 14012; + */ + const CREATIVE_CUSTOM_FIELD_12_OPTION_ID = 14012; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 13 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_13_OPTION_ID = 14013; + */ + const CREATIVE_CUSTOM_FIELD_13_OPTION_ID = 14013; + /** + * Custom field option ID for Creative with custom field ID equal to the ID + * in index 14 of `ReportDefinition.creative_custom_field_ids`. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_14_OPTION_ID = 14014; + */ + const CREATIVE_CUSTOM_FIELD_14_OPTION_ID = 14014; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 0 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 0 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_0_VALUE = 15000; + */ + const CREATIVE_CUSTOM_FIELD_0_VALUE = 15000; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 1 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 1 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_1_VALUE = 15001; + */ + const CREATIVE_CUSTOM_FIELD_1_VALUE = 15001; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 2 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 2 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_2_VALUE = 15002; + */ + const CREATIVE_CUSTOM_FIELD_2_VALUE = 15002; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 3 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 3 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_3_VALUE = 15003; + */ + const CREATIVE_CUSTOM_FIELD_3_VALUE = 15003; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 4 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 4 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_4_VALUE = 15004; + */ + const CREATIVE_CUSTOM_FIELD_4_VALUE = 15004; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 5 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 5 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_5_VALUE = 15005; + */ + const CREATIVE_CUSTOM_FIELD_5_VALUE = 15005; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 6 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 6 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_6_VALUE = 15006; + */ + const CREATIVE_CUSTOM_FIELD_6_VALUE = 15006; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 7 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 7 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_7_VALUE = 15007; + */ + const CREATIVE_CUSTOM_FIELD_7_VALUE = 15007; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 8 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 8 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_8_VALUE = 15008; + */ + const CREATIVE_CUSTOM_FIELD_8_VALUE = 15008; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 9 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 9 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_9_VALUE = 15009; + */ + const CREATIVE_CUSTOM_FIELD_9_VALUE = 15009; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 10 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 10 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_10_VALUE = 15010; + */ + const CREATIVE_CUSTOM_FIELD_10_VALUE = 15010; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 11 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 11 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_11_VALUE = 15011; + */ + const CREATIVE_CUSTOM_FIELD_11_VALUE = 15011; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 12 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 12 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_12_VALUE = 15012; + */ + const CREATIVE_CUSTOM_FIELD_12_VALUE = 15012; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 13 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 13 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_13_VALUE = 15013; + */ + const CREATIVE_CUSTOM_FIELD_13_VALUE = 15013; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 14 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as a string. Can only be used if the custom field at index 14 is of + * type STRING. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_14_VALUE = 15014; + */ + const CREATIVE_CUSTOM_FIELD_14_VALUE = 15014; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 0 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 0 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_0_VALUE_DOUBLE = 15015; + */ + const CREATIVE_CUSTOM_FIELD_0_VALUE_DOUBLE = 15015; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 1 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 1 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_1_VALUE_DOUBLE = 15016; + */ + const CREATIVE_CUSTOM_FIELD_1_VALUE_DOUBLE = 15016; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 2 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 2 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_2_VALUE_DOUBLE = 15017; + */ + const CREATIVE_CUSTOM_FIELD_2_VALUE_DOUBLE = 15017; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 3 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 3 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_3_VALUE_DOUBLE = 15018; + */ + const CREATIVE_CUSTOM_FIELD_3_VALUE_DOUBLE = 15018; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 4 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 4 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_4_VALUE_DOUBLE = 15019; + */ + const CREATIVE_CUSTOM_FIELD_4_VALUE_DOUBLE = 15019; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 5 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 5 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_5_VALUE_DOUBLE = 15020; + */ + const CREATIVE_CUSTOM_FIELD_5_VALUE_DOUBLE = 15020; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 6 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 6 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_6_VALUE_DOUBLE = 15021; + */ + const CREATIVE_CUSTOM_FIELD_6_VALUE_DOUBLE = 15021; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 7 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 7 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_7_VALUE_DOUBLE = 15022; + */ + const CREATIVE_CUSTOM_FIELD_7_VALUE_DOUBLE = 15022; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 8 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 8 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_8_VALUE_DOUBLE = 15023; + */ + const CREATIVE_CUSTOM_FIELD_8_VALUE_DOUBLE = 15023; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 9 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 9 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_9_VALUE_DOUBLE = 15024; + */ + const CREATIVE_CUSTOM_FIELD_9_VALUE_DOUBLE = 15024; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 10 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 10 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_10_VALUE_DOUBLE = 15025; + */ + const CREATIVE_CUSTOM_FIELD_10_VALUE_DOUBLE = 15025; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 11 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 11 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_11_VALUE_DOUBLE = 15026; + */ + const CREATIVE_CUSTOM_FIELD_11_VALUE_DOUBLE = 15026; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 12 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 12 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_12_VALUE_DOUBLE = 15027; + */ + const CREATIVE_CUSTOM_FIELD_12_VALUE_DOUBLE = 15027; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 13 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 13 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_13_VALUE_DOUBLE = 15028; + */ + const CREATIVE_CUSTOM_FIELD_13_VALUE_DOUBLE = 15028; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 14 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as double. Can only be used if the custom field at index 14 is of + * type DOUBLE. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_14_VALUE_DOUBLE = 15029; + */ + const CREATIVE_CUSTOM_FIELD_14_VALUE_DOUBLE = 15029; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 0 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 0 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_0_VALUE_BOOL = 15030; + */ + const CREATIVE_CUSTOM_FIELD_0_VALUE_BOOL = 15030; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 1 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 1 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_1_VALUE_BOOL = 15031; + */ + const CREATIVE_CUSTOM_FIELD_1_VALUE_BOOL = 15031; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 2 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 2 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_2_VALUE_BOOL = 15032; + */ + const CREATIVE_CUSTOM_FIELD_2_VALUE_BOOL = 15032; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 3 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 3 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_3_VALUE_BOOL = 15033; + */ + const CREATIVE_CUSTOM_FIELD_3_VALUE_BOOL = 15033; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 4 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 4 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_4_VALUE_BOOL = 15034; + */ + const CREATIVE_CUSTOM_FIELD_4_VALUE_BOOL = 15034; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 5 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 5 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_5_VALUE_BOOL = 15035; + */ + const CREATIVE_CUSTOM_FIELD_5_VALUE_BOOL = 15035; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 6 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 6 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_6_VALUE_BOOL = 15036; + */ + const CREATIVE_CUSTOM_FIELD_6_VALUE_BOOL = 15036; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 7 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 7 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_7_VALUE_BOOL = 15037; + */ + const CREATIVE_CUSTOM_FIELD_7_VALUE_BOOL = 15037; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 8 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 8 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_8_VALUE_BOOL = 15038; + */ + const CREATIVE_CUSTOM_FIELD_8_VALUE_BOOL = 15038; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 9 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 9 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_9_VALUE_BOOL = 15039; + */ + const CREATIVE_CUSTOM_FIELD_9_VALUE_BOOL = 15039; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 10 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 10 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_10_VALUE_BOOL = 15040; + */ + const CREATIVE_CUSTOM_FIELD_10_VALUE_BOOL = 15040; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 11 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 11 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_11_VALUE_BOOL = 15041; + */ + const CREATIVE_CUSTOM_FIELD_11_VALUE_BOOL = 15041; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 12 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 12 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_12_VALUE_BOOL = 15042; + */ + const CREATIVE_CUSTOM_FIELD_12_VALUE_BOOL = 15042; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 13 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 13 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_13_VALUE_BOOL = 15043; + */ + const CREATIVE_CUSTOM_FIELD_13_VALUE_BOOL = 15043; + /** + * Custom field value for Creative with custom field ID equal to the ID + * in index 14 of `ReportDefinition.creative_custom_field_ids`. Treats the + * value as boolean. Can only be used if the custom field at index 14 is of + * type BOOLEAN. + * + * Generated from protobuf enum CREATIVE_CUSTOM_FIELD_14_VALUE_BOOL = 15044; + */ + const CREATIVE_CUSTOM_FIELD_14_VALUE_BOOL = 15044; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 0 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_0_VALUE_ID = 102000; + */ + const CMS_METADATA_DIMENSION_0_VALUE_ID = 102000; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 1 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_1_VALUE_ID = 102001; + */ + const CMS_METADATA_DIMENSION_1_VALUE_ID = 102001; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 2 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_2_VALUE_ID = 102002; + */ + const CMS_METADATA_DIMENSION_2_VALUE_ID = 102002; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 3 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_3_VALUE_ID = 102003; + */ + const CMS_METADATA_DIMENSION_3_VALUE_ID = 102003; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 4 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_4_VALUE_ID = 102004; + */ + const CMS_METADATA_DIMENSION_4_VALUE_ID = 102004; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 5 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_5_VALUE_ID = 102005; + */ + const CMS_METADATA_DIMENSION_5_VALUE_ID = 102005; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 6 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_6_VALUE_ID = 102006; + */ + const CMS_METADATA_DIMENSION_6_VALUE_ID = 102006; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 7 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_7_VALUE_ID = 102007; + */ + const CMS_METADATA_DIMENSION_7_VALUE_ID = 102007; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 8 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_8_VALUE_ID = 102008; + */ + const CMS_METADATA_DIMENSION_8_VALUE_ID = 102008; + /** + * CMS Metadata Dimension Value ID for CMS Metadata Dimension with key equal + * to the key in index 9 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_9_VALUE_ID = 102009; + */ + const CMS_METADATA_DIMENSION_9_VALUE_ID = 102009; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 9 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_0_VALUE = 103000; + */ + const CMS_METADATA_DIMENSION_0_VALUE = 103000; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 1 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_1_VALUE = 103001; + */ + const CMS_METADATA_DIMENSION_1_VALUE = 103001; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 2 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_2_VALUE = 103002; + */ + const CMS_METADATA_DIMENSION_2_VALUE = 103002; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 3 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_3_VALUE = 103003; + */ + const CMS_METADATA_DIMENSION_3_VALUE = 103003; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 4 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_4_VALUE = 103004; + */ + const CMS_METADATA_DIMENSION_4_VALUE = 103004; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 5 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_5_VALUE = 103005; + */ + const CMS_METADATA_DIMENSION_5_VALUE = 103005; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 6 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_6_VALUE = 103006; + */ + const CMS_METADATA_DIMENSION_6_VALUE = 103006; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 7 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_7_VALUE = 103007; + */ + const CMS_METADATA_DIMENSION_7_VALUE = 103007; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 8 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_8_VALUE = 103008; + */ + const CMS_METADATA_DIMENSION_8_VALUE = 103008; + /** + * CMS Metadata Dimension Value Name for CMS Metadata Dimension with key + * equal to the key in index 9 of + * `ReportDefinition.cms_metadata_dimension_key_ids`. + * + * Generated from protobuf enum CMS_METADATA_DIMENSION_9_VALUE = 103009; + */ + const CMS_METADATA_DIMENSION_9_VALUE = 103009; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 0 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_0_VALUE_ID = 100000; + */ + const CUSTOM_DIMENSION_0_VALUE_ID = 100000; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 1 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_1_VALUE_ID = 100001; + */ + const CUSTOM_DIMENSION_1_VALUE_ID = 100001; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 2 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_2_VALUE_ID = 100002; + */ + const CUSTOM_DIMENSION_2_VALUE_ID = 100002; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 3 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_3_VALUE_ID = 100003; + */ + const CUSTOM_DIMENSION_3_VALUE_ID = 100003; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 4 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_4_VALUE_ID = 100004; + */ + const CUSTOM_DIMENSION_4_VALUE_ID = 100004; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 5 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_5_VALUE_ID = 100005; + */ + const CUSTOM_DIMENSION_5_VALUE_ID = 100005; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 6 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_6_VALUE_ID = 100006; + */ + const CUSTOM_DIMENSION_6_VALUE_ID = 100006; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 9 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_7_VALUE_ID = 100007; + */ + const CUSTOM_DIMENSION_7_VALUE_ID = 100007; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 8 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_8_VALUE_ID = 100008; + */ + const CUSTOM_DIMENSION_8_VALUE_ID = 100008; + /** + * Custom Dimension Value ID for Custom Dimension with key equal to the key + * in index 9 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_9_VALUE_ID = 100009; + */ + const CUSTOM_DIMENSION_9_VALUE_ID = 100009; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 0 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_0_VALUE = 101000; + */ + const CUSTOM_DIMENSION_0_VALUE = 101000; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 1 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_1_VALUE = 101001; + */ + const CUSTOM_DIMENSION_1_VALUE = 101001; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 2 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_2_VALUE = 101002; + */ + const CUSTOM_DIMENSION_2_VALUE = 101002; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 3 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_3_VALUE = 101003; + */ + const CUSTOM_DIMENSION_3_VALUE = 101003; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 4 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_4_VALUE = 101004; + */ + const CUSTOM_DIMENSION_4_VALUE = 101004; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 5 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_5_VALUE = 101005; + */ + const CUSTOM_DIMENSION_5_VALUE = 101005; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 6 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_6_VALUE = 101006; + */ + const CUSTOM_DIMENSION_6_VALUE = 101006; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 7 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_7_VALUE = 101007; + */ + const CUSTOM_DIMENSION_7_VALUE = 101007; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 8 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_8_VALUE = 101008; + */ + const CUSTOM_DIMENSION_8_VALUE = 101008; + /** + * Custom Dimension Value name for Custom Dimension with key equal to the + * ID in index 9 of `ReportDefinition.custom_dimension_key_ids`. + * + * Generated from protobuf enum CUSTOM_DIMENSION_9_VALUE = 101009; + */ + const CUSTOM_DIMENSION_9_VALUE = 101009; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 0 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_0_VALUE_ID = 105000; + */ + const EKV_DIMENSION_0_VALUE_ID = 105000; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 1 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_1_VALUE_ID = 105001; + */ + const EKV_DIMENSION_1_VALUE_ID = 105001; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 2 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_2_VALUE_ID = 105002; + */ + const EKV_DIMENSION_2_VALUE_ID = 105002; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 3 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_3_VALUE_ID = 105003; + */ + const EKV_DIMENSION_3_VALUE_ID = 105003; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 4 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_4_VALUE_ID = 105004; + */ + const EKV_DIMENSION_4_VALUE_ID = 105004; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 5 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_5_VALUE_ID = 105005; + */ + const EKV_DIMENSION_5_VALUE_ID = 105005; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 6 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_6_VALUE_ID = 105006; + */ + const EKV_DIMENSION_6_VALUE_ID = 105006; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 9 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_7_VALUE_ID = 105007; + */ + const EKV_DIMENSION_7_VALUE_ID = 105007; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 8 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_8_VALUE_ID = 105008; + */ + const EKV_DIMENSION_8_VALUE_ID = 105008; + /** + * Enhanced Key-values Dimension Value ID for EKV Dimension with key equal + * to the key in index 9 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_9_VALUE_ID = 105009; + */ + const EKV_DIMENSION_9_VALUE_ID = 105009; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 0 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_0_VALUE = 106000; + */ + const EKV_DIMENSION_0_VALUE = 106000; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 1 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_1_VALUE = 106001; + */ + const EKV_DIMENSION_1_VALUE = 106001; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 2 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_2_VALUE = 106002; + */ + const EKV_DIMENSION_2_VALUE = 106002; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 3 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_3_VALUE = 106003; + */ + const EKV_DIMENSION_3_VALUE = 106003; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 4 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_4_VALUE = 106004; + */ + const EKV_DIMENSION_4_VALUE = 106004; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 5 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_5_VALUE = 106005; + */ + const EKV_DIMENSION_5_VALUE = 106005; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 6 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_6_VALUE = 106006; + */ + const EKV_DIMENSION_6_VALUE = 106006; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 7 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_7_VALUE = 106007; + */ + const EKV_DIMENSION_7_VALUE = 106007; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 8 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_8_VALUE = 106008; + */ + const EKV_DIMENSION_8_VALUE = 106008; + /** + * Enhanced Key-values Dimension Value name for EKV Dimension with key equal + * to the ID in index 9 of `ReportDefinition.ekv_dimension_key_ids`. + * + * Generated from protobuf enum EKV_DIMENSION_9_VALUE = 106009; + */ + const EKV_DIMENSION_9_VALUE = 106009; + + private static $valueToName = [ + self::DIMENSION_UNSPECIFIED => 'DIMENSION_UNSPECIFIED', + self::ACTIVE_VIEW_MEASUREMENT_SOURCE => 'ACTIVE_VIEW_MEASUREMENT_SOURCE', + self::ACTIVE_VIEW_MEASUREMENT_SOURCE_NAME => 'ACTIVE_VIEW_MEASUREMENT_SOURCE_NAME', + self::ADVERTISER_CREDIT_STATUS => 'ADVERTISER_CREDIT_STATUS', + self::ADVERTISER_CREDIT_STATUS_NAME => 'ADVERTISER_CREDIT_STATUS_NAME', + self::ADVERTISER_DOMAIN_NAME => 'ADVERTISER_DOMAIN_NAME', + self::ADVERTISER_EXTERNAL_ID => 'ADVERTISER_EXTERNAL_ID', + self::ADVERTISER_ID => 'ADVERTISER_ID', + self::ADVERTISER_LABELS => 'ADVERTISER_LABELS', + self::ADVERTISER_LABEL_IDS => 'ADVERTISER_LABEL_IDS', + self::ADVERTISER_NAME => 'ADVERTISER_NAME', + self::ADVERTISER_PRIMARY_CONTACT => 'ADVERTISER_PRIMARY_CONTACT', + self::ADVERTISER_STATUS => 'ADVERTISER_STATUS', + self::ADVERTISER_STATUS_NAME => 'ADVERTISER_STATUS_NAME', + self::ADVERTISER_TYPE => 'ADVERTISER_TYPE', + self::ADVERTISER_TYPE_NAME => 'ADVERTISER_TYPE_NAME', + self::ADVERTISER_VERTICAL => 'ADVERTISER_VERTICAL', + self::ADX_PRODUCT => 'ADX_PRODUCT', + self::ADX_PRODUCT_NAME => 'ADX_PRODUCT_NAME', + self::AD_EXPERIENCES_TYPE => 'AD_EXPERIENCES_TYPE', + self::AD_EXPERIENCES_TYPE_NAME => 'AD_EXPERIENCES_TYPE_NAME', + self::AD_LOCATION => 'AD_LOCATION', + self::AD_LOCATION_NAME => 'AD_LOCATION_NAME', + self::AD_REQUEST_SIZES => 'AD_REQUEST_SIZES', + self::AD_TECHNOLOGY_PROVIDER_DOMAIN => 'AD_TECHNOLOGY_PROVIDER_DOMAIN', + self::AD_TECHNOLOGY_PROVIDER_ID => 'AD_TECHNOLOGY_PROVIDER_ID', + self::AD_TECHNOLOGY_PROVIDER_NAME => 'AD_TECHNOLOGY_PROVIDER_NAME', + self::AD_TYPE => 'AD_TYPE', + self::AD_TYPE_NAME => 'AD_TYPE_NAME', + self::AD_UNIT_CODE => 'AD_UNIT_CODE', + self::AD_UNIT_CODE_LEVEL_1 => 'AD_UNIT_CODE_LEVEL_1', + self::AD_UNIT_CODE_LEVEL_10 => 'AD_UNIT_CODE_LEVEL_10', + self::AD_UNIT_CODE_LEVEL_11 => 'AD_UNIT_CODE_LEVEL_11', + self::AD_UNIT_CODE_LEVEL_12 => 'AD_UNIT_CODE_LEVEL_12', + self::AD_UNIT_CODE_LEVEL_13 => 'AD_UNIT_CODE_LEVEL_13', + self::AD_UNIT_CODE_LEVEL_14 => 'AD_UNIT_CODE_LEVEL_14', + self::AD_UNIT_CODE_LEVEL_15 => 'AD_UNIT_CODE_LEVEL_15', + self::AD_UNIT_CODE_LEVEL_16 => 'AD_UNIT_CODE_LEVEL_16', + self::AD_UNIT_CODE_LEVEL_2 => 'AD_UNIT_CODE_LEVEL_2', + self::AD_UNIT_CODE_LEVEL_3 => 'AD_UNIT_CODE_LEVEL_3', + self::AD_UNIT_CODE_LEVEL_4 => 'AD_UNIT_CODE_LEVEL_4', + self::AD_UNIT_CODE_LEVEL_5 => 'AD_UNIT_CODE_LEVEL_5', + self::AD_UNIT_CODE_LEVEL_6 => 'AD_UNIT_CODE_LEVEL_6', + self::AD_UNIT_CODE_LEVEL_7 => 'AD_UNIT_CODE_LEVEL_7', + self::AD_UNIT_CODE_LEVEL_8 => 'AD_UNIT_CODE_LEVEL_8', + self::AD_UNIT_CODE_LEVEL_9 => 'AD_UNIT_CODE_LEVEL_9', + self::AD_UNIT_ID => 'AD_UNIT_ID', + self::AD_UNIT_ID_ALL_LEVEL => 'AD_UNIT_ID_ALL_LEVEL', + self::AD_UNIT_ID_LEVEL_1 => 'AD_UNIT_ID_LEVEL_1', + self::AD_UNIT_ID_LEVEL_10 => 'AD_UNIT_ID_LEVEL_10', + self::AD_UNIT_ID_LEVEL_11 => 'AD_UNIT_ID_LEVEL_11', + self::AD_UNIT_ID_LEVEL_12 => 'AD_UNIT_ID_LEVEL_12', + self::AD_UNIT_ID_LEVEL_13 => 'AD_UNIT_ID_LEVEL_13', + self::AD_UNIT_ID_LEVEL_14 => 'AD_UNIT_ID_LEVEL_14', + self::AD_UNIT_ID_LEVEL_15 => 'AD_UNIT_ID_LEVEL_15', + self::AD_UNIT_ID_LEVEL_16 => 'AD_UNIT_ID_LEVEL_16', + self::AD_UNIT_ID_LEVEL_2 => 'AD_UNIT_ID_LEVEL_2', + self::AD_UNIT_ID_LEVEL_3 => 'AD_UNIT_ID_LEVEL_3', + self::AD_UNIT_ID_LEVEL_4 => 'AD_UNIT_ID_LEVEL_4', + self::AD_UNIT_ID_LEVEL_5 => 'AD_UNIT_ID_LEVEL_5', + self::AD_UNIT_ID_LEVEL_6 => 'AD_UNIT_ID_LEVEL_6', + self::AD_UNIT_ID_LEVEL_7 => 'AD_UNIT_ID_LEVEL_7', + self::AD_UNIT_ID_LEVEL_8 => 'AD_UNIT_ID_LEVEL_8', + self::AD_UNIT_ID_LEVEL_9 => 'AD_UNIT_ID_LEVEL_9', + self::AD_UNIT_ID_TOP_LEVEL => 'AD_UNIT_ID_TOP_LEVEL', + self::AD_UNIT_NAME => 'AD_UNIT_NAME', + self::AD_UNIT_NAME_ALL_LEVEL => 'AD_UNIT_NAME_ALL_LEVEL', + self::AD_UNIT_NAME_LEVEL_1 => 'AD_UNIT_NAME_LEVEL_1', + self::AD_UNIT_NAME_LEVEL_10 => 'AD_UNIT_NAME_LEVEL_10', + self::AD_UNIT_NAME_LEVEL_11 => 'AD_UNIT_NAME_LEVEL_11', + self::AD_UNIT_NAME_LEVEL_12 => 'AD_UNIT_NAME_LEVEL_12', + self::AD_UNIT_NAME_LEVEL_13 => 'AD_UNIT_NAME_LEVEL_13', + self::AD_UNIT_NAME_LEVEL_14 => 'AD_UNIT_NAME_LEVEL_14', + self::AD_UNIT_NAME_LEVEL_15 => 'AD_UNIT_NAME_LEVEL_15', + self::AD_UNIT_NAME_LEVEL_16 => 'AD_UNIT_NAME_LEVEL_16', + self::AD_UNIT_NAME_LEVEL_2 => 'AD_UNIT_NAME_LEVEL_2', + self::AD_UNIT_NAME_LEVEL_3 => 'AD_UNIT_NAME_LEVEL_3', + self::AD_UNIT_NAME_LEVEL_4 => 'AD_UNIT_NAME_LEVEL_4', + self::AD_UNIT_NAME_LEVEL_5 => 'AD_UNIT_NAME_LEVEL_5', + self::AD_UNIT_NAME_LEVEL_6 => 'AD_UNIT_NAME_LEVEL_6', + self::AD_UNIT_NAME_LEVEL_7 => 'AD_UNIT_NAME_LEVEL_7', + self::AD_UNIT_NAME_LEVEL_8 => 'AD_UNIT_NAME_LEVEL_8', + self::AD_UNIT_NAME_LEVEL_9 => 'AD_UNIT_NAME_LEVEL_9', + self::AD_UNIT_NAME_TOP_LEVEL => 'AD_UNIT_NAME_TOP_LEVEL', + self::AD_UNIT_REWARD_AMOUNT => 'AD_UNIT_REWARD_AMOUNT', + self::AD_UNIT_REWARD_TYPE => 'AD_UNIT_REWARD_TYPE', + self::AD_UNIT_STATUS => 'AD_UNIT_STATUS', + self::AD_UNIT_STATUS_NAME => 'AD_UNIT_STATUS_NAME', + self::AGENCY_LEVEL_1_ID => 'AGENCY_LEVEL_1_ID', + self::AGENCY_LEVEL_1_NAME => 'AGENCY_LEVEL_1_NAME', + self::AGENCY_LEVEL_2_ID => 'AGENCY_LEVEL_2_ID', + self::AGENCY_LEVEL_2_NAME => 'AGENCY_LEVEL_2_NAME', + self::AGENCY_LEVEL_3_ID => 'AGENCY_LEVEL_3_ID', + self::AGENCY_LEVEL_3_NAME => 'AGENCY_LEVEL_3_NAME', + self::AGE_BRACKET => 'AGE_BRACKET', + self::AGE_BRACKET_NAME => 'AGE_BRACKET_NAME', + self::ANALYTICS_PROPERTY_ID => 'ANALYTICS_PROPERTY_ID', + self::ANALYTICS_PROPERTY_NAME => 'ANALYTICS_PROPERTY_NAME', + self::APP_TRACKING_TRANSPARENCY_CONSENT_STATUS => 'APP_TRACKING_TRANSPARENCY_CONSENT_STATUS', + self::APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME => 'APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME', + self::APP_VERSION => 'APP_VERSION', + self::AUCTION_PACKAGE_DEAL => 'AUCTION_PACKAGE_DEAL', + self::AUCTION_PACKAGE_DEAL_ID => 'AUCTION_PACKAGE_DEAL_ID', + self::AUDIENCE_SEGMENT_BILLABLE => 'AUDIENCE_SEGMENT_BILLABLE', + self::AUDIENCE_SEGMENT_DATA_PROVIDER_ID => 'AUDIENCE_SEGMENT_DATA_PROVIDER_ID', + self::AUDIENCE_SEGMENT_DATA_PROVIDER_NAME => 'AUDIENCE_SEGMENT_DATA_PROVIDER_NAME', + self::AUDIENCE_SEGMENT_ID_BILLABLE => 'AUDIENCE_SEGMENT_ID_BILLABLE', + self::AUDIENCE_SEGMENT_ID_TARGETED => 'AUDIENCE_SEGMENT_ID_TARGETED', + self::AUDIENCE_SEGMENT_TARGETED => 'AUDIENCE_SEGMENT_TARGETED', + self::AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_SIZE => 'AUDIENCE_SEGMENT_TARGETED_SIZE', + self::AUDIENCE_SEGMENT_TARGETED_STATUS => 'AUDIENCE_SEGMENT_TARGETED_STATUS', + self::AUDIENCE_SEGMENT_TARGETED_STATUS_NAME => 'AUDIENCE_SEGMENT_TARGETED_STATUS_NAME', + self::AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE => 'AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE', + self::AUTO_REFRESHED_TRAFFIC => 'AUTO_REFRESHED_TRAFFIC', + self::AUTO_REFRESHED_TRAFFIC_NAME => 'AUTO_REFRESHED_TRAFFIC_NAME', + self::BIDDER_ENCRYPTED_ID => 'BIDDER_ENCRYPTED_ID', + self::BIDDER_NAME => 'BIDDER_NAME', + self::BID_RANGE => 'BID_RANGE', + self::BID_REJECTION_REASON => 'BID_REJECTION_REASON', + self::BID_REJECTION_REASON_NAME => 'BID_REJECTION_REASON_NAME', + self::BRANDING_TYPE => 'BRANDING_TYPE', + self::BRANDING_TYPE_NAME => 'BRANDING_TYPE_NAME', + self::BROWSER_CATEGORY => 'BROWSER_CATEGORY', + self::BROWSER_CATEGORY_NAME => 'BROWSER_CATEGORY_NAME', + self::BROWSER_ID => 'BROWSER_ID', + self::BROWSER_NAME => 'BROWSER_NAME', + self::BUYER_NETWORK_ID => 'BUYER_NETWORK_ID', + self::BUYER_NETWORK_NAME => 'BUYER_NETWORK_NAME', + self::CALLOUT_STATUS_CATEGORY_NAME => 'CALLOUT_STATUS_CATEGORY_NAME', + self::CARRIER_ID => 'CARRIER_ID', + self::CARRIER_NAME => 'CARRIER_NAME', + self::CHANNEL => 'CHANNEL', + self::CHILD_NETWORK_CODE => 'CHILD_NETWORK_CODE', + self::CHILD_NETWORK_ID => 'CHILD_NETWORK_ID', + self::CHILD_PARTNER_NAME => 'CHILD_PARTNER_NAME', + self::CITY_ID => 'CITY_ID', + self::CITY_NAME => 'CITY_NAME', + self::CLASSIFIED_ADVERTISER_ID => 'CLASSIFIED_ADVERTISER_ID', + self::CLASSIFIED_ADVERTISER_NAME => 'CLASSIFIED_ADVERTISER_NAME', + self::CLASSIFIED_BRAND_ID => 'CLASSIFIED_BRAND_ID', + self::CLASSIFIED_BRAND_NAME => 'CLASSIFIED_BRAND_NAME', + self::CONTENT_BUNDLE_ID => 'CONTENT_BUNDLE_ID', + self::CONTENT_BUNDLE_NAME => 'CONTENT_BUNDLE_NAME', + self::CONTENT_CMS_METADATA_KV_NAMESPACE_ID => 'CONTENT_CMS_METADATA_KV_NAMESPACE_ID', + self::CONTENT_CMS_METADATA_KV_NAMESPACE_NAME => 'CONTENT_CMS_METADATA_KV_NAMESPACE_NAME', + self::CONTENT_CMS_NAME => 'CONTENT_CMS_NAME', + self::CONTENT_CMS_VIDEO_ID => 'CONTENT_CMS_VIDEO_ID', + self::CONTENT_ID => 'CONTENT_ID', + self::CONTENT_MAPPING_PRESENCE => 'CONTENT_MAPPING_PRESENCE', + self::CONTENT_MAPPING_PRESENCE_NAME => 'CONTENT_MAPPING_PRESENCE_NAME', + self::CONTENT_NAME => 'CONTENT_NAME', + self::CONTINENT => 'CONTINENT', + self::CONTINENT_NAME => 'CONTINENT_NAME', + self::COUNTRY_CODE => 'COUNTRY_CODE', + self::COUNTRY_ID => 'COUNTRY_ID', + self::COUNTRY_NAME => 'COUNTRY_NAME', + self::CREATIVE_BILLING_TYPE => 'CREATIVE_BILLING_TYPE', + self::CREATIVE_BILLING_TYPE_NAME => 'CREATIVE_BILLING_TYPE_NAME', + self::CREATIVE_CLICK_THROUGH_URL => 'CREATIVE_CLICK_THROUGH_URL', + self::CREATIVE_ID => 'CREATIVE_ID', + self::CREATIVE_NAME => 'CREATIVE_NAME', + self::CREATIVE_OR_CREATIVE_SET => 'CREATIVE_OR_CREATIVE_SET', + self::CREATIVE_OR_CREATIVE_SET_NAME => 'CREATIVE_OR_CREATIVE_SET_NAME', + self::CREATIVE_POLICIES_FILTERING => 'CREATIVE_POLICIES_FILTERING', + self::CREATIVE_POLICIES_FILTERING_NAME => 'CREATIVE_POLICIES_FILTERING_NAME', + self::CREATIVE_PROTECTIONS_FILTERING => 'CREATIVE_PROTECTIONS_FILTERING', + self::CREATIVE_PROTECTIONS_FILTERING_NAME => 'CREATIVE_PROTECTIONS_FILTERING_NAME', + self::CREATIVE_SET_ROLE_TYPE => 'CREATIVE_SET_ROLE_TYPE', + self::CREATIVE_SET_ROLE_TYPE_NAME => 'CREATIVE_SET_ROLE_TYPE_NAME', + self::CREATIVE_SSL_COMPLIANCE_OVERRIDE => 'CREATIVE_SSL_COMPLIANCE_OVERRIDE', + self::CREATIVE_SSL_COMPLIANCE_OVERRIDE_NAME => 'CREATIVE_SSL_COMPLIANCE_OVERRIDE_NAME', + self::CREATIVE_SSL_SCAN_RESULT => 'CREATIVE_SSL_SCAN_RESULT', + self::CREATIVE_SSL_SCAN_RESULT_NAME => 'CREATIVE_SSL_SCAN_RESULT_NAME', + self::CREATIVE_TARGET_AD_UNIT_SIZE => 'CREATIVE_TARGET_AD_UNIT_SIZE', + self::CREATIVE_TECHNOLOGY => 'CREATIVE_TECHNOLOGY', + self::CREATIVE_TECHNOLOGY_NAME => 'CREATIVE_TECHNOLOGY_NAME', + self::CREATIVE_THIRD_PARTY_VENDOR => 'CREATIVE_THIRD_PARTY_VENDOR', + self::CREATIVE_TYPE => 'CREATIVE_TYPE', + self::CREATIVE_TYPE_NAME => 'CREATIVE_TYPE_NAME', + self::CREATIVE_VENDOR_ID => 'CREATIVE_VENDOR_ID', + self::CREATIVE_VENDOR_NAME => 'CREATIVE_VENDOR_NAME', + self::CREATIVE_VIDEO_REDIRECT_THIRD_PARTY => 'CREATIVE_VIDEO_REDIRECT_THIRD_PARTY', + self::CURATOR_ID => 'CURATOR_ID', + self::CURATOR_NAME => 'CURATOR_NAME', + self::CUSTOM_EVENT_ID => 'CUSTOM_EVENT_ID', + self::CUSTOM_EVENT_NAME => 'CUSTOM_EVENT_NAME', + self::CUSTOM_EVENT_TYPE => 'CUSTOM_EVENT_TYPE', + self::CUSTOM_EVENT_TYPE_NAME => 'CUSTOM_EVENT_TYPE_NAME', + self::CUSTOM_SPOT_ID => 'CUSTOM_SPOT_ID', + self::CUSTOM_SPOT_NAME => 'CUSTOM_SPOT_NAME', + self::DATE => 'DATE', + self::DAY_OF_WEEK => 'DAY_OF_WEEK', + self::DEAL_BUYER_ID => 'DEAL_BUYER_ID', + self::DEAL_BUYER_NAME => 'DEAL_BUYER_NAME', + self::DEAL_ID => 'DEAL_ID', + self::DEAL_ID_ALL => 'DEAL_ID_ALL', + self::DEAL_NAME => 'DEAL_NAME', + self::DECLARED_ADVERTISER_DOMAIN => 'DECLARED_ADVERTISER_DOMAIN', + self::DELIVERED_SECURE_SIGNAL_ID => 'DELIVERED_SECURE_SIGNAL_ID', + self::DELIVERED_SECURE_SIGNAL_NAME => 'DELIVERED_SECURE_SIGNAL_NAME', + self::DEMAND_CHANNEL => 'DEMAND_CHANNEL', + self::DEMAND_CHANNEL_NAME => 'DEMAND_CHANNEL_NAME', + self::DEMAND_SOURCE => 'DEMAND_SOURCE', + self::DEMAND_SOURCE_ALL => 'DEMAND_SOURCE_ALL', + self::DEMAND_SOURCE_NAME => 'DEMAND_SOURCE_NAME', + self::DEMAND_SUBCHANNEL => 'DEMAND_SUBCHANNEL', + self::DEMAND_SUBCHANNEL_NAME => 'DEMAND_SUBCHANNEL_NAME', + self::DEVICE => 'DEVICE', + self::DEVICE_CATEGORY => 'DEVICE_CATEGORY', + self::DEVICE_CATEGORY_NAME => 'DEVICE_CATEGORY_NAME', + self::DEVICE_MANUFACTURER_ID => 'DEVICE_MANUFACTURER_ID', + self::DEVICE_MANUFACTURER_NAME => 'DEVICE_MANUFACTURER_NAME', + self::DEVICE_MODEL_ID => 'DEVICE_MODEL_ID', + self::DEVICE_MODEL_NAME => 'DEVICE_MODEL_NAME', + self::DEVICE_NAME => 'DEVICE_NAME', + self::DSP_SEAT_ID => 'DSP_SEAT_ID', + self::DYNAMIC_ALLOCATION_TYPE => 'DYNAMIC_ALLOCATION_TYPE', + self::DYNAMIC_ALLOCATION_TYPE_NAME => 'DYNAMIC_ALLOCATION_TYPE_NAME', + self::ESP_DELIVERY => 'ESP_DELIVERY', + self::ESP_DELIVERY_NAME => 'ESP_DELIVERY_NAME', + self::ESP_PRESENCE => 'ESP_PRESENCE', + self::ESP_PRESENCE_NAME => 'ESP_PRESENCE_NAME', + self::EXCHANGE_BIDDING_DEAL_ID => 'EXCHANGE_BIDDING_DEAL_ID', + self::EXCHANGE_BIDDING_DEAL_TYPE => 'EXCHANGE_BIDDING_DEAL_TYPE', + self::EXCHANGE_BIDDING_DEAL_TYPE_NAME => 'EXCHANGE_BIDDING_DEAL_TYPE_NAME', + self::EXCHANGE_THIRD_PARTY_COMPANY_ID => 'EXCHANGE_THIRD_PARTY_COMPANY_ID', + self::EXCHANGE_THIRD_PARTY_COMPANY_NAME => 'EXCHANGE_THIRD_PARTY_COMPANY_NAME', + self::FIRST_LOOK_PRICING_RULE_ID => 'FIRST_LOOK_PRICING_RULE_ID', + self::FIRST_LOOK_PRICING_RULE_NAME => 'FIRST_LOOK_PRICING_RULE_NAME', + self::FIRST_PARTY_ID_STATUS => 'FIRST_PARTY_ID_STATUS', + self::FIRST_PARTY_ID_STATUS_NAME => 'FIRST_PARTY_ID_STATUS_NAME', + self::GENDER => 'GENDER', + self::GENDER_NAME => 'GENDER_NAME', + self::GOOGLE_ANALYTICS_STREAM_ID => 'GOOGLE_ANALYTICS_STREAM_ID', + self::GOOGLE_ANALYTICS_STREAM_NAME => 'GOOGLE_ANALYTICS_STREAM_NAME', + self::HBT_YIELD_PARTNER_ID => 'HBT_YIELD_PARTNER_ID', + self::HBT_YIELD_PARTNER_NAME => 'HBT_YIELD_PARTNER_NAME', + self::HEADER_BIDDER_INTEGRATION_TYPE => 'HEADER_BIDDER_INTEGRATION_TYPE', + self::HEADER_BIDDER_INTEGRATION_TYPE_NAME => 'HEADER_BIDDER_INTEGRATION_TYPE_NAME', + self::HOUR => 'HOUR', + self::IMPRESSION_COUNTING_METHOD => 'IMPRESSION_COUNTING_METHOD', + self::IMPRESSION_COUNTING_METHOD_NAME => 'IMPRESSION_COUNTING_METHOD_NAME', + self::INTERACTION_TYPE => 'INTERACTION_TYPE', + self::INTERACTION_TYPE_NAME => 'INTERACTION_TYPE_NAME', + self::INTEREST => 'INTEREST', + self::INVENTORY_FORMAT => 'INVENTORY_FORMAT', + self::INVENTORY_FORMAT_NAME => 'INVENTORY_FORMAT_NAME', + self::INVENTORY_SHARE_ASSIGNMENT_ID => 'INVENTORY_SHARE_ASSIGNMENT_ID', + self::INVENTORY_SHARE_ASSIGNMENT_NAME => 'INVENTORY_SHARE_ASSIGNMENT_NAME', + self::INVENTORY_SHARE_OUTCOME => 'INVENTORY_SHARE_OUTCOME', + self::INVENTORY_SHARE_OUTCOME_NAME => 'INVENTORY_SHARE_OUTCOME_NAME', + self::INVENTORY_SHARE_PARTNER_AD_SERVER => 'INVENTORY_SHARE_PARTNER_AD_SERVER', + self::INVENTORY_SHARE_PARTNER_AD_SERVER_NAME => 'INVENTORY_SHARE_PARTNER_AD_SERVER_NAME', + self::INVENTORY_SHARE_TARGET_SHARE_PERCENT => 'INVENTORY_SHARE_TARGET_SHARE_PERCENT', + self::INVENTORY_SHARE_TYPE => 'INVENTORY_SHARE_TYPE', + self::INVENTORY_SHARE_TYPE_NAME => 'INVENTORY_SHARE_TYPE_NAME', + self::INVENTORY_TYPE => 'INVENTORY_TYPE', + self::INVENTORY_TYPE_NAME => 'INVENTORY_TYPE_NAME', + self::IS_ADX_DIRECT => 'IS_ADX_DIRECT', + self::IS_CURATION_TARGETED => 'IS_CURATION_TARGETED', + self::IS_DROPPED => 'IS_DROPPED', + self::IS_FIRST_LOOK_DEAL => 'IS_FIRST_LOOK_DEAL', + self::KEY_VALUES_ID => 'KEY_VALUES_ID', + self::KEY_VALUES_NAME => 'KEY_VALUES_NAME', + self::KEY_VALUES_SET => 'KEY_VALUES_SET', + self::LINE_ITEM_AGENCY => 'LINE_ITEM_AGENCY', + self::LINE_ITEM_ARCHIVED => 'LINE_ITEM_ARCHIVED', + self::LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS => 'LINE_ITEM_AVERAGE_NUMBER_OF_VIEWERS', + self::LINE_ITEM_COMPANION_DELIVERY_OPTION => 'LINE_ITEM_COMPANION_DELIVERY_OPTION', + self::LINE_ITEM_COMPANION_DELIVERY_OPTION_NAME => 'LINE_ITEM_COMPANION_DELIVERY_OPTION_NAME', + self::LINE_ITEM_COMPUTED_STATUS => 'LINE_ITEM_COMPUTED_STATUS', + self::LINE_ITEM_COMPUTED_STATUS_NAME => 'LINE_ITEM_COMPUTED_STATUS_NAME', + self::LINE_ITEM_CONTRACTED_QUANTITY => 'LINE_ITEM_CONTRACTED_QUANTITY', + self::LINE_ITEM_COST_PER_UNIT => 'LINE_ITEM_COST_PER_UNIT', + self::LINE_ITEM_COST_TYPE => 'LINE_ITEM_COST_TYPE', + self::LINE_ITEM_COST_TYPE_NAME => 'LINE_ITEM_COST_TYPE_NAME', + self::LINE_ITEM_CREATIVE_END_DATE => 'LINE_ITEM_CREATIVE_END_DATE', + self::LINE_ITEM_CREATIVE_ROTATION_TYPE => 'LINE_ITEM_CREATIVE_ROTATION_TYPE', + self::LINE_ITEM_CREATIVE_ROTATION_TYPE_NAME => 'LINE_ITEM_CREATIVE_ROTATION_TYPE_NAME', + self::LINE_ITEM_CREATIVE_START_DATE => 'LINE_ITEM_CREATIVE_START_DATE', + self::LINE_ITEM_CURRENCY_CODE => 'LINE_ITEM_CURRENCY_CODE', + self::LINE_ITEM_DELIVERY_INDICATOR => 'LINE_ITEM_DELIVERY_INDICATOR', + self::LINE_ITEM_DELIVERY_RATE_TYPE => 'LINE_ITEM_DELIVERY_RATE_TYPE', + self::LINE_ITEM_DELIVERY_RATE_TYPE_NAME => 'LINE_ITEM_DELIVERY_RATE_TYPE_NAME', + self::LINE_ITEM_DISCOUNT_ABSOLUTE => 'LINE_ITEM_DISCOUNT_ABSOLUTE', + self::LINE_ITEM_DISCOUNT_PERCENTAGE => 'LINE_ITEM_DISCOUNT_PERCENTAGE', + self::LINE_ITEM_END_DATE => 'LINE_ITEM_END_DATE', + self::LINE_ITEM_END_DATE_TIME => 'LINE_ITEM_END_DATE_TIME', + self::LINE_ITEM_ENVIRONMENT_TYPE => 'LINE_ITEM_ENVIRONMENT_TYPE', + self::LINE_ITEM_ENVIRONMENT_TYPE_NAME => 'LINE_ITEM_ENVIRONMENT_TYPE_NAME', + self::LINE_ITEM_EXTERNAL_DEAL_ID => 'LINE_ITEM_EXTERNAL_DEAL_ID', + self::LINE_ITEM_EXTERNAL_ID => 'LINE_ITEM_EXTERNAL_ID', + self::LINE_ITEM_FREQUENCY_CAP => 'LINE_ITEM_FREQUENCY_CAP', + self::LINE_ITEM_ID => 'LINE_ITEM_ID', + self::LINE_ITEM_LABELS => 'LINE_ITEM_LABELS', + self::LINE_ITEM_LABEL_IDS => 'LINE_ITEM_LABEL_IDS', + self::LINE_ITEM_LAST_MODIFIED_BY_APP => 'LINE_ITEM_LAST_MODIFIED_BY_APP', + self::LINE_ITEM_LIFETIME_CLICKS => 'LINE_ITEM_LIFETIME_CLICKS', + self::LINE_ITEM_LIFETIME_IMPRESSIONS => 'LINE_ITEM_LIFETIME_IMPRESSIONS', + self::LINE_ITEM_LIFETIME_VIEWABLE_IMPRESSIONS => 'LINE_ITEM_LIFETIME_VIEWABLE_IMPRESSIONS', + self::LINE_ITEM_MAKEGOOD => 'LINE_ITEM_MAKEGOOD', + self::LINE_ITEM_NAME => 'LINE_ITEM_NAME', + self::LINE_ITEM_NON_CPD_BOOKED_REVENUE => 'LINE_ITEM_NON_CPD_BOOKED_REVENUE', + self::LINE_ITEM_OPTIMIZABLE => 'LINE_ITEM_OPTIMIZABLE', + self::LINE_ITEM_PO_NUMBER => 'LINE_ITEM_PO_NUMBER', + self::LINE_ITEM_PRIMARY_GOAL_TYPE => 'LINE_ITEM_PRIMARY_GOAL_TYPE', + self::LINE_ITEM_PRIMARY_GOAL_TYPE_NAME => 'LINE_ITEM_PRIMARY_GOAL_TYPE_NAME', + self::LINE_ITEM_PRIMARY_GOAL_UNITS_ABSOLUTE => 'LINE_ITEM_PRIMARY_GOAL_UNITS_ABSOLUTE', + self::LINE_ITEM_PRIMARY_GOAL_UNITS_PERCENTAGE => 'LINE_ITEM_PRIMARY_GOAL_UNITS_PERCENTAGE', + self::LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE => 'LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE', + self::LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE_NAME => 'LINE_ITEM_PRIMARY_GOAL_UNIT_TYPE_NAME', + self::LINE_ITEM_PRIORITY => 'LINE_ITEM_PRIORITY', + self::LINE_ITEM_RESERVATION_STATUS => 'LINE_ITEM_RESERVATION_STATUS', + self::LINE_ITEM_RESERVATION_STATUS_NAME => 'LINE_ITEM_RESERVATION_STATUS_NAME', + self::LINE_ITEM_SALESPERSON => 'LINE_ITEM_SALESPERSON', + self::LINE_ITEM_SECONDARY_SALESPEOPLE => 'LINE_ITEM_SECONDARY_SALESPEOPLE', + self::LINE_ITEM_SECONDARY_TRAFFICKERS => 'LINE_ITEM_SECONDARY_TRAFFICKERS', + self::LINE_ITEM_START_DATE => 'LINE_ITEM_START_DATE', + self::LINE_ITEM_START_DATE_TIME => 'LINE_ITEM_START_DATE_TIME', + self::LINE_ITEM_TRAFFICKER => 'LINE_ITEM_TRAFFICKER', + self::LINE_ITEM_TYPE => 'LINE_ITEM_TYPE', + self::LINE_ITEM_TYPE_NAME => 'LINE_ITEM_TYPE_NAME', + self::LINE_ITEM_UNLIMITED_END => 'LINE_ITEM_UNLIMITED_END', + self::LINE_ITEM_VALUE_COST_PER_UNIT => 'LINE_ITEM_VALUE_COST_PER_UNIT', + self::LINE_ITEM_WEB_PROPERTY_CODE => 'LINE_ITEM_WEB_PROPERTY_CODE', + self::MASTER_COMPANION_CREATIVE_ID => 'MASTER_COMPANION_CREATIVE_ID', + self::MASTER_COMPANION_CREATIVE_NAME => 'MASTER_COMPANION_CREATIVE_NAME', + self::MEDIATION_TYPE => 'MEDIATION_TYPE', + self::MEDIATION_TYPE_NAME => 'MEDIATION_TYPE_NAME', + self::MEDIATION_YIELD_PARTNER_ID => 'MEDIATION_YIELD_PARTNER_ID', + self::MEDIATION_YIELD_PARTNER_NAME => 'MEDIATION_YIELD_PARTNER_NAME', + self::METRO_ID => 'METRO_ID', + self::METRO_NAME => 'METRO_NAME', + self::MOBILE_APP_FREE => 'MOBILE_APP_FREE', + self::MOBILE_APP_ICON_URL => 'MOBILE_APP_ICON_URL', + self::MOBILE_APP_ID => 'MOBILE_APP_ID', + self::MOBILE_APP_NAME => 'MOBILE_APP_NAME', + self::MOBILE_APP_OWNERSHIP_STATUS => 'MOBILE_APP_OWNERSHIP_STATUS', + self::MOBILE_APP_OWNERSHIP_STATUS_NAME => 'MOBILE_APP_OWNERSHIP_STATUS_NAME', + self::MOBILE_APP_STORE => 'MOBILE_APP_STORE', + self::MOBILE_APP_STORE_NAME => 'MOBILE_APP_STORE_NAME', + self::MOBILE_INVENTORY_TYPE => 'MOBILE_INVENTORY_TYPE', + self::MOBILE_INVENTORY_TYPE_NAME => 'MOBILE_INVENTORY_TYPE_NAME', + self::MOBILE_RENDERING_SDK => 'MOBILE_RENDERING_SDK', + self::MOBILE_RENDERING_SDK_NAME => 'MOBILE_RENDERING_SDK_NAME', + self::MOBILE_SDK_MAJOR_VERSION => 'MOBILE_SDK_MAJOR_VERSION', + self::MOBILE_SDK_MINOR_VERSION => 'MOBILE_SDK_MINOR_VERSION', + self::MOBILE_SDK_VERSION_NAME => 'MOBILE_SDK_VERSION_NAME', + self::MONTH_YEAR => 'MONTH_YEAR', + self::NATIVE_AD_FORMAT_ID => 'NATIVE_AD_FORMAT_ID', + self::NATIVE_AD_FORMAT_NAME => 'NATIVE_AD_FORMAT_NAME', + self::NATIVE_STYLE_ID => 'NATIVE_STYLE_ID', + self::NATIVE_STYLE_NAME => 'NATIVE_STYLE_NAME', + self::NIELSEN_DEMOGRAPHICS => 'NIELSEN_DEMOGRAPHICS', + self::NIELSEN_DEMOGRAPHICS_NAME => 'NIELSEN_DEMOGRAPHICS_NAME', + self::NIELSEN_DEVICE => 'NIELSEN_DEVICE', + self::NIELSEN_DEVICE_NAME => 'NIELSEN_DEVICE_NAME', + self::NIELSEN_IN_TARGET => 'NIELSEN_IN_TARGET', + self::NIELSEN_RESTATEMENT_DATE => 'NIELSEN_RESTATEMENT_DATE', + self::NIELSEN_SEGMENT => 'NIELSEN_SEGMENT', + self::NIELSEN_SITE_URL => 'NIELSEN_SITE_URL', + self::NO_FILL_REASON_CATEGORY_NAME => 'NO_FILL_REASON_CATEGORY_NAME', + self::OPERATING_SYSTEM_CATEGORY => 'OPERATING_SYSTEM_CATEGORY', + self::OPERATING_SYSTEM_CATEGORY_NAME => 'OPERATING_SYSTEM_CATEGORY_NAME', + self::OPERATING_SYSTEM_VERSION_ID => 'OPERATING_SYSTEM_VERSION_ID', + self::OPERATING_SYSTEM_VERSION_NAME => 'OPERATING_SYSTEM_VERSION_NAME', + self::OPTIMIZATION_TYPE => 'OPTIMIZATION_TYPE', + self::OPTIMIZATION_TYPE_NAME => 'OPTIMIZATION_TYPE_NAME', + self::ORDER_AGENCY => 'ORDER_AGENCY', + self::ORDER_AGENCY_ID => 'ORDER_AGENCY_ID', + self::ORDER_BOOKED_CPC => 'ORDER_BOOKED_CPC', + self::ORDER_BOOKED_CPM => 'ORDER_BOOKED_CPM', + self::ORDER_DELIVERY_STATUS => 'ORDER_DELIVERY_STATUS', + self::ORDER_DELIVERY_STATUS_NAME => 'ORDER_DELIVERY_STATUS_NAME', + self::ORDER_END_DATE => 'ORDER_END_DATE', + self::ORDER_END_DATE_TIME => 'ORDER_END_DATE_TIME', + self::ORDER_EXTERNAL_ID => 'ORDER_EXTERNAL_ID', + self::ORDER_ID => 'ORDER_ID', + self::ORDER_LABELS => 'ORDER_LABELS', + self::ORDER_LABEL_IDS => 'ORDER_LABEL_IDS', + self::ORDER_LIFETIME_CLICKS => 'ORDER_LIFETIME_CLICKS', + self::ORDER_LIFETIME_IMPRESSIONS => 'ORDER_LIFETIME_IMPRESSIONS', + self::ORDER_NAME => 'ORDER_NAME', + self::ORDER_PO_NUMBER => 'ORDER_PO_NUMBER', + self::ORDER_PROGRAMMATIC => 'ORDER_PROGRAMMATIC', + self::ORDER_SALESPERSON => 'ORDER_SALESPERSON', + self::ORDER_SALESPERSON_ID => 'ORDER_SALESPERSON_ID', + self::ORDER_SECONDARY_SALESPEOPLE => 'ORDER_SECONDARY_SALESPEOPLE', + self::ORDER_SECONDARY_SALESPEOPLE_ID => 'ORDER_SECONDARY_SALESPEOPLE_ID', + self::ORDER_SECONDARY_TRAFFICKERS => 'ORDER_SECONDARY_TRAFFICKERS', + self::ORDER_SECONDARY_TRAFFICKERS_ID => 'ORDER_SECONDARY_TRAFFICKERS_ID', + self::ORDER_START_DATE => 'ORDER_START_DATE', + self::ORDER_START_DATE_TIME => 'ORDER_START_DATE_TIME', + self::ORDER_TRAFFICKER => 'ORDER_TRAFFICKER', + self::ORDER_TRAFFICKER_ID => 'ORDER_TRAFFICKER_ID', + self::ORDER_UNLIMITED_END => 'ORDER_UNLIMITED_END', + self::PAGE_PATH => 'PAGE_PATH', + self::PAGE_TITLE_AND_SCREEN_CLASS => 'PAGE_TITLE_AND_SCREEN_CLASS', + self::PAGE_TITLE_AND_SCREEN_NAME => 'PAGE_TITLE_AND_SCREEN_NAME', + self::PARTNER_MANAGEMENT_ASSIGNMENT_ID => 'PARTNER_MANAGEMENT_ASSIGNMENT_ID', + self::PARTNER_MANAGEMENT_ASSIGNMENT_NAME => 'PARTNER_MANAGEMENT_ASSIGNMENT_NAME', + self::PARTNER_MANAGEMENT_PARTNER_ID => 'PARTNER_MANAGEMENT_PARTNER_ID', + self::PARTNER_MANAGEMENT_PARTNER_NAME => 'PARTNER_MANAGEMENT_PARTNER_NAME', + self::PLACEMENT_ID => 'PLACEMENT_ID', + self::PLACEMENT_ID_ALL => 'PLACEMENT_ID_ALL', + self::PLACEMENT_NAME => 'PLACEMENT_NAME', + self::PLACEMENT_NAME_ALL => 'PLACEMENT_NAME_ALL', + self::PLACEMENT_STATUS => 'PLACEMENT_STATUS', + self::PLACEMENT_STATUS_NAME => 'PLACEMENT_STATUS_NAME', + self::PLACEMENT_STATUS_NAME_ALL => 'PLACEMENT_STATUS_NAME_ALL', + self::POSTAL_CODE_ID => 'POSTAL_CODE_ID', + self::POSTAL_CODE_NAME => 'POSTAL_CODE_NAME', + self::PPID_STATUS => 'PPID_STATUS', + self::PPID_STATUS_NAME => 'PPID_STATUS_NAME', + self::PREDICTED_VIEWABILITY_BUCKET => 'PREDICTED_VIEWABILITY_BUCKET', + self::PREDICTED_VIEWABILITY_BUCKET_NAME => 'PREDICTED_VIEWABILITY_BUCKET_NAME', + self::PRESENTED_SECURE_SIGNAL_ID => 'PRESENTED_SECURE_SIGNAL_ID', + self::PRESENTED_SECURE_SIGNAL_NAME => 'PRESENTED_SECURE_SIGNAL_NAME', + self::PRICING_RULE_ID => 'PRICING_RULE_ID', + self::PRICING_RULE_NAME => 'PRICING_RULE_NAME', + self::PRIMARY_PERSONALIZATION_ID_TYPE => 'PRIMARY_PERSONALIZATION_ID_TYPE', + self::PRIMARY_PERSONALIZATION_ID_TYPE_NAME => 'PRIMARY_PERSONALIZATION_ID_TYPE_NAME', + self::PROGRAMMATIC_CHANNEL => 'PROGRAMMATIC_CHANNEL', + self::PROGRAMMATIC_CHANNEL_NAME => 'PROGRAMMATIC_CHANNEL_NAME', + self::PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_EXTERNAL_CODE => 'PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_EXTERNAL_CODE', + self::PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_IDS => 'PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_IDS', + self::PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_NAME => 'PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_NAME', + self::PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TIER => 'PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TIER', + self::PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TYPE => 'PUBLISHER_PROVIDED_SIGNALS_ALL_LEVELS_TYPE', + self::PUBLISHER_PROVIDED_SIGNALS_DELIVERED_EXTERNAL_CODE => 'PUBLISHER_PROVIDED_SIGNALS_DELIVERED_EXTERNAL_CODE', + self::PUBLISHER_PROVIDED_SIGNALS_DELIVERED_IDS => 'PUBLISHER_PROVIDED_SIGNALS_DELIVERED_IDS', + self::PUBLISHER_PROVIDED_SIGNALS_DELIVERED_NAME => 'PUBLISHER_PROVIDED_SIGNALS_DELIVERED_NAME', + self::PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TIER => 'PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TIER', + self::PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TYPE => 'PUBLISHER_PROVIDED_SIGNALS_DELIVERED_TYPE', + self::PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_EXTERNAL_CODE => 'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_EXTERNAL_CODE', + self::PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_ID => 'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_ID', + self::PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_NAME => 'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_NAME', + self::PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TIER => 'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TIER', + self::PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TYPE => 'PUBLISHER_PROVIDED_SIGNALS_TOP_LEVEL_TYPE', + self::PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_ID => 'PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_ID', + self::PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_NAME => 'PUBLISHER_PROVIDED_SIGNAL_DATA_PROVIDER_NAME', + self::REGION_ID => 'REGION_ID', + self::REGION_NAME => 'REGION_NAME', + self::REJECTION_CLASS_CATEGORY_NAME => 'REJECTION_CLASS_CATEGORY_NAME', + self::RENDERED_CREATIVE_SIZE => 'RENDERED_CREATIVE_SIZE', + self::REQUESTED_AD_SIZES => 'REQUESTED_AD_SIZES', + self::REQUEST_TYPE => 'REQUEST_TYPE', + self::REQUEST_TYPE_NAME => 'REQUEST_TYPE_NAME', + self::REVENUE_VERIFICATION_ID => 'REVENUE_VERIFICATION_ID', + self::SERVER_SIDE_UNWRAPPING_ELIGIBLE => 'SERVER_SIDE_UNWRAPPING_ELIGIBLE', + self::SERVING_RESTRICTION => 'SERVING_RESTRICTION', + self::SERVING_RESTRICTION_NAME => 'SERVING_RESTRICTION_NAME', + self::SITE => 'SITE', + self::TARGETING_ID => 'TARGETING_ID', + self::TARGETING_NAME => 'TARGETING_NAME', + self::TARGETING_TYPE => 'TARGETING_TYPE', + self::TARGETING_TYPE_NAME => 'TARGETING_TYPE_NAME', + self::TARGETS_CUSTOMER_MATCHING_LIST => 'TARGETS_CUSTOMER_MATCHING_LIST', + self::THIRD_PARTY_ID_STATUS => 'THIRD_PARTY_ID_STATUS', + self::THIRD_PARTY_ID_STATUS_NAME => 'THIRD_PARTY_ID_STATUS_NAME', + self::TOPICS_STATUS => 'TOPICS_STATUS', + self::TOPICS_STATUS_NAME => 'TOPICS_STATUS_NAME', + self::TOP_PRIVATE_DOMAIN => 'TOP_PRIVATE_DOMAIN', + self::TRAFFIC_SOURCE => 'TRAFFIC_SOURCE', + self::TRAFFIC_SOURCE_NAME => 'TRAFFIC_SOURCE_NAME', + self::URL => 'URL', + self::URL_ID => 'URL_ID', + self::USER_MESSAGES_CHOICE => 'USER_MESSAGES_CHOICE', + self::USER_MESSAGES_CHOICE_NAME => 'USER_MESSAGES_CHOICE_NAME', + self::USER_MESSAGES_ENTITLEMENT_SOURCE => 'USER_MESSAGES_ENTITLEMENT_SOURCE', + self::USER_MESSAGES_ENTITLEMENT_SOURCE_NAME => 'USER_MESSAGES_ENTITLEMENT_SOURCE_NAME', + self::USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID => 'USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID', + self::USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_NAME => 'USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_NAME', + self::VAST_VERSION => 'VAST_VERSION', + self::VAST_VERSION_NAME => 'VAST_VERSION_NAME', + self::VIDEO_AD_BREAK_TYPE => 'VIDEO_AD_BREAK_TYPE', + self::VIDEO_AD_BREAK_TYPE_NAME => 'VIDEO_AD_BREAK_TYPE_NAME', + self::VIDEO_AD_DURATION => 'VIDEO_AD_DURATION', + self::VIDEO_AD_FORMATS_RULE => 'VIDEO_AD_FORMATS_RULE', + self::VIDEO_AD_FORMATS_RULE_ID => 'VIDEO_AD_FORMATS_RULE_ID', + self::VIDEO_AD_REQUEST_DURATION => 'VIDEO_AD_REQUEST_DURATION', + self::VIDEO_AD_REQUEST_DURATION_MIDPOINT_NAME => 'VIDEO_AD_REQUEST_DURATION_MIDPOINT_NAME', + self::VIDEO_AD_REQUEST_DURATION_NAME => 'VIDEO_AD_REQUEST_DURATION_NAME', + self::VIDEO_AD_REQUEST_SOURCE => 'VIDEO_AD_REQUEST_SOURCE', + self::VIDEO_AD_REQUEST_SOURCE_NAME => 'VIDEO_AD_REQUEST_SOURCE_NAME', + self::VIDEO_AD_TYPE => 'VIDEO_AD_TYPE', + self::VIDEO_AD_TYPE_NAME => 'VIDEO_AD_TYPE_NAME', + self::VIDEO_CONTINUOUS_PLAY_TYPE => 'VIDEO_CONTINUOUS_PLAY_TYPE', + self::VIDEO_CONTINUOUS_PLAY_TYPE_NAME => 'VIDEO_CONTINUOUS_PLAY_TYPE_NAME', + self::VIDEO_FALLBACK_POSITION => 'VIDEO_FALLBACK_POSITION', + self::VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION => 'VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION', + self::VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID => 'VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID', + self::VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME => 'VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME', + self::VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME => 'VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME', + self::VIDEO_LIVE_STREAM_EVENT_ID => 'VIDEO_LIVE_STREAM_EVENT_ID', + self::VIDEO_LIVE_STREAM_EVENT_NAME => 'VIDEO_LIVE_STREAM_EVENT_NAME', + self::VIDEO_MEASUREMENT_SOURCE => 'VIDEO_MEASUREMENT_SOURCE', + self::VIDEO_MEASUREMENT_SOURCE_NAME => 'VIDEO_MEASUREMENT_SOURCE_NAME', + self::VIDEO_PLCMT => 'VIDEO_PLCMT', + self::VIDEO_PLCMT_NAME => 'VIDEO_PLCMT_NAME', + self::VIDEO_POSITION_IN_POD => 'VIDEO_POSITION_IN_POD', + self::VIDEO_POSITION_OF_POD => 'VIDEO_POSITION_OF_POD', + self::VIDEO_SDK_VERSION => 'VIDEO_SDK_VERSION', + self::VIDEO_SDK_VERSION_NAME => 'VIDEO_SDK_VERSION_NAME', + self::VIDEO_STITCHER_TYPE => 'VIDEO_STITCHER_TYPE', + self::VIDEO_STITCHER_TYPE_NAME => 'VIDEO_STITCHER_TYPE_NAME', + self::WEB_PROPERTY_CODE => 'WEB_PROPERTY_CODE', + self::WEEK => 'WEEK', + self::YIELD_GROUP_BUYER_NAME => 'YIELD_GROUP_BUYER_NAME', + self::YIELD_GROUP_BUYER_TAG_NAME => 'YIELD_GROUP_BUYER_TAG_NAME', + self::YIELD_GROUP_ID => 'YIELD_GROUP_ID', + self::YIELD_GROUP_NAME => 'YIELD_GROUP_NAME', + self::YOUTUBE_AD_DURATION_BUCKET => 'YOUTUBE_AD_DURATION_BUCKET', + self::YOUTUBE_AD_DURATION_BUCKET_NAME => 'YOUTUBE_AD_DURATION_BUCKET_NAME', + self::YOUTUBE_AD_TYPE => 'YOUTUBE_AD_TYPE', + self::YOUTUBE_AD_TYPE_NAME => 'YOUTUBE_AD_TYPE_NAME', + self::LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_1_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_1_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_2_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_2_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_3_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_3_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_4_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_4_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_5_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_5_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_6_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_6_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_7_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_7_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_8_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_8_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_9_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_9_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_10_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_10_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_11_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_11_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_12_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_12_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_13_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_13_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_14_OPTION_ID => 'LINE_ITEM_CUSTOM_FIELD_14_OPTION_ID', + self::LINE_ITEM_CUSTOM_FIELD_0_VALUE => 'LINE_ITEM_CUSTOM_FIELD_0_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_1_VALUE => 'LINE_ITEM_CUSTOM_FIELD_1_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_2_VALUE => 'LINE_ITEM_CUSTOM_FIELD_2_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_3_VALUE => 'LINE_ITEM_CUSTOM_FIELD_3_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_4_VALUE => 'LINE_ITEM_CUSTOM_FIELD_4_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_5_VALUE => 'LINE_ITEM_CUSTOM_FIELD_5_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_6_VALUE => 'LINE_ITEM_CUSTOM_FIELD_6_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_7_VALUE => 'LINE_ITEM_CUSTOM_FIELD_7_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_8_VALUE => 'LINE_ITEM_CUSTOM_FIELD_8_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_9_VALUE => 'LINE_ITEM_CUSTOM_FIELD_9_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_10_VALUE => 'LINE_ITEM_CUSTOM_FIELD_10_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_11_VALUE => 'LINE_ITEM_CUSTOM_FIELD_11_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_12_VALUE => 'LINE_ITEM_CUSTOM_FIELD_12_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_13_VALUE => 'LINE_ITEM_CUSTOM_FIELD_13_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_14_VALUE => 'LINE_ITEM_CUSTOM_FIELD_14_VALUE', + self::LINE_ITEM_CUSTOM_FIELD_0_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_0_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_1_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_1_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_2_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_2_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_3_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_3_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_4_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_4_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_5_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_5_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_6_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_6_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_7_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_7_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_8_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_8_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_9_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_9_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_10_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_10_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_11_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_11_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_12_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_12_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_13_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_13_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_14_VALUE_DOUBLE => 'LINE_ITEM_CUSTOM_FIELD_14_VALUE_DOUBLE', + self::LINE_ITEM_CUSTOM_FIELD_0_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_0_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_1_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_1_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_2_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_2_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_3_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_3_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_4_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_4_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_5_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_5_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_6_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_6_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_7_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_7_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_8_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_8_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_9_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_9_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_10_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_10_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_11_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_11_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_12_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_12_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_13_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_13_VALUE_BOOL', + self::LINE_ITEM_CUSTOM_FIELD_14_VALUE_BOOL => 'LINE_ITEM_CUSTOM_FIELD_14_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_0_OPTION_ID => 'ORDER_CUSTOM_FIELD_0_OPTION_ID', + self::ORDER_CUSTOM_FIELD_1_OPTION_ID => 'ORDER_CUSTOM_FIELD_1_OPTION_ID', + self::ORDER_CUSTOM_FIELD_2_OPTION_ID => 'ORDER_CUSTOM_FIELD_2_OPTION_ID', + self::ORDER_CUSTOM_FIELD_3_OPTION_ID => 'ORDER_CUSTOM_FIELD_3_OPTION_ID', + self::ORDER_CUSTOM_FIELD_4_OPTION_ID => 'ORDER_CUSTOM_FIELD_4_OPTION_ID', + self::ORDER_CUSTOM_FIELD_5_OPTION_ID => 'ORDER_CUSTOM_FIELD_5_OPTION_ID', + self::ORDER_CUSTOM_FIELD_6_OPTION_ID => 'ORDER_CUSTOM_FIELD_6_OPTION_ID', + self::ORDER_CUSTOM_FIELD_7_OPTION_ID => 'ORDER_CUSTOM_FIELD_7_OPTION_ID', + self::ORDER_CUSTOM_FIELD_8_OPTION_ID => 'ORDER_CUSTOM_FIELD_8_OPTION_ID', + self::ORDER_CUSTOM_FIELD_9_OPTION_ID => 'ORDER_CUSTOM_FIELD_9_OPTION_ID', + self::ORDER_CUSTOM_FIELD_10_OPTION_ID => 'ORDER_CUSTOM_FIELD_10_OPTION_ID', + self::ORDER_CUSTOM_FIELD_11_OPTION_ID => 'ORDER_CUSTOM_FIELD_11_OPTION_ID', + self::ORDER_CUSTOM_FIELD_12_OPTION_ID => 'ORDER_CUSTOM_FIELD_12_OPTION_ID', + self::ORDER_CUSTOM_FIELD_13_OPTION_ID => 'ORDER_CUSTOM_FIELD_13_OPTION_ID', + self::ORDER_CUSTOM_FIELD_14_OPTION_ID => 'ORDER_CUSTOM_FIELD_14_OPTION_ID', + self::ORDER_CUSTOM_FIELD_0_VALUE => 'ORDER_CUSTOM_FIELD_0_VALUE', + self::ORDER_CUSTOM_FIELD_1_VALUE => 'ORDER_CUSTOM_FIELD_1_VALUE', + self::ORDER_CUSTOM_FIELD_2_VALUE => 'ORDER_CUSTOM_FIELD_2_VALUE', + self::ORDER_CUSTOM_FIELD_3_VALUE => 'ORDER_CUSTOM_FIELD_3_VALUE', + self::ORDER_CUSTOM_FIELD_4_VALUE => 'ORDER_CUSTOM_FIELD_4_VALUE', + self::ORDER_CUSTOM_FIELD_5_VALUE => 'ORDER_CUSTOM_FIELD_5_VALUE', + self::ORDER_CUSTOM_FIELD_6_VALUE => 'ORDER_CUSTOM_FIELD_6_VALUE', + self::ORDER_CUSTOM_FIELD_7_VALUE => 'ORDER_CUSTOM_FIELD_7_VALUE', + self::ORDER_CUSTOM_FIELD_8_VALUE => 'ORDER_CUSTOM_FIELD_8_VALUE', + self::ORDER_CUSTOM_FIELD_9_VALUE => 'ORDER_CUSTOM_FIELD_9_VALUE', + self::ORDER_CUSTOM_FIELD_10_VALUE => 'ORDER_CUSTOM_FIELD_10_VALUE', + self::ORDER_CUSTOM_FIELD_11_VALUE => 'ORDER_CUSTOM_FIELD_11_VALUE', + self::ORDER_CUSTOM_FIELD_12_VALUE => 'ORDER_CUSTOM_FIELD_12_VALUE', + self::ORDER_CUSTOM_FIELD_13_VALUE => 'ORDER_CUSTOM_FIELD_13_VALUE', + self::ORDER_CUSTOM_FIELD_14_VALUE => 'ORDER_CUSTOM_FIELD_14_VALUE', + self::ORDER_CUSTOM_FIELD_0_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_0_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_1_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_1_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_2_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_2_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_3_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_3_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_4_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_4_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_5_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_5_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_6_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_6_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_7_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_7_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_8_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_8_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_9_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_9_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_10_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_10_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_11_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_11_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_12_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_12_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_13_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_13_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_14_VALUE_DOUBLE => 'ORDER_CUSTOM_FIELD_14_VALUE_DOUBLE', + self::ORDER_CUSTOM_FIELD_0_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_0_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_1_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_1_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_2_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_2_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_3_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_3_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_4_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_4_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_5_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_5_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_6_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_6_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_7_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_7_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_8_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_8_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_9_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_9_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_10_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_10_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_11_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_11_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_12_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_12_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_13_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_13_VALUE_BOOL', + self::ORDER_CUSTOM_FIELD_14_VALUE_BOOL => 'ORDER_CUSTOM_FIELD_14_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_0_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_0_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_1_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_1_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_2_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_2_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_3_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_3_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_4_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_4_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_5_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_5_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_6_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_6_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_7_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_7_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_8_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_8_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_9_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_9_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_10_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_10_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_11_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_11_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_12_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_12_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_13_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_13_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_14_OPTION_ID => 'CREATIVE_CUSTOM_FIELD_14_OPTION_ID', + self::CREATIVE_CUSTOM_FIELD_0_VALUE => 'CREATIVE_CUSTOM_FIELD_0_VALUE', + self::CREATIVE_CUSTOM_FIELD_1_VALUE => 'CREATIVE_CUSTOM_FIELD_1_VALUE', + self::CREATIVE_CUSTOM_FIELD_2_VALUE => 'CREATIVE_CUSTOM_FIELD_2_VALUE', + self::CREATIVE_CUSTOM_FIELD_3_VALUE => 'CREATIVE_CUSTOM_FIELD_3_VALUE', + self::CREATIVE_CUSTOM_FIELD_4_VALUE => 'CREATIVE_CUSTOM_FIELD_4_VALUE', + self::CREATIVE_CUSTOM_FIELD_5_VALUE => 'CREATIVE_CUSTOM_FIELD_5_VALUE', + self::CREATIVE_CUSTOM_FIELD_6_VALUE => 'CREATIVE_CUSTOM_FIELD_6_VALUE', + self::CREATIVE_CUSTOM_FIELD_7_VALUE => 'CREATIVE_CUSTOM_FIELD_7_VALUE', + self::CREATIVE_CUSTOM_FIELD_8_VALUE => 'CREATIVE_CUSTOM_FIELD_8_VALUE', + self::CREATIVE_CUSTOM_FIELD_9_VALUE => 'CREATIVE_CUSTOM_FIELD_9_VALUE', + self::CREATIVE_CUSTOM_FIELD_10_VALUE => 'CREATIVE_CUSTOM_FIELD_10_VALUE', + self::CREATIVE_CUSTOM_FIELD_11_VALUE => 'CREATIVE_CUSTOM_FIELD_11_VALUE', + self::CREATIVE_CUSTOM_FIELD_12_VALUE => 'CREATIVE_CUSTOM_FIELD_12_VALUE', + self::CREATIVE_CUSTOM_FIELD_13_VALUE => 'CREATIVE_CUSTOM_FIELD_13_VALUE', + self::CREATIVE_CUSTOM_FIELD_14_VALUE => 'CREATIVE_CUSTOM_FIELD_14_VALUE', + self::CREATIVE_CUSTOM_FIELD_0_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_0_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_1_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_1_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_2_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_2_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_3_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_3_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_4_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_4_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_5_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_5_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_6_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_6_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_7_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_7_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_8_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_8_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_9_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_9_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_10_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_10_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_11_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_11_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_12_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_12_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_13_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_13_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_14_VALUE_DOUBLE => 'CREATIVE_CUSTOM_FIELD_14_VALUE_DOUBLE', + self::CREATIVE_CUSTOM_FIELD_0_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_0_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_1_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_1_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_2_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_2_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_3_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_3_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_4_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_4_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_5_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_5_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_6_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_6_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_7_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_7_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_8_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_8_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_9_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_9_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_10_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_10_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_11_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_11_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_12_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_12_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_13_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_13_VALUE_BOOL', + self::CREATIVE_CUSTOM_FIELD_14_VALUE_BOOL => 'CREATIVE_CUSTOM_FIELD_14_VALUE_BOOL', + self::CMS_METADATA_DIMENSION_0_VALUE_ID => 'CMS_METADATA_DIMENSION_0_VALUE_ID', + self::CMS_METADATA_DIMENSION_1_VALUE_ID => 'CMS_METADATA_DIMENSION_1_VALUE_ID', + self::CMS_METADATA_DIMENSION_2_VALUE_ID => 'CMS_METADATA_DIMENSION_2_VALUE_ID', + self::CMS_METADATA_DIMENSION_3_VALUE_ID => 'CMS_METADATA_DIMENSION_3_VALUE_ID', + self::CMS_METADATA_DIMENSION_4_VALUE_ID => 'CMS_METADATA_DIMENSION_4_VALUE_ID', + self::CMS_METADATA_DIMENSION_5_VALUE_ID => 'CMS_METADATA_DIMENSION_5_VALUE_ID', + self::CMS_METADATA_DIMENSION_6_VALUE_ID => 'CMS_METADATA_DIMENSION_6_VALUE_ID', + self::CMS_METADATA_DIMENSION_7_VALUE_ID => 'CMS_METADATA_DIMENSION_7_VALUE_ID', + self::CMS_METADATA_DIMENSION_8_VALUE_ID => 'CMS_METADATA_DIMENSION_8_VALUE_ID', + self::CMS_METADATA_DIMENSION_9_VALUE_ID => 'CMS_METADATA_DIMENSION_9_VALUE_ID', + self::CMS_METADATA_DIMENSION_0_VALUE => 'CMS_METADATA_DIMENSION_0_VALUE', + self::CMS_METADATA_DIMENSION_1_VALUE => 'CMS_METADATA_DIMENSION_1_VALUE', + self::CMS_METADATA_DIMENSION_2_VALUE => 'CMS_METADATA_DIMENSION_2_VALUE', + self::CMS_METADATA_DIMENSION_3_VALUE => 'CMS_METADATA_DIMENSION_3_VALUE', + self::CMS_METADATA_DIMENSION_4_VALUE => 'CMS_METADATA_DIMENSION_4_VALUE', + self::CMS_METADATA_DIMENSION_5_VALUE => 'CMS_METADATA_DIMENSION_5_VALUE', + self::CMS_METADATA_DIMENSION_6_VALUE => 'CMS_METADATA_DIMENSION_6_VALUE', + self::CMS_METADATA_DIMENSION_7_VALUE => 'CMS_METADATA_DIMENSION_7_VALUE', + self::CMS_METADATA_DIMENSION_8_VALUE => 'CMS_METADATA_DIMENSION_8_VALUE', + self::CMS_METADATA_DIMENSION_9_VALUE => 'CMS_METADATA_DIMENSION_9_VALUE', + self::CUSTOM_DIMENSION_0_VALUE_ID => 'CUSTOM_DIMENSION_0_VALUE_ID', + self::CUSTOM_DIMENSION_1_VALUE_ID => 'CUSTOM_DIMENSION_1_VALUE_ID', + self::CUSTOM_DIMENSION_2_VALUE_ID => 'CUSTOM_DIMENSION_2_VALUE_ID', + self::CUSTOM_DIMENSION_3_VALUE_ID => 'CUSTOM_DIMENSION_3_VALUE_ID', + self::CUSTOM_DIMENSION_4_VALUE_ID => 'CUSTOM_DIMENSION_4_VALUE_ID', + self::CUSTOM_DIMENSION_5_VALUE_ID => 'CUSTOM_DIMENSION_5_VALUE_ID', + self::CUSTOM_DIMENSION_6_VALUE_ID => 'CUSTOM_DIMENSION_6_VALUE_ID', + self::CUSTOM_DIMENSION_7_VALUE_ID => 'CUSTOM_DIMENSION_7_VALUE_ID', + self::CUSTOM_DIMENSION_8_VALUE_ID => 'CUSTOM_DIMENSION_8_VALUE_ID', + self::CUSTOM_DIMENSION_9_VALUE_ID => 'CUSTOM_DIMENSION_9_VALUE_ID', + self::CUSTOM_DIMENSION_0_VALUE => 'CUSTOM_DIMENSION_0_VALUE', + self::CUSTOM_DIMENSION_1_VALUE => 'CUSTOM_DIMENSION_1_VALUE', + self::CUSTOM_DIMENSION_2_VALUE => 'CUSTOM_DIMENSION_2_VALUE', + self::CUSTOM_DIMENSION_3_VALUE => 'CUSTOM_DIMENSION_3_VALUE', + self::CUSTOM_DIMENSION_4_VALUE => 'CUSTOM_DIMENSION_4_VALUE', + self::CUSTOM_DIMENSION_5_VALUE => 'CUSTOM_DIMENSION_5_VALUE', + self::CUSTOM_DIMENSION_6_VALUE => 'CUSTOM_DIMENSION_6_VALUE', + self::CUSTOM_DIMENSION_7_VALUE => 'CUSTOM_DIMENSION_7_VALUE', + self::CUSTOM_DIMENSION_8_VALUE => 'CUSTOM_DIMENSION_8_VALUE', + self::CUSTOM_DIMENSION_9_VALUE => 'CUSTOM_DIMENSION_9_VALUE', + self::EKV_DIMENSION_0_VALUE_ID => 'EKV_DIMENSION_0_VALUE_ID', + self::EKV_DIMENSION_1_VALUE_ID => 'EKV_DIMENSION_1_VALUE_ID', + self::EKV_DIMENSION_2_VALUE_ID => 'EKV_DIMENSION_2_VALUE_ID', + self::EKV_DIMENSION_3_VALUE_ID => 'EKV_DIMENSION_3_VALUE_ID', + self::EKV_DIMENSION_4_VALUE_ID => 'EKV_DIMENSION_4_VALUE_ID', + self::EKV_DIMENSION_5_VALUE_ID => 'EKV_DIMENSION_5_VALUE_ID', + self::EKV_DIMENSION_6_VALUE_ID => 'EKV_DIMENSION_6_VALUE_ID', + self::EKV_DIMENSION_7_VALUE_ID => 'EKV_DIMENSION_7_VALUE_ID', + self::EKV_DIMENSION_8_VALUE_ID => 'EKV_DIMENSION_8_VALUE_ID', + self::EKV_DIMENSION_9_VALUE_ID => 'EKV_DIMENSION_9_VALUE_ID', + self::EKV_DIMENSION_0_VALUE => 'EKV_DIMENSION_0_VALUE', + self::EKV_DIMENSION_1_VALUE => 'EKV_DIMENSION_1_VALUE', + self::EKV_DIMENSION_2_VALUE => 'EKV_DIMENSION_2_VALUE', + self::EKV_DIMENSION_3_VALUE => 'EKV_DIMENSION_3_VALUE', + self::EKV_DIMENSION_4_VALUE => 'EKV_DIMENSION_4_VALUE', + self::EKV_DIMENSION_5_VALUE => 'EKV_DIMENSION_5_VALUE', + self::EKV_DIMENSION_6_VALUE => 'EKV_DIMENSION_6_VALUE', + self::EKV_DIMENSION_7_VALUE => 'EKV_DIMENSION_7_VALUE', + self::EKV_DIMENSION_8_VALUE => 'EKV_DIMENSION_8_VALUE', + self::EKV_DIMENSION_9_VALUE => 'EKV_DIMENSION_9_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Field.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Field.php new file mode 100644 index 000000000000..68605b4e23cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Field.php @@ -0,0 +1,108 @@ +google.ads.admanager.v1.ReportDefinition.Field + */ +class Field extends \Google\Protobuf\Internal\Message +{ + protected $field; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $dimension + * The dimension this field represents. + * @type int $metric + * The metric this field represents. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * The dimension this field represents. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1; + * @return int + */ + public function getDimension() + { + return $this->readOneof(1); + } + + public function hasDimension() + { + return $this->hasOneof(1); + } + + /** + * The dimension this field represents. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1; + * @param int $var + * @return $this + */ + public function setDimension($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\Dimension::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * The metric this field represents. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Metric metric = 2; + * @return int + */ + public function getMetric() + { + return $this->readOneof(2); + } + + public function hasMetric() + { + return $this->hasOneof(2); + } + + /** + * The metric this field represents. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Metric metric = 2; + * @param int $var + * @return $this + */ + public function setMetric($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\Metric::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getField() + { + return $this->whichOneof("field"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter.php new file mode 100644 index 000000000000..9633c7a2a430 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter.php @@ -0,0 +1,174 @@ +google.ads.admanager.v1.ReportDefinition.Filter + */ +class Filter extends \Google\Protobuf\Internal\Message +{ + protected $type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter\FieldFilter $field_filter + * A filter on a single field. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter $not_filter + * A filter whose result is negated. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList $and_filter + * A list of filters whose results are AND-ed. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList $or_filter + * A list of filters whose results are OR-ed. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * A filter on a single field. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FieldFilter field_filter = 1; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Filter\FieldFilter|null + */ + public function getFieldFilter() + { + return $this->readOneof(1); + } + + public function hasFieldFilter() + { + return $this->hasOneof(1); + } + + /** + * A filter on a single field. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FieldFilter field_filter = 1; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter\FieldFilter $var + * @return $this + */ + public function setFieldFilter($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Filter\FieldFilter::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A filter whose result is negated. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter not_filter = 2; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Filter|null + */ + public function getNotFilter() + { + return $this->readOneof(2); + } + + public function hasNotFilter() + { + return $this->hasOneof(2); + } + + /** + * A filter whose result is negated. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter not_filter = 2; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter $var + * @return $this + */ + public function setNotFilter($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Filter::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A list of filters whose results are AND-ed. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FilterList and_filter = 3; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList|null + */ + public function getAndFilter() + { + return $this->readOneof(3); + } + + public function hasAndFilter() + { + return $this->hasOneof(3); + } + + /** + * A list of filters whose results are AND-ed. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FilterList and_filter = 3; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList $var + * @return $this + */ + public function setAndFilter($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A list of filters whose results are OR-ed. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FilterList or_filter = 4; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList|null + */ + public function getOrFilter() + { + return $this->readOneof(4); + } + + public function hasOrFilter() + { + return $this->hasOneof(4); + } + + /** + * A list of filters whose results are OR-ed. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.FilterList or_filter = 4; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList $var + * @return $this + */ + public function setOrFilter($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Filter\FilterList::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * @return string + */ + public function getType() + { + return $this->whichOneof("type"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FieldFilter.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FieldFilter.php new file mode 100644 index 000000000000..8494c98ab0b4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FieldFilter.php @@ -0,0 +1,285 @@ +google.ads.admanager.v1.ReportDefinition.Filter.FieldFilter + */ +class FieldFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The field to filter on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $field = null; + /** + * Required. The operation of this filter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.Operation operation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $operation = 0; + /** + * Required. Values to filter to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private $values; + /** + * Optional. Use to filter on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $slice = null; + /** + * Optional. When using time period columns, use this to filter on a + * specific column. + * + * Generated from protobuf field optional int32 time_period_index = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_period_index = null; + /** + * Optional. Use to specify which metric value type to filter on. Defaults + * to PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $metric_value_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\Field $field + * Required. The field to filter on. + * @type int $operation + * Required. The operation of this filter. + * @type \Google\Ads\AdManager\V1\ReportValue[] $values + * Required. Values to filter to. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Slice $slice + * Optional. Use to filter on a specific slice of data. + * @type int $time_period_index + * Optional. When using time period columns, use this to filter on a + * specific column. + * @type int $metric_value_type + * Optional. Use to specify which metric value type to filter on. Defaults + * to PRIMARY. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. The field to filter on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Field|null + */ + public function getField() + { + return $this->field; + } + + public function hasField() + { + return isset($this->field); + } + + public function clearField() + { + unset($this->field); + } + + /** + * Required. The field to filter on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Field $var + * @return $this + */ + public function setField($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Field::class); + $this->field = $var; + + return $this; + } + + /** + * Required. The operation of this filter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.Operation operation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getOperation() + { + return $this->operation; + } + + /** + * Required. The operation of this filter. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Filter.Operation operation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setOperation($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\Filter\Operation::class); + $this->operation = $var; + + return $this; + } + + /** + * Required. Values to filter to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportValue> + */ + public function getValues() + { + return $this->values; + } + + /** + * Required. Values to filter to. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportValue[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportValue::class); + $this->values = $arr; + + return $this; + } + + /** + * Optional. Use to filter on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Slice|null + */ + public function getSlice() + { + return $this->slice; + } + + public function hasSlice() + { + return isset($this->slice); + } + + public function clearSlice() + { + unset($this->slice); + } + + /** + * Optional. Use to filter on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Slice $var + * @return $this + */ + public function setSlice($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Slice::class); + $this->slice = $var; + + return $this; + } + + /** + * Optional. When using time period columns, use this to filter on a + * specific column. + * + * Generated from protobuf field optional int32 time_period_index = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTimePeriodIndex() + { + return isset($this->time_period_index) ? $this->time_period_index : 0; + } + + public function hasTimePeriodIndex() + { + return isset($this->time_period_index); + } + + public function clearTimePeriodIndex() + { + unset($this->time_period_index); + } + + /** + * Optional. When using time period columns, use this to filter on a + * specific column. + * + * Generated from protobuf field optional int32 time_period_index = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTimePeriodIndex($var) + { + GPBUtil::checkInt32($var); + $this->time_period_index = $var; + + return $this; + } + + /** + * Optional. Use to specify which metric value type to filter on. Defaults + * to PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMetricValueType() + { + return isset($this->metric_value_type) ? $this->metric_value_type : 0; + } + + public function hasMetricValueType() + { + return isset($this->metric_value_type); + } + + public function clearMetricValueType() + { + unset($this->metric_value_type); + } + + /** + * Optional. Use to specify which metric value type to filter on. Defaults + * to PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMetricValueType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\MetricValueType::class); + $this->metric_value_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FilterList.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FilterList.php new file mode 100644 index 000000000000..61736878648c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/FilterList.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.ReportDefinition.Filter.FilterList + */ +class FilterList extends \Google\Protobuf\Internal\Message +{ + /** + * Required. A list of filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $filters; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $filters + * Required. A list of filters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. A list of filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Filter> + */ + public function getFilters() + { + return $this->filters; + } + + /** + * Required. A list of filters. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $var + * @return $this + */ + public function setFilters($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Filter::class); + $this->filters = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/Operation.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/Operation.php new file mode 100644 index 000000000000..ae4704e9be01 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Filter/Operation.php @@ -0,0 +1,132 @@ +google.ads.admanager.v1.ReportDefinition.Filter.Operation + */ +class Operation +{ + /** + * For scalar operands, checks if the operand is in the set of provided + * filter values. + * For list operands, checks if any element in the operand is in the set + * of provided filter values. + * Default value. + * + * Generated from protobuf enum IN = 0; + */ + const IN = 0; + /** + * For scalar operands, checks that the operand is not in the set of + * provided filter values. + * For list operands, checks that none of the elements in the operand + * is in the set of provided filter values. + * + * Generated from protobuf enum NOT_IN = 1; + */ + const NOT_IN = 1; + /** + * For scalar string operands, checks if the operand contains any of the + * provided filter substrings. + * For string list operands, checks if any string in the operand contains + * any of the provided filter substrings. + * + * Generated from protobuf enum CONTAINS = 2; + */ + const CONTAINS = 2; + /** + * For scalar string operands, checks that the operand contains none of + * the provided filter substrings. + * For string list operands, checks that none of the strings in the + * operand contain none of the provided filter substrings. + * + * Generated from protobuf enum NOT_CONTAINS = 3; + */ + const NOT_CONTAINS = 3; + /** + * Operand is less than the provided filter value. + * + * Generated from protobuf enum LESS_THAN = 4; + */ + const LESS_THAN = 4; + /** + * Operand is less than or equal to provided filter value. + * + * Generated from protobuf enum LESS_THAN_EQUALS = 5; + */ + const LESS_THAN_EQUALS = 5; + /** + * Operand is greater than provided filter value. + * + * Generated from protobuf enum GREATER_THAN = 6; + */ + const GREATER_THAN = 6; + /** + * Operand is greater than or equal to provided filter value. + * + * Generated from protobuf enum GREATER_THAN_EQUALS = 7; + */ + const GREATER_THAN_EQUALS = 7; + /** + * Operand is between provided filter values. + * + * Generated from protobuf enum BETWEEN = 8; + */ + const BETWEEN = 8; + /** + * Operand matches against a regular expression or set of regular + * expressions (one must match). + * + * Generated from protobuf enum MATCHES = 9; + */ + const MATCHES = 9; + /** + * Operand negative matches against a regular expression or set of regular + * expressions (none must match). + * + * Generated from protobuf enum NOT_MATCHES = 10; + */ + const NOT_MATCHES = 10; + + private static $valueToName = [ + self::IN => 'IN', + self::NOT_IN => 'NOT_IN', + self::CONTAINS => 'CONTAINS', + self::NOT_CONTAINS => 'NOT_CONTAINS', + self::LESS_THAN => 'LESS_THAN', + self::LESS_THAN_EQUALS => 'LESS_THAN_EQUALS', + self::GREATER_THAN => 'GREATER_THAN', + self::GREATER_THAN_EQUALS => 'GREATER_THAN_EQUALS', + self::BETWEEN => 'BETWEEN', + self::MATCHES => 'MATCHES', + self::NOT_MATCHES => 'NOT_MATCHES', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Flag.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Flag.php new file mode 100644 index 000000000000..8ee829ae0b47 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Flag.php @@ -0,0 +1,117 @@ +google.ads.admanager.v1.ReportDefinition.Flag + */ +class Flag extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Filters to apply for the flag. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $filters; + /** + * Optional. Name of the flag. + * The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to + * the colored flags that appear in the UI. The UI won't display flags + * with other names, but they are available for use by API clients. + * + * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $filters + * Required. Filters to apply for the flag. + * @type string $name + * Optional. Name of the flag. + * The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to + * the colored flags that appear in the UI. The UI won't display flags + * with other names, but they are available for use by API clients. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. Filters to apply for the flag. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Filter> + */ + public function getFilters() + { + return $this->filters; + } + + /** + * Required. Filters to apply for the flag. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Filter filters = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Filter[] $var + * @return $this + */ + public function setFilters($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Filter::class); + $this->filters = $arr; + + return $this; + } + + /** + * Optional. Name of the flag. + * The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to + * the colored flags that appear in the UI. The UI won't display flags + * with other names, but they are available for use by API clients. + * + * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Optional. Name of the flag. + * The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to + * the colored flags that appear in the UI. The UI won't display flags + * with other names, but they are available for use by API clients. + * + * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Metric.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Metric.php new file mode 100644 index 000000000000..d4239617fd29 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Metric.php @@ -0,0 +1,5755 @@ +google.ads.admanager.v1.ReportDefinition.Metric + */ +class Metric +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum METRIC_UNSPECIFIED = 0; + */ + const METRIC_UNSPECIFIED = 0; + /** + * The number of people who engaged with your site or app in the specified + * date range from Google Analytics. + * Corresponds to "Active users" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_USERS = 223; + */ + const ACTIVE_USERS = 223; + /** + * Number of impressions with unmuted playback at start. + * Corresponds to "Active View % audible at start" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_AT_START_PERCENT = 445; + */ + const ACTIVE_VIEW_AUDIBLE_AT_START_PERCENT = 445; + /** + * Total Active View audible impressions + * Corresponds to "Total Active View audible impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_IMPRESSIONS = 659; + */ + const ACTIVE_VIEW_AUDIBLE_IMPRESSIONS = 659; + /** + * Number of impressions with unmuted playback through the entire stream. + * Corresponds to "Active View % audible through completion" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_THROUGH_COMPLETION_PERCENT = 446; + */ + const ACTIVE_VIEW_AUDIBLE_THROUGH_COMPLETION_PERCENT = 446; + /** + * Number of impressions with unmuted playback through at least 25%. + * Corresponds to "Active View % audible through first quartile" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_THROUGH_FIRST_QUARTILE_PERCENT = 447; + */ + const ACTIVE_VIEW_AUDIBLE_THROUGH_FIRST_QUARTILE_PERCENT = 447; + /** + * Number of impressions with unmuted playback through at least 50%. + * Corresponds to "Active View % audible through midpoint" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_THROUGH_MIDPOINT_PERCENT = 448; + */ + const ACTIVE_VIEW_AUDIBLE_THROUGH_MIDPOINT_PERCENT = 448; + /** + * Number of impressions with unmuted playback through at least 75%. + * Corresponds to "Active View % audible through third quartile" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIBLE_THROUGH_THIRD_QUARTILE_PERCENT = 449; + */ + const ACTIVE_VIEW_AUDIBLE_THROUGH_THIRD_QUARTILE_PERCENT = 449; + /** + * Total Active View audio enabled impressions + * Corresponds to "Total Active View audio eligible impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIO_ENABLED_IMPRESSIONS = 660; + */ + const ACTIVE_VIEW_AUDIO_ENABLED_IMPRESSIONS = 660; + /** + * Total Active View audio measurable impressions + * Corresponds to "Total Active View audio measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_AUDIO_MEASURABLE_IMPRESSIONS = 661; + */ + const ACTIVE_VIEW_AUDIO_MEASURABLE_IMPRESSIONS = 661; + /** + * Active View total average time in seconds that specific impressions are + * reported as being viewable. + * Corresponds to "Total Active View average viewable time (seconds)" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 61; + */ + const ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 61; + /** + * Total number of impressions that were eligible to measure viewability. + * Corresponds to "Total Active View eligible impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 58; + */ + const ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 58; + /** + * Number of impressions where the ad player is in the background at any + * point during playback with volume > 0. + * Corresponds to "Active View % ever audible while backgrounded" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_EVER_AUDIBLE_BACKGROUNDED_PERCENT = 450; + */ + const ACTIVE_VIEW_EVER_AUDIBLE_BACKGROUNDED_PERCENT = 450; + /** + * Number of impressions where volume > 0 at any point. + * Corresponds to "Active View % ever audible" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_EVER_AUDIBLE_PERCENT = 451; + */ + const ACTIVE_VIEW_EVER_AUDIBLE_PERCENT = 451; + /** + * Number of impressions where the ad player is in the background at any + * point during playback. + * Corresponds to "Active View % ever backgrounded" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_EVER_BACKGROUNDED_PERCENT = 452; + */ + const ACTIVE_VIEW_EVER_BACKGROUNDED_PERCENT = 452; + /** + * Number of impressions where volume = 0 at any point. + * Corresponds to "Active View % ever muted" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_EVER_MUTED_PERCENT = 453; + */ + const ACTIVE_VIEW_EVER_MUTED_PERCENT = 453; + /** + * The number of measurable impressions that were played to video + * completion, and also audible and visible at the time of completion. + * Corresponds to "Total Active View impressions audible and visible at + * completion" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_IMPRESSIONS_AUDIBLE_AND_VISIBLIE_AT_COMPLETION = 411; + */ + const ACTIVE_VIEW_IMPRESSIONS_AUDIBLE_AND_VISIBLIE_AT_COMPLETION = 411; + /** + * The total number of impressions that were sampled and measured by active + * view. + * Corresponds to "Total Active View measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 57; + */ + const ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 57; + /** + * The percentage of total impressions that were measurable by active view + * (out of all the total impressions sampled for active view). + * Corresponds to "Total Active View % measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 60; + */ + const ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 60; + /** + * Total Active View non-measurable impressions + * Corresponds to "Total Active View non-measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 662; + */ + const ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 662; + /** + * Total Active View non-viewable impressions + * Corresponds to "Total Active View non-viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 663; + */ + const ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 663; + /** + * Total Active View non-viewable impressions distribution + * Corresponds to "Total Active View non-viewable impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 664; + */ + const ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 664; + /** + * Total Active View percent audible impressions + * Corresponds to "Total Active View % audible impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS = 665; + */ + const ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS = 665; + /** + * Number of impressions where we were able to collect Active View+ signals. + * Corresponds to "Active View+ measurable impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_PLUS_MEASURABLE_COUNT = 454; + */ + const ACTIVE_VIEW_PLUS_MEASURABLE_COUNT = 454; + /** + * Revenue generated from Active View impressions. + * Corresponds to "Total Active View revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum ACTIVE_VIEW_REVENUE = 414; + */ + const ACTIVE_VIEW_REVENUE = 414; + /** + * Total Active View undetermined impressions distribution + * Corresponds to "Total Active View undetermined impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 666; + */ + const ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 666; + /** + * The total number of impressions viewed on the user's screen. + * Corresponds to "Total Active View viewable impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 56; + */ + const ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 56; + /** + * Total Active View viewable impressions distribution + * Corresponds to "Total Active View viewable impression distribution" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 667; + */ + const ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 667; + /** + * The percentage of total impressions viewed on the user's screen (out of + * the total impressions measurable by active view). + * Corresponds to "Total Active View % viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 59; + */ + const ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 59; + /** + * Active View AdSense average time in seconds that specific impressions are + * reported as being viewable. + * Corresponds to "AdSense Active View average viewable time (seconds)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 73; + */ + const ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 73; + /** + * Total number of impressions delivered by AdSense that were eligible to + * measure viewability. + * Corresponds to "AdSense Active View eligible impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 70; + */ + const ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 70; + /** + * The number of impressions delivered by AdSense that were sampled, and + * measurable by active view. + * Corresponds to "AdSense Active View measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 69; + */ + const ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 69; + /** + * The percentage of impressions delivered by AdSense that were measurable + * by active view (out of all AdSense impressions sampled for active view). + * Corresponds to "AdSense Active View % measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 72; + */ + const ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 72; + /** + * AdSense Active View non-measurable impressions + * Corresponds to "AdSense Active View non-measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 642; + */ + const ADSENSE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 642; + /** + * AdSense Active View non-viewable impressions + * Corresponds to "AdSense Active View non-viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 643; + */ + const ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 643; + /** + * AdSense Active View non-viewable impressions distribution + * Corresponds to "AdSense Active View non-viewable impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 644; + */ + const ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 644; + /** + * AdSense Active View undetermined impressions distribution + * Corresponds to "AdSense Active View undetermined impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 645; + */ + const ADSENSE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 645; + /** + * The number of impressions delivered by AdSense viewed on the user's + * screen. + * Corresponds to "AdSense Active View viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 68; + */ + const ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 68; + /** + * AdSense Active View viewable impressions distribution + * Corresponds to "AdSense Active View viewable impression distribution" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 646; + */ + const ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 646; + /** + * The percentage of impressions delivered by AdSense viewed on the user's + * screen (out of AdSense impressions measurable by active view). + * Corresponds to "AdSense Active View % viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 71; + */ + const ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 71; + /** + * The average effective cost-per-thousand-impressions earned from the ads + * delivered by AdSense through line item dynamic allocation. + * Corresponds to "AdSense average eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum ADSENSE_AVERAGE_ECPM = 26; + */ + const ADSENSE_AVERAGE_ECPM = 26; + /** + * Number of clicks delivered by AdSense demand channel. + * Corresponds to "AdSense clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_CLICKS = 23; + */ + const ADSENSE_CLICKS = 23; + /** + * The ratio of impressions served by AdSense that resulted in users + * clicking on an ad. The clickthrough rate (CTR) is updated nightly. The + * AdSense CTR is calculated as: (AdSense clicks / AdSense impressions). + * Corresponds to "AdSense CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_CTR = 24; + */ + const ADSENSE_CTR = 24; + /** + * Total impressions delivered by AdSense. + * Corresponds to "AdSense impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_IMPRESSIONS = 22; + */ + const ADSENSE_IMPRESSIONS = 22; + /** + * Ratio of clicks delivered by AdSense through line item dynamic allocation + * in relation to the total clicks delivered. + * Corresponds to "AdSense clicks (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_PERCENT_CLICKS = 28; + */ + const ADSENSE_PERCENT_CLICKS = 28; + /** + * Ratio of impressions delivered by AdSense through line item dynamic + * allocation in relation to the total impressions delivered. + * Corresponds to "AdSense impressions (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_PERCENT_IMPRESSIONS = 27; + */ + const ADSENSE_PERCENT_IMPRESSIONS = 27; + /** + * Ratio of revenue generated by AdSense through line item dynamic + * allocation in relation to the total revenue. + * Corresponds to "AdSense revenue (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_PERCENT_REVENUE = 29; + */ + const ADSENSE_PERCENT_REVENUE = 29; + /** + * Ratio of revenue generated by AdSense through line item dynamic + * allocation in relation to the total revenue (excluding CPD). + * Corresponds to "AdSense revenue w/o CPD (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ADSENSE_PERCENT_REVENUE_WITHOUT_CPD = 30; + */ + const ADSENSE_PERCENT_REVENUE_WITHOUT_CPD = 30; + /** + * The total number of times that an AdSense ad is delivered. + * Corresponds to "AdSense responses served" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ADSENSE_RESPONSES_SERVED = 41; + */ + const ADSENSE_RESPONSES_SERVED = 41; + /** + * Revenue generated from AdSense through line item dynamic allocation, + * calculated in the network's currency and time zone. + * Corresponds to "AdSense revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum ADSENSE_REVENUE = 25; + */ + const ADSENSE_REVENUE = 25; + /** + * Active View AdExchange average time in seconds that specific impressions + * are reported as being viewable. + * Corresponds to "Ad Exchange Active View average viewable time (seconds)" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 79; + */ + const AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 79; + /** + * Total number of impressions delivered by Ad Exchange that were eligible + * to measure viewability. + * Corresponds to "Ad Exchange Active View eligible impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 76; + */ + const AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 76; + /** + * The number of impressions delivered by Ad Exchange that were sampled, and + * measurable by active view. + * Corresponds to "Ad Exchange Active View measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 75; + */ + const AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 75; + /** + * The percentage of impressions delivered by Ad Exchange that were + * measurable by active view (out of all Ad Exchange impressions sampled + * for active view). + * Corresponds to "Ad Exchange Active View % measurable impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 78; + */ + const AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 78; + /** + * Ad Exchange Active View non-measurable impressions + * Corresponds to "Ad Exchange Active View non-measurable impressions" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 654; + */ + const AD_EXCHANGE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 654; + /** + * Ad Exchange Active View non-viewable impressions + * Corresponds to "Ad Exchange Active View non-viewable impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 655; + */ + const AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 655; + /** + * Ad Exchange Active View non-viewable impressions distribution + * Corresponds to "Ad Exchange Active View non-viewable impression + * distribution" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 656; + */ + const AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 656; + /** + * Ad Exchange Active View undetermined impressions distribution + * Corresponds to "Ad Exchange Active View undetermined impression + * distribution" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 657; + */ + const AD_EXCHANGE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 657; + /** + * The number of impressions delivered by Ad Exchange viewed on the user's + * screen. + * Corresponds to "Ad Exchange Active View viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 74; + */ + const AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 74; + /** + * Ad Exchange Active View viewable impressions distribution + * Corresponds to "Ad Exchange Active View viewable impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 658; + */ + const AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 658; + /** + * The percentage of impressions delivered by Ad Exchange viewed on the + * user's screen (out of Ad Exchange impressions measurable by active + * view). + * Corresponds to "Ad Exchange Active View % viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 77; + */ + const AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 77; + /** + * The average effective cost-per-thousand-impressions earned from the ads + * delivered by Ad Exchange through line item dynamic allocation. + * Corresponds to "Ad Exchange average eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_AVERAGE_ECPM = 18; + */ + const AD_EXCHANGE_AVERAGE_ECPM = 18; + /** + * Number of clicks delivered by the Ad Exchange. + * Corresponds to "Ad Exchange clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_CLICKS = 15; + */ + const AD_EXCHANGE_CLICKS = 15; + /** + * The average effective cost-per-click earned from the ads delivered by Ad + * Exchange through line item dynamic allocation. + * Corresponds to "Ad Exchange CPC" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_CPC = 244; + */ + const AD_EXCHANGE_CPC = 244; + /** + * The ratio of impressions served by the Ad Exchange that resulted in users + * clicking on an ad. The clickthrough rate (CTR) is updated nightly. Ad + * Exchange CTR is calculated as: (Ad Exchange clicks / Ad Exchange + * impressions). + * Corresponds to "Ad Exchange CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_CTR = 16; + */ + const AD_EXCHANGE_CTR = 16; + /** + * Ratio of impressions delivered by Ad Exchange through line item dynamic + * allocation to ad requests. + * Corresponds to "Ad Exchange delivery rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_DELIVERY_RATE = 245; + */ + const AD_EXCHANGE_DELIVERY_RATE = 245; + /** + * Total impressions delivered by the Ad Exchange. + * Corresponds to "Ad Exchange impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_IMPRESSIONS = 14; + */ + const AD_EXCHANGE_IMPRESSIONS = 14; + /** + * The total number of impressions based on the number of ad viewers. + * Corresponds to "Ad Exchange impressions per ad viewer" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_EXCHANGE_IMPRESSIONS_PER_AD_VIEWER = 427; + */ + const AD_EXCHANGE_IMPRESSIONS_PER_AD_VIEWER = 427; + /** + * The total number of impressions based on the number of sessions. + * Corresponds to "Ad Exchange impressions per session" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_EXCHANGE_IMPRESSIONS_PER_SESSION = 428; + */ + const AD_EXCHANGE_IMPRESSIONS_PER_SESSION = 428; + /** + * The increase in revenue gained for won impressions over the applicable + * third party price (the minimum CPM or the best price specified during + * dynamic allocation), + * Corresponds to "Ad Exchange lift earnings" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_LIFT = 246; + */ + const AD_EXCHANGE_LIFT = 246; + /** + * The ratio of matched ad requests served by the Ad Exchange that + * resulted in users clicking on an ad. The clickthrough rate (CTR) is + * updated nightly. Ad Exchange Matched Request CTR is calculated as: + * (Ad Exchange clicks / Ad Exchange Matched Ad Requests). + * Corresponds to "Ad Exchange matched request CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_MATCHED_REQUEST_CTR = 247; + */ + const AD_EXCHANGE_MATCHED_REQUEST_CTR = 247; + /** + * The average effective cost per thousand matched ad requests earned from + * the ads delivered by Ad Exchange through line item dynamic allocation. + * Corresponds to "Ad Exchange matched request eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_MATCHED_REQUEST_ECPM = 248; + */ + const AD_EXCHANGE_MATCHED_REQUEST_ECPM = 248; + /** + * The number of responses served divided by the number of queries eligible + * in ad exchange. + * Corresponds to "Ad Exchange match rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_MATCH_RATE = 249; + */ + const AD_EXCHANGE_MATCH_RATE = 249; + /** + * Total opportunities from video VAST error within the waterfall for + * backfill ads. + * Corresponds to "Ad Exchange opportunities from errors" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_OPPORTUNITIES_FROM_ERRORS = 250; + */ + const AD_EXCHANGE_OPPORTUNITIES_FROM_ERRORS = 250; + /** + * Number of opportunities from impressions within the waterfall for + * backfill ads. + * Corresponds to "Ad Exchange opportunities from impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_OPPORTUNITIES_FROM_IMPRESSIONS = 251; + */ + const AD_EXCHANGE_OPPORTUNITIES_FROM_IMPRESSIONS = 251; + /** + * Ratio of clicks delivered by Ad Exchange through line item dynamic + * allocation in relation to the total clicks delivered. + * Corresponds to "Ad Exchange clicks (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_PERCENT_CLICKS = 20; + */ + const AD_EXCHANGE_PERCENT_CLICKS = 20; + /** + * Ratio of impressions delivered by Ad Exchange through line item dynamic + * allocation in relation to the total impressions delivered. + * Corresponds to "Ad Exchange impressions (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_PERCENT_IMPRESSIONS = 19; + */ + const AD_EXCHANGE_PERCENT_IMPRESSIONS = 19; + /** + * Ratio of revenue generated by Ad Exchange through line item dynamic + * allocation in relation to the total revenue. + * Corresponds to "Ad Exchange revenue (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_PERCENT_REVENUE = 21; + */ + const AD_EXCHANGE_PERCENT_REVENUE = 21; + /** + * Ratio of revenue generated by Ad Exchange through line item dynamic + * allocation in relation to the total revenue (excluding CPD). + * Corresponds to "Ad Exchange revenue w/o CPD (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_PERCENT_REVENUE_WITHOUT_CPD = 31; + */ + const AD_EXCHANGE_PERCENT_REVENUE_WITHOUT_CPD = 31; + /** + * The average effective cost-per-thousand-impressions earned from the ads + * delivered by Ad Exchange through line item dynamic allocation and yield + * group partners. + * Corresponds to "Ad Exchange plus yield group eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_PLUS_YIELD_GROUP_ECPM = 252; + */ + const AD_EXCHANGE_PLUS_YIELD_GROUP_ECPM = 252; + /** + * Total impressions delivered by the Ad Exchange and third-party networks. + * Corresponds to "Ad Exchange plus yield group impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_PLUS_YIELD_GROUP_IMPRESSIONS = 253; + */ + const AD_EXCHANGE_PLUS_YIELD_GROUP_IMPRESSIONS = 253; + /** + * Revenue generated from the Ad Exchange and Yield Group, calculated in + * your network's currency and time zone. + * Corresponds to "Ad Exchange plus yield group revenue" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_PLUS_YIELD_GROUP_REVENUE = 254; + */ + const AD_EXCHANGE_PLUS_YIELD_GROUP_REVENUE = 254; + /** + * The total number of times that an Ad Exchange ad is delivered. + * Corresponds to "Ad Exchange responses served" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_RESPONSES_SERVED = 42; + */ + const AD_EXCHANGE_RESPONSES_SERVED = 42; + /** + * Revenue generated from the Ad Exchange through line item dynamic + * allocation, calculated in your network's currency and time zone. + * Corresponds to "Ad Exchange revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_REVENUE = 17; + */ + const AD_EXCHANGE_REVENUE = 17; + /** + * The Ad Exchange revenue accrued in the child network's own account but + * paid to their parent network through auto-payment. This metric is only + * relevant for a "Manage Account" child network. + * Corresponds to "Ad Exchange revenue paid through MCM auto-payment" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 212; + */ + const AD_EXCHANGE_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 212; + /** + * The total amount of Ad Exchange revenue based on the + * number of ad viewers. + * Corresponds to "Ad Exchange revenue per ad viewer" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_REVENUE_PER_AD_VIEWER = 429; + */ + const AD_EXCHANGE_REVENUE_PER_AD_VIEWER = 429; + /** + * The number of programmatic eligible queries in Ad Exchange. + * Corresponds to "Ad Exchange total requests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_EXCHANGE_TOTAL_REQUESTS = 255; + */ + const AD_EXCHANGE_TOTAL_REQUESTS = 255; + /** + * The ratio of total ad requests served by the Ad Exchange that + * resulted in users clicking on an ad. The clickthrough rate (CTR) is + * updated nightly. Ad Exchange Total Request CTR is calculated as: + * (Ad Exchange clicks / Ad Exchange Total Ad Requests). + * Corresponds to "Ad Exchange total request CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_EXCHANGE_TOTAL_REQUEST_CTR = 256; + */ + const AD_EXCHANGE_TOTAL_REQUEST_CTR = 256; + /** + * The average effective cost per thousand ad requests earned from the ads + * delivered by Ad Exchange through line item dynamic allocation and yield + * group partners. + * Corresponds to "Ad Exchange total request eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_EXCHANGE_TOTAL_REQUEST_ECPM = 257; + */ + const AD_EXCHANGE_TOTAL_REQUEST_ECPM = 257; + /** + * Length of time in seconds that an ad is visible on the user's screen from + * Google Analytics. + * Corresponds to "Ad exposure (seconds)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_EXPOSURE_SECONDS = 241; + */ + const AD_EXPOSURE_SECONDS = 241; + /** + * The total number of times that an ad request is sent to the ad server + * including dynamic allocation. + * Corresponds to "Total ad requests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_REQUESTS = 38; + */ + const AD_REQUESTS = 38; + /** + * Active View ad server average time in seconds that specific impressions + * are reported as being viewable. + * Corresponds to "Ad server Active View average viewable time (seconds)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 67; + */ + const AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME = 67; + /** + * Total number of impressions delivered by the ad server that were eligible + * to measure viewability. + * Corresponds to "Ad server Active View eligible impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 64; + */ + const AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS = 64; + /** + * The number of impressions delivered by the ad server that were sampled, + * and measurable by active view. + * Corresponds to "Ad server Active View measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 63; + */ + const AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 63; + /** + * The percentage of impressions delivered by the ad server that were + * measurable by active view (out of all the ad server impressions sampled + * for active view). + * Corresponds to "Ad server Active View % measurable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 66; + */ + const AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE = 66; + /** + * The number of impressions delivered by Ad Server that were not measured. + * For example, impressions where measurement was attempted but failed. + * Corresponds to "Ad server Active View non-measurable impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 332; + */ + const AD_SERVER_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS = 332; + /** + * The number of impressions delivered by Ad Server that were measured by + * active view, but deemed not viewable. + * Corresponds to "Ad server Active View non-viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 331; + */ + const AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS = 331; + /** + * The fraction of non-viewable impressions among eligible impressions from + * Ad Server in Active View reporting." + * Corresponds to "Ad server Active View non-viewable impression + * distribution" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 334; + */ + const AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 334; + /** + * Revenue generated from Ad Server Active View impressions. + * Corresponds to "Ad server Active View revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_REVENUE = 704; + */ + const AD_SERVER_ACTIVE_VIEW_REVENUE = 704; + /** + * The fraction of non-eligible impressions among eligible impressions from + * Ad Server in Active View reporting." + * Corresponds to "Ad server Active View undetermined impression + * distribution" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 335; + */ + const AD_SERVER_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION = 335; + /** + * The number of impressions delivered by the ad server viewed on the user's + * screen. + * Corresponds to "Ad server Active View viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 62; + */ + const AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 62; + /** + * The fraction of viewable impressions among eligible impressions from Ad + * Server in Active View reporting. + * Corresponds to "Ad server Active View viewable impression distribution" + * in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 333; + */ + const AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION = 333; + /** + * The percentage of impressions delivered by the ad server viewed on the + * user's screen (out of the ad server impressions measurable by active + * view). + * Corresponds to "Ad server Active View % viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 65; + */ + const AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 65; + /** + * Average effective cost-per-thousand-impressions earned from the ads + * delivered by the Google Ad Manager server. + * Corresponds to "Ad server average eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_AVERAGE_ECPM = 34; + */ + const AD_SERVER_AVERAGE_ECPM = 34; + /** + * Average effective cost-per-thousand-impressions earned from the ads + * delivered by the Google Ad Manager server, excluding CPD value. + * Corresponds to "Ad server average eCPM w/o CPD" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_AVERAGE_ECPM_WITHOUT_CPD = 10; + */ + const AD_SERVER_AVERAGE_ECPM_WITHOUT_CPD = 10; + /** + * Total raw impressions counted when creative begins to render or the + * first frame of a video is shown. + * Corresponds to "Ad server begin to render impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_BEGIN_TO_RENDER_IMPRESSIONS = 262; + */ + const AD_SERVER_BEGIN_TO_RENDER_IMPRESSIONS = 262; + /** + * Total clicks served by the Google Ad Manager server. It usually takes + * about 30 minutes for new clicks to be recorded and added to the total + * displayed in reporting. + * Corresponds to "Ad server clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_CLICKS = 7; + */ + const AD_SERVER_CLICKS = 7; + /** + * The number of completed views for ad server. + * Corresponds to "Ad server completed views" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_COMPLETED_VIEWS = 431; + */ + const AD_SERVER_COMPLETED_VIEWS = 431; + /** + * Total coviewed impressions delivered by the Ad Server. + * Corresponds to "Ad server impressions (co-viewed)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_COVIEWED_IMPRESSIONS = 554; + */ + const AD_SERVER_COVIEWED_IMPRESSIONS = 554; + /** + * CPD revenue earned, calculated in your network's currency, for + * the ads delivered by the Google Ad Manager server. Sum of all booked + * revenue. + * Corresponds to "Ad server CPD revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_CPD_REVENUE = 32; + */ + const AD_SERVER_CPD_REVENUE = 32; + /** + * Ratio of impressions served by the Google Ad Manager server that resulted + * in users clicking on an ad. The clickthrough rate (CTR) is updated + * nightly. The ad server CTR is calculated as: (Ad server clicks / Ad + * server impressions). + * Corresponds to "Ad server CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_CTR = 8; + */ + const AD_SERVER_CTR = 8; + /** + * Gross revenue earned, calculated in your network's currency, for the ads + * delivered by the Google Ad Manager server. This includes pre-rev-share + * revenue for Programmatic traffic. This metric is to help with the + * transition from gross to net revenue reporting. + * Corresponds to "Ad server total revenue (gross)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_GROSS_REVENUE = 483; + */ + const AD_SERVER_GROSS_REVENUE = 483; + /** + * Gross revenue earned, calculated in your network's currency, for the ads + * delivered by the Google Ad Manager server, excluding CPD revenue. This + * includes pre-rev-share revenue for Programmatic traffic. This metric is + * to help with the transition from gross to net revenue reporting. + * Corresponds to "Ad server CPM and CPC revenue (gross)" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_GROSS_REVENUE_WITHOUT_CPD = 484; + */ + const AD_SERVER_GROSS_REVENUE_WITHOUT_CPD = 484; + /** + * Total impressions delivered by the Ad Server. + * Corresponds to "Ad server impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_IMPRESSIONS = 6; + */ + const AD_SERVER_IMPRESSIONS = 6; + /** + * Total impressions delivered by the Ad Server with companion impressions. + * Corresponds to "Ad server impressions with companion" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_IMPRESSIONS_WITH_COMPANION = 222; + */ + const AD_SERVER_IMPRESSIONS_WITH_COMPANION = 222; + /** + * Impressions (via begin to render methodology) delivered by the Google Ad + * Manager server considered inactive, as defined by served to a device + * receiving ad or bid requests continuously for a session of greater than + * 16 hours without a "reset" event. + * Corresponds to "Ad server inactive begin to render impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 338; + */ + const AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 338; + /** + * Total number of ad server VAST errors discounting errors generated from + * video fallback ads. + * Corresponds to "Ad Server opportunities from errors" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_OPPORTUNITIES_FROM_ERRORS = 461; + */ + const AD_SERVER_OPPORTUNITIES_FROM_ERRORS = 461; + /** + * Total number of ad server impressions discounting video fallback + * impressions. + * Corresponds to "Ad Server opportunities from impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS = 462; + */ + const AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS = 462; + /** + * Ratio of clicks delivered by the Google Ad Manager server in relation to + * the total clicks delivered. + * Corresponds to "Ad server clicks (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_PERCENT_CLICKS = 12; + */ + const AD_SERVER_PERCENT_CLICKS = 12; + /** + * Ratio of impressions delivered by the Google Ad Manager server in + * relation to the total impressions delivered. + * Corresponds to "Ad server impressions (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_PERCENT_IMPRESSIONS = 11; + */ + const AD_SERVER_PERCENT_IMPRESSIONS = 11; + /** + * Ratio of revenue generated by the Google Ad Manager server in relation + * to the total revenue. + * Corresponds to "Ad server revenue (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_PERCENT_REVENUE = 35; + */ + const AD_SERVER_PERCENT_REVENUE = 35; + /** + * Ratio of revenue generated by the Google Ad Manager server (excluding + * CPD) in relation to the total revenue. + * Corresponds to "Ad server revenue w/o CPD (%)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum AD_SERVER_PERCENT_REVENUE_WITHOUT_CPD = 13; + */ + const AD_SERVER_PERCENT_REVENUE_WITHOUT_CPD = 13; + /** + * The total number of times that an ad is served by the ad server. + * Corresponds to "Ad server responses served" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_RESPONSES_SERVED = 40; + */ + const AD_SERVER_RESPONSES_SERVED = 40; + /** + * All CPM, CPC, and CPD revenue earned, calculated in your network's + * currency, for the ads delivered by the Google Ad Manager server. + * Sum of all booked revenue. + * Corresponds to "Ad server total revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_REVENUE = 33; + */ + const AD_SERVER_REVENUE = 33; + /** + * The Google Ad Manager server revenue accrued in the child network's own + * account but paid to their parent network through auto-payment. This + * metric is only relevant for a "Manage Account" child network. + * Corresponds to "Ad server revenue paid through MCM auto-payment" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 213; + */ + const AD_SERVER_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 213; + /** + * Revenue (excluding CPD) earned, calculated in your network's currency, + * for the ads delivered by the Google Ad Manager server. Sum of all booked + * revenue. + * Corresponds to "Ad server CPM and CPC revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AD_SERVER_REVENUE_WITHOUT_CPD = 9; + */ + const AD_SERVER_REVENUE_WITHOUT_CPD = 9; + /** + * The number of clicks delivered by the ad server by explicit custom + * criteria targeting. + * Corresponds to "Ad server targeted clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_TARGETED_CLICKS = 274; + */ + const AD_SERVER_TARGETED_CLICKS = 274; + /** + * The number of impressions delivered by the ad server by explicit custom + * criteria targeting. + * Corresponds to "Ad server targeted impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_TARGETED_IMPRESSIONS = 275; + */ + const AD_SERVER_TARGETED_IMPRESSIONS = 275; + /** + * The number of tracked ads delivered by the ad server. + * Corresponds to "Ad server tracked ads" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_TRACKED_ADS = 264; + */ + const AD_SERVER_TRACKED_ADS = 264; + /** + * Total raw impressions counted when creative begins to render or the + * first frame of a video is shown, before invalid traffic filtrations by + * Ad Server. + * Corresponds to "Ad server unfiltered begin to render impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_UNFILTERED_BEGIN_TO_RENDER_IMPRESSIONS = 261; + */ + const AD_SERVER_UNFILTERED_BEGIN_TO_RENDER_IMPRESSIONS = 261; + /** + * Total clicks delivered by the Ad Server before spam filtering. + * Corresponds to "Ad server unfiltered clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_UNFILTERED_CLICKS = 259; + */ + const AD_SERVER_UNFILTERED_CLICKS = 259; + /** + * Total downloaded impressions delivered by the Ad Server before spam + * filtering. + * Corresponds to "Ad server unfiltered downloaded impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS = 260; + */ + const AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS = 260; + /** + * Deprecated. This metric has been renamed to + * `AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS`. + * The server will normalize any requests using this value to + * `AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS`. + * This value will be removed on or after October 1, 2025. + * + * Generated from protobuf enum AD_SERVER_UNFILTERED_IMPRESSIONS = 260 [deprecated = true]; + */ + const AD_SERVER_UNFILTERED_IMPRESSIONS = 260; + /** + * The number of tracked ads delivered by the ad server before invalid + * traffic filtrations. + * Corresponds to "Ad server unfiltered tracked ads" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_SERVER_UNFILTERED_TRACKED_ADS = 263; + */ + const AD_SERVER_UNFILTERED_TRACKED_ADS = 263; + /** + * Length of time in seconds that an ad unit is visible on the user's screen + * from Google Analytics. + * Corresponds to "Ad unit exposure (seconds)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AD_UNIT_EXPOSURE_SECONDS = 242; + */ + const AD_UNIT_EXPOSURE_SECONDS = 242; + /** + * The number of users who viewed an ads on your site or app in the + * specified date range from Google Analytics. + * Corresponds to "Ad viewers" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum AD_VIEWERS = 425; + */ + const AD_VIEWERS = 425; + /** + * Number of ads that Ad Manager failed to render in the Ads traffic + * navigator report. + * Corresponds to "Ads failed to render" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_ADS_FAILED_TO_RENDER = 430; + */ + const ATN_ADS_FAILED_TO_RENDER = 430; + /** + * Number of line items that matched an ad request in the Ads traffic + * navigator report. + * Corresponds to "Eligible line items" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_ELIGIBLE_LINE_ITEMS = 342; + */ + const ATN_ELIGIBLE_LINE_ITEMS = 342; + /** + * Number of ad requests that contain eligible line items for the auction in + * the Ads traffic navigator report. + * Corresponds to "Ad requests with eligible line items" in the Ad Manager + * UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_ELIGIBLE_LINE_ITEMS_AD_REQUESTS = 343; + */ + const ATN_ELIGIBLE_LINE_ITEMS_AD_REQUESTS = 343; + /** + * Number of ad requests that have header bidding trafficking demand in the + * Ads traffic navigator report. + * Corresponds to "Ad requests allowing header bidding trafficking" in the + * Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_ALLOWED_AD_REQUESTS = 344; + */ + const ATN_HBT_ALLOWED_AD_REQUESTS = 344; + /** + * Number of header bidding trafficking bids that are able to match an ad + * request and enter the auction in the Ads traffic navigator report. + * Corresponds to "Competing header bidding trafficking bids" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_BIDS_IN_AUCTION = 345; + */ + const ATN_HBT_BIDS_IN_AUCTION = 345; + /** + * Number of header bidding trafficking ad requests with bids in auction in + * the Ads traffic navigator report. + * Corresponds to "Ad requests with competing header bidding trafficking + * bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_BIDS_IN_AUCTION_AD_REQUESTS = 346; + */ + const ATN_HBT_BIDS_IN_AUCTION_AD_REQUESTS = 346; + /** + * Number of header bidding trafficking candidate bids that match an ad + * request in the Ads traffic navigator report. + * Corresponds to "Header bidding trafficking bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_CANDIDATE_BIDS = 347; + */ + const ATN_HBT_CANDIDATE_BIDS = 347; + /** + * Number of invalid header bidding trafficking ad requests in the Ads + * traffic navigator report. + * Corresponds to "Invalid ad requests allowing header bidding trafficking" + * in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_INVALID_AD_REQUESTS = 348; + */ + const ATN_HBT_INVALID_AD_REQUESTS = 348; + /** + * Number of header bidding trafficking ad requests with no bids in the Ads + * traffic navigator report. + * Corresponds to "Ad requests with no header bidding trafficking bids" in + * the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_NO_BIDS_AD_REQUESTS = 472; + */ + const ATN_HBT_NO_BIDS_AD_REQUESTS = 472; + /** + * Number of header bidding trafficking bids that didn't match the ad + * request in the Ads traffic navigator report. + * Corresponds to "Rejected header bidding trafficking bids" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_REJECTED_BIDS = 349; + */ + const ATN_HBT_REJECTED_BIDS = 349; + /** + * Number of ad requests with the header bidding trafficking demand that are + * valid in the Ads traffic navigator report. + * Corresponds to "Valid header bidding trafficking ad requests" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_VALID_AD_REQUESTS = 350; + */ + const ATN_HBT_VALID_AD_REQUESTS = 350; + /** + * Number of header bidding trafficking ad requests with bids in the Ads + * traffic navigator report. + * Corresponds to "Ad requests with header bidding trafficking bids" in the + * Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_HBT_WITH_BIDS_AD_REQUESTS = 473; + */ + const ATN_HBT_WITH_BIDS_AD_REQUESTS = 473; + /** + * Ad requests that are not valid in the Ads traffic navigator report. + * Corresponds to "Invalid ad requests" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_INVALID_AD_REQUESTS = 351; + */ + const ATN_INVALID_AD_REQUESTS = 351; + /** + * Number of line items with no creative retrieved in the Ads + * traffic navigator report. + * Corresponds to "Line items with no creative retrieved" in the Ad Manager + * UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEMS_CREATIVE_NOT_RETRIEVED = 476; + */ + const ATN_LINE_ITEMS_CREATIVE_NOT_RETRIEVED = 476; + /** + * Number of line items that matched an ad request and entered in auction in + * the Ads traffic navigator report. + * Corresponds to "Competing line items" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEMS_IN_AUCTION = 352; + */ + const ATN_LINE_ITEMS_IN_AUCTION = 352; + /** + * Number of line items that were ranked but did not compete in auction in + * the Ads traffic navigator report. + * Corresponds to "Non-competing line items" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEMS_NOT_COMPETING = 515; + */ + const ATN_LINE_ITEMS_NOT_COMPETING = 515; + /** + * Number of line items that matched an ad request but were not selected to + * compete in the auction in the Ads traffic navigator report. + * Corresponds to "Line items not selected to compete" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEMS_NOT_SELECTED = 353; + */ + const ATN_LINE_ITEMS_NOT_SELECTED = 353; + /** + * Number of line item ad requests in auction in the Ads traffic navigator + * report. + * Corresponds to "Ad requests with competing line items" in the Ad Manager + * UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEM_IN_AUCTION_AD_REQUESTS = 354; + */ + const ATN_LINE_ITEM_IN_AUCTION_AD_REQUESTS = 354; + /** + * Number of line item targeted ad requests in the Ads traffic navigator + * report. + * Corresponds to "Ad requests with targeted line items" in the Ad Manager + * UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_LINE_ITEM_TARGETED_AD_REQUESTS = 355; + */ + const ATN_LINE_ITEM_TARGETED_AD_REQUESTS = 355; + /** + * Number of ad requests with the mediation demand in the Ads traffic + * navigator report. + * Corresponds to "Ad requests allowing mediation" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_ALLOWED_AD_REQUESTS = 356; + */ + const ATN_MEDIATION_ALLOWED_AD_REQUESTS = 356; + /** + * Number of invalid mediation ad requests in the Ads traffic navigator + * report. + * Corresponds to "Invalid ad requests allowing mediation" in the Ad Manager + * UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_INVALID_AD_REQUESTS = 357; + */ + const ATN_MEDIATION_INVALID_AD_REQUESTS = 357; + /** + * Number of times the Yield Partner's ad was loaded in the Ads traffic + * navigator report. + * Corresponds to "Loaded ads from chains" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_LOADED_ADS_FROM_CHAINS = 358; + */ + const ATN_MEDIATION_LOADED_ADS_FROM_CHAINS = 358; + /** + * Number of ad requests with mediation demand having no partners in the Ads + * traffic navigator report. + * Corresponds to "Ad requests with no targeted mediation partners" in the + * Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_NO_PARTNER_AD_REQUESTS = 474; + */ + const ATN_MEDIATION_NO_PARTNER_AD_REQUESTS = 474; + /** + * Number of mediation yield partners in auction in the Ads traffic + * navigator report. + * Corresponds to "Competing mediation partners" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_PARTNERS_IN_AUCTION = 359; + */ + const ATN_MEDIATION_PARTNERS_IN_AUCTION = 359; + /** + * Number of ad requests in auction that serve mediation chains in the Ads + * traffic navigator report. + * Corresponds to "Ad requests with competing mediation partners" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_PARTNERS_IN_AUCTION_AD_REQUESTS = 360; + */ + const ATN_MEDIATION_PARTNERS_IN_AUCTION_AD_REQUESTS = 360; + /** + * Number of mediation partners that didn't match an ad request in the Ads + * traffic navigator report. + * Corresponds to "Rejected partners" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_REJECTED_PARTNERS = 361; + */ + const ATN_MEDIATION_REJECTED_PARTNERS = 361; + /** + * Number of mediation partners that have targeted an ad request and are + * able to match it in the Ads traffic navigator report. + * Corresponds to "Targeted mediation partners" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_TARGETED_PARTNERS = 362; + */ + const ATN_MEDIATION_TARGETED_PARTNERS = 362; + /** + * Number of ads in mediation chains in the Ads traffic navigator report. + * Corresponds to "Total ads in chains" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_TOTAL_ADS_IN_CHAINS = 703; + */ + const ATN_MEDIATION_TOTAL_ADS_IN_CHAINS = 703; + /** + * Number of ads from mediation chains that Ad Manager won't serve in the + * Ads traffic navigator report. + * Corresponds to "Unloaded ads from chains" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_UNLOADED_ADS_FROM_CHAINS = 363; + */ + const ATN_MEDIATION_UNLOADED_ADS_FROM_CHAINS = 363; + /** + * Number of times the Yield Partner's mediation chain ad was not reached + * in the Ads traffic navigator report. + * Corresponds to "Unused bids or partners" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_UNUSED_BIDS_OR_PARTNERS = 364; + */ + const ATN_MEDIATION_UNUSED_BIDS_OR_PARTNERS = 364; + /** + * Number of ad requests that have mediation demand in the Ads traffic + * navigator report. + * Corresponds to "Valid mediation ad requests" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_VALID_AD_REQUESTS = 365; + */ + const ATN_MEDIATION_VALID_AD_REQUESTS = 365; + /** + * Number of ad requests with mediation demand having partners in the Ads + * traffic navigator report. + * Corresponds to "Ad requests with targeted mediation partners" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_MEDIATION_WITH_PARTNERS_AD_REQUESTS = 475; + */ + const ATN_MEDIATION_WITH_PARTNERS_AD_REQUESTS = 475; + /** + * Number of ad requests with programmatic demand that have received a bid + * in the Ads traffic navigator report. + * Corresponds to "Ad requests with bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BIDS = 366; + */ + const ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BIDS = 366; + /** + * Number of ad requests with programmatic demand that have sent a bid to at + * least one buyer in the Ads traffic navigator report. + * Corresponds to "Ad requests with bid requests sent" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BID_REQUESTS_SENT = 367; + */ + const ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BID_REQUESTS_SENT = 367; + /** + * Number of ad requests with programmatic demand in the Ads traffic + * navigator report. + * Corresponds to "Ad requests allowing programmatic" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_ALLOWED_AD_REQUESTS = 368; + */ + const ATN_PROGRAMMATIC_ALLOWED_AD_REQUESTS = 368; + /** + * Number of ads with programmatic bids that entered the auction + * in the Ads traffic navigator report. + * Corresponds to "Competing programmatic bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BIDS_IN_AUCTION = 369; + */ + const ATN_PROGRAMMATIC_BIDS_IN_AUCTION = 369; + /** + * Number of ad requests that have received eligible programmatic bids to + * compete in the auction in the Ads traffic navigator report. + * Corresponds to "Ad requests with competing programmatic bids" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BID_IN_AUCTION_AD_REQUESTS = 370; + */ + const ATN_PROGRAMMATIC_BID_IN_AUCTION_AD_REQUESTS = 370; + /** + * Number of programmatic callout bid requests sent to buyers in the Ads + * traffic navigator report. + * Corresponds to "Bid requests sent" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BID_REQUESTS_SENT = 371; + */ + const ATN_PROGRAMMATIC_BID_REQUESTS_SENT = 371; + /** + * Number of programmatic callout bid requests that resulted with a response + * in the Ads traffic navigator report. + * Corresponds to "Bid requests with response" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BID_REQUESTS_WITH_RESPONSE = 372; + */ + const ATN_PROGRAMMATIC_BID_REQUESTS_WITH_RESPONSE = 372; + /** + * All buyers that Ad Manager could potentially send a programmatic bid + * request to in the Ads traffic navigator report. + * Corresponds to "Bid request candidates" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BID_REQUEST_CANDIDATES = 373; + */ + const ATN_PROGRAMMATIC_BID_REQUEST_CANDIDATES = 373; + /** + * Number of programmatic callout bid requests with errors in the Ads + * traffic navigator report. + * Corresponds to "Bid request errors" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_BID_REQUEST_ERRORS = 374; + */ + const ATN_PROGRAMMATIC_BID_REQUEST_ERRORS = 374; + /** + * Number of ad requests that are ineligible for programmatic in the Ads + * traffic navigator report. + * Corresponds to "Invalid ad requests allowing programmatic" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_INELIGIBLE_AD_REQUESTS = 375; + */ + const ATN_PROGRAMMATIC_INELIGIBLE_AD_REQUESTS = 375; + /** + * Number of programmatic callout bids rejected in the Ads traffic navigator + * report. + * Corresponds to "Rejected bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_REJECTED_BIDS = 376; + */ + const ATN_PROGRAMMATIC_REJECTED_BIDS = 376; + /** + * Number of programmatic callout bid requests Ad Manager won't send to + * buyers in the Ads traffic navigator report. + * Corresponds to "Skipped bid requests" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_SKIPPED_BID_REQUESTS = 377; + */ + const ATN_PROGRAMMATIC_SKIPPED_BID_REQUESTS = 377; + /** + * Number of programmatic bids that Ad Manager received from buyers in the + * Ads traffic navigator report. + * Corresponds to "Total programmatic bids" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_TOTAL_BIDS = 378; + */ + const ATN_PROGRAMMATIC_TOTAL_BIDS = 378; + /** + * Number of ad requests that allow programmatic in the Ads traffic + * navigator report. + * Corresponds to "Valid ad requests allowing programmatic" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_PROGRAMMATIC_VALID_AD_REQUESTS = 379; + */ + const ATN_PROGRAMMATIC_VALID_AD_REQUESTS = 379; + /** + * Number of line items targeted that didn't match an ad request in the Ads + * traffic navigator report. + * Corresponds to "Rejected line items" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_REJECTED_LINE_ITEMS = 380; + */ + const ATN_REJECTED_LINE_ITEMS = 380; + /** + * Number of mediation chains Ad Manager serves in the Ads traffic navigator + * report. + * Corresponds to "Served mediation chains" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_SERVED_MEDIATION_CHAINS = 381; + */ + const ATN_SERVED_MEDIATION_CHAINS = 381; + /** + * Number of single ads served in the Ads traffic navigator report. + * Corresponds to "Served single ads" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_SERVED_SINGLE_ADS = 382; + */ + const ATN_SERVED_SINGLE_ADS = 382; + /** + * Number of line items with targeting that matches an ad request in the Ads + * traffic navigator report. + * Corresponds to "Targeted line items" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_TARGETED_LINE_ITEMS = 383; + */ + const ATN_TARGETED_LINE_ITEMS = 383; + /** + * Total number of ad requests which counts optimized pod request as a + * single request in the Ads traffic navigator report. + * Corresponds to "Total ad requests (Ads traffic navigator)" in the Ad + * Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_TOTAL_AD_REQUESTS = 384; + */ + const ATN_TOTAL_AD_REQUESTS = 384; + /** + * Total number of ads loaded in the Ads traffic navigator report. + * Corresponds to "Total loaded ads" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_TOTAL_LOADED_ADS = 387; + */ + const ATN_TOTAL_LOADED_ADS = 387; + /** + * Ad requests that are valid in the Ads traffic navigator report. + * Corresponds to "Valid ad requests" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_VALID_AD_REQUESTS = 389; + */ + const ATN_VALID_AD_REQUESTS = 389; + /** + * Number of times the Yield Partner passed-back on a Mediation chain ad in + * the Ads traffic navigator report. + * Corresponds to "Yield group mediation passbacks" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum ATN_YIELD_GROUP_MEDIATION_PASSBACKS = 390; + */ + const ATN_YIELD_GROUP_MEDIATION_PASSBACKS = 390; + /** + * Cost of the audience segment. + * Corresponds to "Audience segment cost" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AUDIENCE_SEGMENT_COST = 558; + */ + const AUDIENCE_SEGMENT_COST = 558; + /** + * eCPM averaged across the Google Ad Manager server, AdSense, + * and Ad Exchange. + * Corresponds to "Total average eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AVERAGE_ECPM = 37; + */ + const AVERAGE_ECPM = 37; + /** + * eCPM averaged across the Google Ad Manager server (excluding CPD), + * AdSense, and Ad Exchange. + * Corresponds to "Total average eCPM w/o CPD" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `MONEY` + * + * Generated from protobuf enum AVERAGE_ECPM_WITHOUT_CPD = 5; + */ + const AVERAGE_ECPM_WITHOUT_CPD = 5; + /** + * Average user engagement seconds per session in Google Analytics. + * Corresponds to "Average engagement time per session (seconds)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION = 224; + */ + const AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION = 224; + /** + * Average user engagement seconds per user in Google Analytics. + * Corresponds to "Average engagement time per user (seconds)" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AVERAGE_ENGAGEMENT_SECONDS_PER_USER = 225; + */ + const AVERAGE_ENGAGEMENT_SECONDS_PER_USER = 225; + /** + * The average number of unique users reached per ad impression. + * Corresponds to "Average impressions/unique visitor" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AVERAGE_IMPRESSIONS_PER_UNIQUE_VISITOR = 418; + */ + const AVERAGE_IMPRESSIONS_PER_UNIQUE_VISITOR = 418; + /** + * Average total purchase revenue per user in Google Analytics. + * Corresponds to "ARPPU" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AVERAGE_PURCHASE_REVENUE_PER_PAYING_USER = 226; + */ + const AVERAGE_PURCHASE_REVENUE_PER_PAYING_USER = 226; + /** + * Average revenue earned from each active user in Google Analytics. + * Corresponds to "ARPU" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum AVERAGE_REVENUE_PER_USER = 227; + */ + const AVERAGE_REVENUE_PER_USER = 227; + /** + * Average length of a session in Google Analytics. + * Corresponds to "Average session duration (seconds)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum AVERAGE_SESSION_SECONDS = 228; + */ + const AVERAGE_SESSION_SECONDS = 228; + /** + * The number of bids. + * Corresponds to "Bids" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum BIDS = 443; + */ + const BIDS = 443; + /** + * The average CPM of the bids submitted by bidders. + * Corresponds to "Average bid CPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum BID_AVERAGE_CPM = 444; + */ + const BID_AVERAGE_CPM = 444; + /** + * The ratio of (sessions - engaged sessions) / sessions. + * Corresponds to "Bounce rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum BOUNCE_RATE = 433; + */ + const BOUNCE_RATE = 433; + /** + * The number of times a user clicked on an ad. + * Corresponds to "Total clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR`, `AD_SPEED` + * Data format: `INTEGER` + * + * Generated from protobuf enum CLICKS = 2; + */ + const CLICKS = 2; + /** + * The total number of times that the code for an ad is served by the ad + * server including dynamic allocation. + * Corresponds to "Total code served count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR` + * Data format: `INTEGER` + * + * Generated from protobuf enum CODE_SERVED_COUNT = 44; + */ + const CODE_SERVED_COUNT = 44; + /** + * Total amount of CPC revenue. + * Corresponds to "CPC revenue" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `MONEY` + * + * Generated from protobuf enum CPC_REVENUE = 440; + */ + const CPC_REVENUE = 440; + /** + * Total amount of CPM revenue. + * Corresponds to "CPM revenue" in the Ad Manager UI. + * Compatible with the following report types: `ADS_TRAFFIC_NAVIGATOR` + * Data format: `MONEY` + * + * Generated from protobuf enum CPM_REVENUE = 441; + */ + const CPM_REVENUE = 441; + /** + * Percent of creatives whose load time is between [0, 500ms). + * Corresponds to "Creative load time 0 - 500ms (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_0_500_PERCENT = 324; + */ + const CREATIVE_LOAD_TIME_0_500_PERCENT = 324; + /** + * Percent of creatives whose load time is between [1000, 2000ms). + * Corresponds to "Creative load time 1s - 2s (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_1000_2000_PERCENT = 326; + */ + const CREATIVE_LOAD_TIME_1000_2000_PERCENT = 326; + /** + * Percent of creatives whose load time is between [2000, 4000ms). + * Corresponds to "Creative load time 2s - 4s (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_2000_4000_PERCENT = 327; + */ + const CREATIVE_LOAD_TIME_2000_4000_PERCENT = 327; + /** + * Percent of creatives whose load time is between [4000, 8000ms). + * Corresponds to "Creative load time 4s - 8s (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_4000_8000_PERCENT = 328; + */ + const CREATIVE_LOAD_TIME_4000_8000_PERCENT = 328; + /** + * Percent of creatives whose load time is between [500, 1000ms). + * Corresponds to "Creative load time 500ms - 1s (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_500_1000_PERCENT = 325; + */ + const CREATIVE_LOAD_TIME_500_1000_PERCENT = 325; + /** + * Percent of creatives load time is greater than 8000ms. + * Corresponds to "Creative load time >8s (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CREATIVE_LOAD_TIME_GT_8000_PERCENT = 329; + */ + const CREATIVE_LOAD_TIME_GT_8000_PERCENT = 329; + /** + * For standard ads, your ad clickthrough rate (CTR) is the number of ad + * clicks divided by the number of individual ad impressions expressed as a + * fraction. Ad CTR = Clicks / Ad impressions. + * Corresponds to "Total CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum CTR = 3; + */ + const CTR = 3; + /** + * Number of bids received for a deal. + * Corresponds to "Deals bids" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum DEALS_BIDS = 542; + */ + const DEALS_BIDS = 542; + /** + * Bid rate for a deal. + * Corresponds to "Deals bid rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum DEALS_BID_RATE = 543; + */ + const DEALS_BID_RATE = 543; + /** + * Number of bid requests sent for a deal. + * Corresponds to "Deals bid requests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum DEALS_BID_REQUESTS = 544; + */ + const DEALS_BID_REQUESTS = 544; + /** + * Number of winning bids for a deal. + * Corresponds to "Deals winning bids" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum DEALS_WINNING_BIDS = 545; + */ + const DEALS_WINNING_BIDS = 545; + /** + * Bid win rate for a deal. + * Corresponds to "Deals win rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum DEALS_WIN_RATE = 546; + */ + const DEALS_WIN_RATE = 546; + /** + * Percent of dom load time to 1st ad request in [0, 500ms) range. + * Corresponds to "Page navigation to first ad request time 0 - 500ms (%)" + * in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT = 521; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT = 521; + /** + * Percent of dom load time to 1st ad request in [1000ms, 2000ms) range. + * Corresponds to "Page navigation to first ad request time 1s - 2s (%)" in + * the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT = 522; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT = 522; + /** + * Percent of dom load time to 1st ad request in [2000ms, 4000ms) range. + * Corresponds to "Page navigation to first ad request time 2s - 4s (%)" in + * the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT = 523; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT = 523; + /** + * Percent of dom load time to 1st ad request in [4000ms, 8000ms) range. + * Corresponds to "Page navigation to first ad request time 4s - 8s (%)" in + * the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT = 524; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT = 524; + /** + * Percent of dom load time to 1st ad request in [500ms, 1000ms) range. + * Corresponds to "Page navigation to first ad request time 500ms - 1s (%)" + * in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT = 525; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT = 525; + /** + * Percent of dom load time to 1st ad request in [8000ms, +inf) range. + * Corresponds to "Page navigation to first ad request time >8s (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT = 520; + */ + const DOM_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT = 520; + /** + * Percent of dom load time to tag load time in [0, 500ms) range. + * Corresponds to "Page navigation to tag loaded time 0 - 500ms (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_0_500_PERCENT = 526; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_0_500_PERCENT = 526; + /** + * Percent of dom load time to tag load time in [1000ms, 2000ms) range. + * Corresponds to "Page navigation to tag loaded time 1s - 2s (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_1000_2000_PERCENT = 527; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_1000_2000_PERCENT = 527; + /** + * Percent of dom load time to tag load time in [2000ms, 4000ms) range. + * Corresponds to "Page navigation to tag loaded time 2s - 4s (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_2000_4000_PERCENT = 528; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_2000_4000_PERCENT = 528; + /** + * Percent of dom load time to tag load time in [4000ms, 8000ms) range. + * Corresponds to "Page navigation to tag loaded time 4s - 8s (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_4000_8000_PERCENT = 529; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_4000_8000_PERCENT = 529; + /** + * Percent of dom load time to tag load time in [500ms, 1000ms) range. + * Corresponds to "Page navigation to tag loaded time 500ms - 1s (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_500_1000_PERCENT = 531; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_500_1000_PERCENT = 531; + /** + * Percent of dom load time to tag load time in [8000ms, +inf) range. + * Corresponds to "Page navigation to tag loaded time >8s (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum DOM_LOAD_TO_TAG_LOAD_TIME_GT_8000_PERCENT = 530; + */ + const DOM_LOAD_TO_TAG_LOAD_TIME_GT_8000_PERCENT = 530; + /** + * Percentage of ad responses that didn't result in an impression. + * Corresponds to "Drop-off rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum DROPOFF_RATE = 415; + */ + const DROPOFF_RATE = 415; + /** + * Engaged session count from Google Analytics. + * Corresponds to "Engaged sessions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ENGAGED_SESSIONS = 229; + */ + const ENGAGED_SESSIONS = 229; + /** + * Engaged sessions per user from Google Analytics. + * Corresponds to "Engaged sessions per user" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum ENGAGED_SESSIONS_PER_USER = 230; + */ + const ENGAGED_SESSIONS_PER_USER = 230; + /** + * The ratio of engaged sessions to sessions. + * Corresponds to "Engagement rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum ENGAGEMENT_RATE = 426; + */ + const ENGAGEMENT_RATE = 426; + /** + * Percentage of European regulations messages where the user consented to + * all of the purposes and vendors. + * Corresponds to "European regulations consent rate" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum EUROPEAN_REGULATIONS_CONSENT_RATE = 270; + */ + const EUROPEAN_REGULATIONS_CONSENT_RATE = 270; + /** + * Percentage of European regulations messages where users made a consent + * choice after selecting "Manage options". + * Corresponds to "European regulations custom consent rate" in the Ad + * Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum EUROPEAN_REGULATIONS_CUSTOM_CONSENT_RATE = 271; + */ + const EUROPEAN_REGULATIONS_CUSTOM_CONSENT_RATE = 271; + /** + * Number of times a European regulations message was shown to users. + * Corresponds to "European regulations messages shown" in the Ad Manager + * UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum EUROPEAN_REGULATIONS_MESSAGES_SHOWN = 272; + */ + const EUROPEAN_REGULATIONS_MESSAGES_SHOWN = 272; + /** + * Percentage of European regulations messages where the user rejected all + * purposes and vendors. + * Corresponds to "European regulations no consent rate" in the Ad Manager + * UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum EUROPEAN_REGULATIONS_NO_CONSENT_RATE = 273; + */ + const EUROPEAN_REGULATIONS_NO_CONSENT_RATE = 273; + /** + * The rate at which an ad request is filled by the ad server including + * dynamic allocation. + * Corresponds to "Total fill rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum FILL_RATE = 258; + */ + const FILL_RATE = 258; + /** + * The number of clicks joined with Google Analytics data. + * Corresponds to "Google Analytics clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_CLICKS = 231; + */ + const GOOGLE_ANALYTICS_CLICKS = 231; + /** + * The click-through rate from Google Analytics data. + * Corresponds to "Google Analytics CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_CTR = 232; + */ + const GOOGLE_ANALYTICS_CTR = 232; + /** + * The eCPM revenue data from Google Analytics. + * Corresponds to "Google Analytics eCPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_ECPM = 233; + */ + const GOOGLE_ANALYTICS_ECPM = 233; + /** + * The number of impressions joined with Google Analytics data. + * Corresponds to "Google Analytics impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_IMPRESSIONS = 234; + */ + const GOOGLE_ANALYTICS_IMPRESSIONS = 234; + /** + * The amount of revenue joined with Google Analytics data. + * Corresponds to "Google Analytics revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_REVENUE = 235; + */ + const GOOGLE_ANALYTICS_REVENUE = 235; + /** + * Number of views of a web site or mobile screen from Google Analytics. + * Corresponds to "Views" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_VIEWS = 236; + */ + const GOOGLE_ANALYTICS_VIEWS = 236; + /** + * Number of views per user from Google Analytics. + * Corresponds to "Views per user" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum GOOGLE_ANALYTICS_VIEWS_PER_USER = 237; + */ + const GOOGLE_ANALYTICS_VIEWS_PER_USER = 237; + /** + * The number of coviewed impressions sold by Google in partner sales. + * Corresponds to "Google-sold auction impressions (co-viewed)" in the Ad + * Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_AUCTION_COVIEWED_IMPRESSIONS = 129; + */ + const GOOGLE_SOLD_AUCTION_COVIEWED_IMPRESSIONS = 129; + /** + * The number of auction impressions sold by Google in partner sales. + * Corresponds to "Google-sold auction impressions" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_AUCTION_IMPRESSIONS = 128; + */ + const GOOGLE_SOLD_AUCTION_IMPRESSIONS = 128; + /** + * The number of coviewed impressions sold by Google in partner sales. + * Corresponds to "Google-sold impressions (co-viewed)" in the Ad Manager + * UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_COVIEWED_IMPRESSIONS = 131; + */ + const GOOGLE_SOLD_COVIEWED_IMPRESSIONS = 131; + /** + * The number of impressions sold by Google in partner sales. + * Corresponds to "Google-sold impressions" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_IMPRESSIONS = 130; + */ + const GOOGLE_SOLD_IMPRESSIONS = 130; + /** + * The number of coviewed impressions sold by Google in partner sales. + * Corresponds to "Google-sold reservation impressions (co-viewed)" in the + * Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_RESERVATION_COVIEWED_IMPRESSIONS = 127; + */ + const GOOGLE_SOLD_RESERVATION_COVIEWED_IMPRESSIONS = 127; + /** + * The number of reservation impressions sold by Google in partner sales. + * Corresponds to "Google-sold reservation impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum GOOGLE_SOLD_RESERVATION_IMPRESSIONS = 126; + */ + const GOOGLE_SOLD_RESERVATION_IMPRESSIONS = 126; + /** + * Total impressions from the Google Ad Manager server, AdSense, + * Ad Exchange, and yield group partners. + * Corresponds to "Total impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR`, `AD_SPEED` + * Data format: `INTEGER` + * + * Generated from protobuf enum IMPRESSIONS = 1; + */ + const IMPRESSIONS = 1; + /** + * The number of impressions (via begin to render methodology) considered + * inactive, as defined by served to a device receiving ad or bid requests + * continuously for a session of greater than 16 hours without a "reset" + * event. Only applied to CTV ads. + * Corresponds to "Inactive begin to render impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 407; + */ + const INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 407; + /** + * The total number of inventory shares + * Corresponds to "Inventory shares" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum INVENTORY_SHARES = 547; + */ + const INVENTORY_SHARES = 547; + /** + * The total number of partner unfilled opportunities from an inventory + * share + * Corresponds to "Inventory share partner unfilled opportunities" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum INVENTORY_SHARE_PARTNER_UNFILLED_OPPORTUNITIES = 548; + */ + const INVENTORY_SHARE_PARTNER_UNFILLED_OPPORTUNITIES = 548; + /** + * The number of invoiced impressions. + * Corresponds to "Invoiced impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum INVOICED_IMPRESSIONS = 404; + */ + const INVOICED_IMPRESSIONS = 404; + /** + * The number of invoiced unfilled impressions. + * Corresponds to "Invoiced unfilled impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum INVOICED_UNFILLED_IMPRESSIONS = 405; + */ + const INVOICED_UNFILLED_IMPRESSIONS = 405; + /** + * The number of mediation chains that were filled. + * Corresponds to "Mediation chains filled" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum MEDIATION_CHAINS_FILLED = 584; + */ + const MEDIATION_CHAINS_FILLED = 584; + /** + * The number of impressions where the user chose to mute the ad. + * Corresponds to "Total muted impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum MUTED_IMPRESSIONS = 412; + */ + const MUTED_IMPRESSIONS = 412; + /** + * The number of impressions that had the "Mute This Ad" overlay applied. + * Corresponds to "Total mute eligible impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum MUTE_ELIGIBLE_IMPRESSIONS = 409; + */ + const MUTE_ELIGIBLE_IMPRESSIONS = 409; + /** + * Nielsen: The relative unique audience in the demographic compared with + * its share of the overall population. + * Corresponds to "Audience index" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_AUDIENCE_INDEX = 568; + */ + const NIELSEN_AUDIENCE_INDEX = 568; + /** + * Nielsen: The average number of times that a person within the target + * audience sees an advertisement. + * Corresponds to "Average frequency" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DOUBLE` + * + * Generated from protobuf enum NIELSEN_AVERAGE_FREQUENCY = 569; + */ + const NIELSEN_AVERAGE_FREQUENCY = 569; + /** + * Nielsen: The average number of viewers. + * Corresponds to "Average number of viewers" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `DOUBLE` + * + * Generated from protobuf enum NIELSEN_AVERAGE_NUMBER_OF_VIEWERS = 570; + */ + const NIELSEN_AVERAGE_NUMBER_OF_VIEWERS = 570; + /** + * Nielsen: The unit of audience volume, based on the percentage of the + * reached target audience population multiplied by the average frequency. + * Corresponds to "Gross rating points" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_GROSS_RATING_POINTS = 571; + */ + const NIELSEN_GROSS_RATING_POINTS = 571; + /** + * Nielsen: The total number of impressions tracked for Nielsen Digital Ad + * Ratings measurement. + * Corresponds to "Impressions" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum NIELSEN_IMPRESSIONS = 572; + */ + const NIELSEN_IMPRESSIONS = 572; + /** + * Nielsen: The relative impressions per person in the demographic compared + * with the impressions per person for the overall population. + * Corresponds to "Impressions index" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_IMPRESSIONS_INDEX = 573; + */ + const NIELSEN_IMPRESSIONS_INDEX = 573; + /** + * Nielsen: The adjusted in-target impression share used for pacing and + * billing. + * Corresponds to "Processed Nielsen in-target rate" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_IN_TARGET_RATIO = 576; + */ + const NIELSEN_IN_TARGET_RATIO = 576; + /** + * Nielsen: The unique audience reached as a percentage of the population + * base. + * Corresponds to "% audience reach" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_PERCENT_AUDIENCE_REACH = 578; + */ + const NIELSEN_PERCENT_AUDIENCE_REACH = 578; + /** + * Nielsen: The share of the unique audience in the demographic. + * Corresponds to "% audience share" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_PERCENT_AUDIENCE_SHARE = 579; + */ + const NIELSEN_PERCENT_AUDIENCE_SHARE = 579; + /** + * Nielsen: The share of impressions that reached the target demographic. + * Corresponds to "% impression share" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_PERCENT_IMPRESSIONS_SHARE = 580; + */ + const NIELSEN_PERCENT_IMPRESSIONS_SHARE = 580; + /** + * Nielsen: The share of the total population represented by the population + * base. + * Corresponds to "% population share" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `PERCENT` + * + * Generated from protobuf enum NIELSEN_PERCENT_POPULATION_SHARE = 581; + */ + const NIELSEN_PERCENT_POPULATION_SHARE = 581; + /** + * Nielsen: The population in the demographic. + * Corresponds to "Population base" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum NIELSEN_POPULATION_BASE = 582; + */ + const NIELSEN_POPULATION_BASE = 582; + /** + * Nielsen: The total number of different people within the selected + * demographic who were reached. + * Corresponds to "Unique audience" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum NIELSEN_UNIQUE_AUDIENCE = 583; + */ + const NIELSEN_UNIQUE_AUDIENCE = 583; + /** + * The total number of cross publisher impressions that were sampled and + * measured by active view. + * Corresponds to "Off-property Active View measurable impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum OFF_PROPERTY_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 395; + */ + const OFF_PROPERTY_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS = 395; + /** + * The total number of cross publisher impressions viewed on the user's + * screen. + * Corresponds to "Off-property Active View viewable impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 396; + */ + const OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS = 396; + /** + * The percentage of total cross publisher impressions viewed on the user's + * screen (out of the total impressions measurable by active view). + * Corresponds to "Off-property Active View % viewable impressions" in the + * Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `PERCENT` + * + * Generated from protobuf enum OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 397; + */ + const OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE = 397; + /** + * The total number of cross publisher clicks. + * Corresponds to "Off-property clicks" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum OFF_PROPERTY_CLICKS = 398; + */ + const OFF_PROPERTY_CLICKS = 398; + /** + * The ratio of cross publisher impressions that resulted in users clicking + * on an ad. Cross publisher CTR is calculated as: + * (Cross publisher clicks / Cross publisher impressions). + * Corresponds to "Off-property CTR" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `PERCENT` + * + * Generated from protobuf enum OFF_PROPERTY_CTR = 399; + */ + const OFF_PROPERTY_CTR = 399; + /** + * The total number of cross publisher impressions. + * Corresponds to "Off-property impressions" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `INTEGER` + * + * Generated from protobuf enum OFF_PROPERTY_IMPRESSIONS = 400; + */ + const OFF_PROPERTY_IMPRESSIONS = 400; + /** + * The total cross publisher revenue from line item and works with the + * currency code from the same line item. + * Corresponds to "Off-property revenue" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `MONEY` + * + * Generated from protobuf enum OFF_PROPERTY_REVENUE = 401; + */ + const OFF_PROPERTY_REVENUE = 401; + /** + * The total cross publisher spend and works with the billing currency code + * of the this network. + * Corresponds to "Off-property spend" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `MONEY` + * + * Generated from protobuf enum OFF_PROPERTY_SPEND = 402; + */ + const OFF_PROPERTY_SPEND = 402; + /** + * The average effective cost-per-thousand-impressions earned from the ads + * delivered from cross publisher traffic. + * Corresponds to "Off-property spend eCPM" in the Ad Manager UI. + * Compatible with the following report types: `OFF_PROPERTY_CAMPAIGNS` + * Data format: `MONEY` + * + * Generated from protobuf enum OFF_PROPERTY_SPEND_ECPM = 403; + */ + const OFF_PROPERTY_SPEND_ECPM = 403; + /** + * Average effective cost-per-thousand-impressions earned from the mediation + * on-platform multiple call, excluding CPD value. + * Corresponds to "On-platform multiple call eCPM" in the Ad Manager UI. + * Compatible with the following report types: `ON_PLATFORM_MULTICALL` + * Data format: `MONEY` + * + * Generated from protobuf enum ON_PLATFORM_MULTIPLE_CALL_ECPM = 678; + */ + const ON_PLATFORM_MULTIPLE_CALL_ECPM = 678; + /** + * Total impressions delivered by the mediation on-platform multiple call. + * Corresponds to "On-platform multiple call impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `ON_PLATFORM_MULTICALL` + * Data format: `INTEGER` + * + * Generated from protobuf enum ON_PLATFORM_MULTIPLE_CALL_IMPRESSIONS = 676; + */ + const ON_PLATFORM_MULTIPLE_CALL_IMPRESSIONS = 676; + /** + * Total revenue from the mediation on-platform multiple call. + * Corresponds to "On-platform multiple call revenue" in the Ad Manager UI. + * Compatible with the following report types: `ON_PLATFORM_MULTICALL` + * Data format: `MONEY` + * + * Generated from protobuf enum ON_PLATFORM_MULTIPLE_CALL_REVENUE = 677; + */ + const ON_PLATFORM_MULTIPLE_CALL_REVENUE = 677; + /** + * The total number of opportunities from impressions and errors. + * Corresponds to "Total opportunities" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum OPPORTUNITIES = 463; + */ + const OPPORTUNITIES = 463; + /** + * The number of impressions that were overdelivered. + * Corresponds to "Total overdelivered impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum OVERDELIVERED_IMPRESSIONS = 432; + */ + const OVERDELIVERED_IMPRESSIONS = 432; + /** + * The gross revenue for partner finance reports. + * Corresponds to "Gross revenue" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_FINANCE_GROSS_REVENUE = 648; + */ + const PARTNER_FINANCE_GROSS_REVENUE = 648; + /** + * Monthly host eCPM for partner finance reports + * Corresponds to "Host eCPM" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_FINANCE_HOST_ECPM = 649; + */ + const PARTNER_FINANCE_HOST_ECPM = 649; + /** + * The host impressions for partner finance reports. + * Corresponds to "Host impressions" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_FINANCE_HOST_IMPRESSIONS = 650; + */ + const PARTNER_FINANCE_HOST_IMPRESSIONS = 650; + /** + * Monthly host revenue for partner finance reports + * Corresponds to "Host revenue" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_FINANCE_HOST_REVENUE = 651; + */ + const PARTNER_FINANCE_HOST_REVENUE = 651; + /** + * Monthly partner eCPM for partner finance reports + * Corresponds to "Partner eCPM" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_FINANCE_PARTNER_ECPM = 652; + */ + const PARTNER_FINANCE_PARTNER_ECPM = 652; + /** + * Monthly partner revenue for partner finance reports + * Corresponds to "Partner revenue" in the Ad Manager UI. + * Compatible with the following report types: `PARTNER_FINANCE` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_FINANCE_PARTNER_REVENUE = 653; + */ + const PARTNER_FINANCE_PARTNER_REVENUE = 653; + /** + * The gross revenue in the partner management. + * Corresponds to "Partner management gross revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_GROSS_REVENUE = 533; + */ + const PARTNER_MANAGEMENT_GROSS_REVENUE = 533; + /** + * The host clicks in the partner management. + * Corresponds to "Partner management host clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_HOST_CLICKS = 534; + */ + const PARTNER_MANAGEMENT_HOST_CLICKS = 534; + /** + * The host CTR in the partner management. + * Corresponds to "Partner management host CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_HOST_CTR = 535; + */ + const PARTNER_MANAGEMENT_HOST_CTR = 535; + /** + * The host impressions in the partner management. + * Corresponds to "Partner management host impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_HOST_IMPRESSIONS = 536; + */ + const PARTNER_MANAGEMENT_HOST_IMPRESSIONS = 536; + /** + * The partner clicks in the partner management. + * Corresponds to "Partner management partner clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_PARTNER_CLICKS = 537; + */ + const PARTNER_MANAGEMENT_PARTNER_CLICKS = 537; + /** + * The partner CTR in the partner management. + * Corresponds to "Partner management partner CTR" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_PARTNER_CTR = 538; + */ + const PARTNER_MANAGEMENT_PARTNER_CTR = 538; + /** + * The partner impressions in the partner management. + * Corresponds to "Partner management partner impressions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS = 539; + */ + const PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS = 539; + /** + * The total content views in the partner management. + * Corresponds to "Partner management total monetizable content views" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS = 540; + */ + const PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS = 540; + /** + * The unfilled impressions in the partner management. + * Corresponds to "Partner management unfilled impressions" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `PARTNER_FINANCE` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS = 541; + */ + const PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS = 541; + /** + * The number of filled pod requests (filled by partner or Google) in + * partner sales. + * Corresponds to "Filled pod requests" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SALES_FILLED_POD_REQUESTS = 135; + */ + const PARTNER_SALES_FILLED_POD_REQUESTS = 135; + /** + * The percent of filled requests to total ad requests in + * partner sales. + * Corresponds to "Fill rate" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `PERCENT` + * + * Generated from protobuf enum PARTNER_SALES_FILL_RATE = 136; + */ + const PARTNER_SALES_FILL_RATE = 136; + /** + * The percent of partner filled requests to total ad requests + * in partner sales. + * Corresponds to "Partner match rate" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `PERCENT` + * + * Generated from protobuf enum PARTNER_SALES_PARTNER_MATCH_RATE = 137; + */ + const PARTNER_SALES_PARTNER_MATCH_RATE = 137; + /** + * The number of queries eligible for partner sales. + * Corresponds to "Total partner sales ad requests" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SALES_QUERIES = 132; + */ + const PARTNER_SALES_QUERIES = 132; + /** + * The number of partner unfilled impressions in partner sales. + * If a pod request is not filled by partner but filled by Google, this + * metric will still count 1. + * Corresponds to "Partner unfilled impressions" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SALES_UNFILLED_IMPRESSIONS = 133; + */ + const PARTNER_SALES_UNFILLED_IMPRESSIONS = 133; + /** + * The number of partner unmatched queries in partner sales. + * If an ad request is not filled by partner but filled by Google, this + * metric will still count 1. + * Corresponds to "Partner unmatched ad requests" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SALES_UNMATCHED_QUERIES = 134; + */ + const PARTNER_SALES_UNMATCHED_QUERIES = 134; + /** + * The number of code served sold by partner in partner sales. + * Corresponds to "Partner-sold code served count" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SOLD_CODE_SERVED = 125; + */ + const PARTNER_SOLD_CODE_SERVED = 125; + /** + * The number of coviewed impressions sold by partner in partner sales. + * Corresponds to "Partner-sold impressions (co-viewed)" in the Ad Manager + * UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SOLD_COVIEWED_IMPRESSIONS = 124; + */ + const PARTNER_SOLD_COVIEWED_IMPRESSIONS = 124; + /** + * The number of impressions sold by partner in partner sales. + * Corresponds to "Partner-sold impressions" in the Ad Manager UI. + * Compatible with the following report types: `YOUTUBE_CONSOLIDATED` + * Data format: `INTEGER` + * + * Generated from protobuf enum PARTNER_SOLD_IMPRESSIONS = 123; + */ + const PARTNER_SOLD_IMPRESSIONS = 123; + /** + * The total number of ad requests eligible for programmatic inventory, + * including Programmatic Guaranteed, Preferred Deals, backfill, and open + * auction. + * Corresponds to "Programmatic eligible ad requests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PROGRAMMATIC_ELIGIBLE_AD_REQUESTS = 177; + */ + const PROGRAMMATIC_ELIGIBLE_AD_REQUESTS = 177; + /** + * The number of programmatic responses served divided by the number of + * programmatic eligible ad requests. Includes Ad Exchange, Open Bidding, + * and Preferred Deals. + * Corresponds to "Programmatic match rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum PROGRAMMATIC_MATCH_RATE = 178; + */ + const PROGRAMMATIC_MATCH_RATE = 178; + /** + * Total number of ad responses served from programmatic demand sources. + * Includes Ad Exchange, Open Bidding, and Preferred Deals. + * Differs from AD_EXCHANGE_RESPONSES_SERVED, which doesn't include Open + * Bidding ad requests. + * Corresponds to "Programmatic responses served" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum PROGRAMMATIC_RESPONSES_SERVED = 176; + */ + const PROGRAMMATIC_RESPONSES_SERVED = 176; + /** + * Number of impressions for reach reports. + * Corresponds to "Total reach impressions" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum REACH_IMPRESSIONS = 416; + */ + const REACH_IMPRESSIONS = 416; + /** + * The total number of times that an ad is served by the ad server including + * dynamic allocation. + * Corresponds to "Total responses served" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RESPONSES_SERVED = 39; + */ + const RESPONSES_SERVED = 39; + /** + * Retention of users in Google Analytics + * Corresponds to "Retention" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum RETENTION = 238; + */ + const RETENTION = 238; + /** + * Total amount of CPM, CPC, and CPD revenue based on the number of units + * served by the Google Ad Manager server, AdSense, Ad Exchange, and + * third-party Mediation networks. + * Corresponds to "Total revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, `AD_SPEED` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE = 36; + */ + const REVENUE = 36; + /** + * The total revenue accrued in the child network's own account but paid to + * their parent network through auto-payment. This metric is only relevant + * for a "Manage Account" child network. + * Corresponds to "Total revenue paid through MCM auto-payment" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 214; + */ + const REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 214; + /** + * The total CPD net revenue for Revenue Verification reporting. + * Corresponds to "Total CPD revenue" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_VERIFICATION_CPD_REVENUE = 560; + */ + const REVENUE_VERIFICATION_CPD_REVENUE = 560; + /** + * The total CPD gross revenue for Revenue Verification reporting. + * Corresponds to "Total CPD revenue (gross)" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_VERIFICATION_GROSS_CPD_REVENUE = 559; + */ + const REVENUE_VERIFICATION_GROSS_CPD_REVENUE = 559; + /** + * The total gross revenue (excluding CPD) for Revenue Verification + * reporting. + * Corresponds to "Total CPM and CPC revenue (gross)" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD = 561; + */ + const REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD = 561; + /** + * The total impressions for Revenue Verification reporting. + * Corresponds to "Total impressions" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `INTEGER` + * + * Generated from protobuf enum REVENUE_VERIFICATION_IMPRESSIONS = 564; + */ + const REVENUE_VERIFICATION_IMPRESSIONS = 564; + /** + * The total net revenue (excluding CPD) for Revenue Verification reporting. + * Corresponds to "Total CPM and CPC revenue" in the Ad Manager UI. + * Compatible with the following report types: `REVENUE_VERIFICATION` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD = 567; + */ + const REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD = 567; + /** + * Total revenue (excluding CPD) based on the number of units + * served by the Google Ad Manager server, AdSense, Ad Exchange, and + * third-party Mediation networks. + * Corresponds to "Total CPM and CPC revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL`, + * `ADS_TRAFFIC_NAVIGATOR` + * Data format: `MONEY` + * + * Generated from protobuf enum REVENUE_WITHOUT_CPD = 4; + */ + const REVENUE_WITHOUT_CPD = 4; + /** + * The number of rewards granted to users from watching ads. + * Corresponds to "Total rewards granted" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum REWARDS_GRANTED = 413; + */ + const REWARDS_GRANTED = 413; + /** + * The average amount of time (in seconds) that each rich media ad is + * displayed to users. + * Corresponds to "Average display time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_AVERAGE_DISPLAY_TIME = 587; + */ + const RICH_MEDIA_AVERAGE_DISPLAY_TIME = 587; + /** + * The average amount of time (in seconds) that a user interacts with a rich + * media ad. + * Corresponds to "Average interaction time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_AVERAGE_INTERACTION_TIME = 588; + */ + const RICH_MEDIA_AVERAGE_INTERACTION_TIME = 588; + /** + * The total number of times a backup image is served in place of a rich + * media ad. + * Corresponds to "Backup image impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_BACKUP_IMAGES = 589; + */ + const RICH_MEDIA_BACKUP_IMAGES = 589; + /** + * The number of times a user interacts with a specific part of a rich media + * ad. + * Corresponds to "Custom event - count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_CUSTOM_EVENT_COUNT = 599; + */ + const RICH_MEDIA_CUSTOM_EVENT_COUNT = 599; + /** + * The amount of time (in seconds) that a user interacts with a specific + * part of a rich media ad. + * Corresponds to "Custom event - time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_CUSTOM_EVENT_TIME = 600; + */ + const RICH_MEDIA_CUSTOM_EVENT_TIME = 600; + /** + * The amount of time (in seconds) that each rich media ad is displayed to + * users. + * Corresponds to "Total display time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_DISPLAY_TIME = 590; + */ + const RICH_MEDIA_DISPLAY_TIME = 590; + /** + * The average amount of time (in seconds) that an expanding ad is viewed in + * an expanded state. + * Corresponds to "Average expanding time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_EXPANDING_TIME = 591; + */ + const RICH_MEDIA_EXPANDING_TIME = 591; + /** + * The number of times an expanding ad was expanded. + * Corresponds to "Total expansions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_EXPANSIONS = 592; + */ + const RICH_MEDIA_EXPANSIONS = 592; + /** + * The number of times a user opens a rich media ad in full screen mode. + * Corresponds to "Full-screen impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_FULL_SCREEN_IMPRESSIONS = 593; + */ + const RICH_MEDIA_FULL_SCREEN_IMPRESSIONS = 593; + /** + * The number of times that a user interacts with a rich media ad. + * Corresponds to "Total interactions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_INTERACTION_COUNT = 594; + */ + const RICH_MEDIA_INTERACTION_COUNT = 594; + /** + * The ratio of rich media ad interactions to the number of times the ad + * was displayed. + * Corresponds to "Interaction rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum RICH_MEDIA_INTERACTION_RATE = 595; + */ + const RICH_MEDIA_INTERACTION_RATE = 595; + /** + * The total amount of time (in seconds) that a user interacts with a rich + * media ad. + * Corresponds to "Interaction time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_INTERACTION_TIME = 596; + */ + const RICH_MEDIA_INTERACTION_TIME = 596; + /** + * The number of impressions where a user interacted with a rich media ad. + * Corresponds to "Interactive impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_INTERACTIVE_IMPRESSIONS = 597; + */ + const RICH_MEDIA_INTERACTIVE_IMPRESSIONS = 597; + /** + * The number of times that a user manually closes a rich media ad. + * Corresponds to "Manual closes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_MANUAL_CLOSES = 598; + */ + const RICH_MEDIA_MANUAL_CLOSES = 598; + /** + * The number of times a rich media video was fully played. + * Corresponds to "Rich media video completes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_COMPLETES = 503; + */ + const RICH_MEDIA_VIDEO_COMPLETES = 503; + /** + * The number of times a user clicked on the graphical controls of a video + * player. + * Corresponds to "Rich media total video interactions" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_INTERACTIONS = 505; + */ + const RICH_MEDIA_VIDEO_INTERACTIONS = 505; + /** + * The ratio of video interactions to video plays. Represented as a + * percentage. + * Corresponds to "Rich media video interaction rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_INTERACTION_RATE = 504; + */ + const RICH_MEDIA_VIDEO_INTERACTION_RATE = 504; + /** + * The number of times a rich media video was played up to midpoint. + * Corresponds to "Rich media video midpoints" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_MIDPOINTS = 506; + */ + const RICH_MEDIA_VIDEO_MIDPOINTS = 506; + /** + * The number of times a rich media video was muted. + * Corresponds to "Rich media video mutes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_MUTES = 507; + */ + const RICH_MEDIA_VIDEO_MUTES = 507; + /** + * The number of times a rich media video was paused. + * Corresponds to "Rich media video pauses" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_PAUSES = 508; + */ + const RICH_MEDIA_VIDEO_PAUSES = 508; + /** + * The number of times a rich media video was played. + * Corresponds to "Rich media video plays" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_PLAYS = 509; + */ + const RICH_MEDIA_VIDEO_PLAYS = 509; + /** + * The number of times a rich media video was restarted. + * Corresponds to "Rich media video replays" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_REPLAYS = 510; + */ + const RICH_MEDIA_VIDEO_REPLAYS = 510; + /** + * The number of times a rich media video was stopped. + * Corresponds to "Rich media video stops" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_STOPS = 511; + */ + const RICH_MEDIA_VIDEO_STOPS = 511; + /** + * The number of times a rich media video was unmuted. + * Corresponds to "Rich media video unmutes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_UNMUTES = 512; + */ + const RICH_MEDIA_VIDEO_UNMUTES = 512; + /** + * The percentage of a video watched by a user. + * Corresponds to "Rich media video view rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_VIEW_RATE = 513; + */ + const RICH_MEDIA_VIDEO_VIEW_RATE = 513; + /** + * The average amount of time(seconds) that a rich media video was viewed + * per view. + * Corresponds to "Rich media video average view time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum RICH_MEDIA_VIDEO_VIEW_TIME = 514; + */ + const RICH_MEDIA_VIDEO_VIEW_TIME = 514; + /** + * The number of forecasted impressions not reserved by any line item. + * Corresponds to "Available impressions" in the Ad Manager UI. + * Compatible with the following report types: `FUTURE_SELL_THROUGH` + * Data format: `INTEGER` + * + * Generated from protobuf enum SELL_THROUGH_AVAILABLE_IMPRESSIONS = 477; + */ + const SELL_THROUGH_AVAILABLE_IMPRESSIONS = 477; + /** + * The total number of forecasted impressions. + * Corresponds to "Forecasted impressions" in the Ad Manager UI. + * Compatible with the following report types: `FUTURE_SELL_THROUGH` + * Data format: `INTEGER` + * + * Generated from protobuf enum SELL_THROUGH_FORECASTED_IMPRESSIONS = 478; + */ + const SELL_THROUGH_FORECASTED_IMPRESSIONS = 478; + /** + * The number of forecasted impressions reserved by line items. + * Corresponds to "Reserved impressions" in the Ad Manager UI. + * Compatible with the following report types: `FUTURE_SELL_THROUGH` + * Data format: `INTEGER` + * + * Generated from protobuf enum SELL_THROUGH_RESERVED_IMPRESSIONS = 479; + */ + const SELL_THROUGH_RESERVED_IMPRESSIONS = 479; + /** + * The fraction of forecasted impressions reserved by line items. + * Corresponds to "Sell-through rate" in the Ad Manager UI. + * Compatible with the following report types: `FUTURE_SELL_THROUGH` + * Data format: `PERCENT` + * + * Generated from protobuf enum SELL_THROUGH_SELL_THROUGH_RATE = 480; + */ + const SELL_THROUGH_SELL_THROUGH_RATE = 480; + /** + * The average latency in milliseconds across all server-side unwrapping + * callout requests. There is no special handling for error or timeout + * responses. This reflects the entire chain of a parent callout request, + * which may result in multiple child callouts. This metric is not sliced + * by child callout dimensions. + * Corresponds to "Server-side unwrapping average latency (milliseconds)" in + * the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_AVERAGE_LATENCY_MS = 434; + */ + const SERVER_SIDE_UNWRAPPING_AVERAGE_LATENCY_MS = 434; + /** + * The total number of server-side unwrapping callout requests. + * Corresponds to "Server-side unwrapping callouts" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_CALLOUTS = 435; + */ + const SERVER_SIDE_UNWRAPPING_CALLOUTS = 435; + /** + * The total number of server-side unwrapping callouts that returned an + * empty response. Timeouts are not considered empty responses. + * Corresponds to "Server-side unwrapping empty responses" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_EMPTY_RESPONSES = 436; + */ + const SERVER_SIDE_UNWRAPPING_EMPTY_RESPONSES = 436; + /** + * The total number of server-side unwrapping callouts that returned an + * error response. Timeouts and empty responses are not considered errors. + * Corresponds to "Server-side unwrapping error responses" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_ERROR_RESPONSES = 437; + */ + const SERVER_SIDE_UNWRAPPING_ERROR_RESPONSES = 437; + /** + * The total number of successfully unwrapped, non-empty server-side + * wrapping callouts. Successful unwrapping does not indicate that the + * resulting creative was served. + * Corresponds to "Server-side unwrapping successful responses" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_SUCCESSFUL_RESPONSES = 438; + */ + const SERVER_SIDE_UNWRAPPING_SUCCESSFUL_RESPONSES = 438; + /** + * The total number of server-side unwrapping callouts that timed out before + * returning a response. + * Corresponds to "Server-side unwrapping timeouts" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SERVER_SIDE_UNWRAPPING_TIMEOUTS = 439; + */ + const SERVER_SIDE_UNWRAPPING_TIMEOUTS = 439; + /** + * Count of sessions from Google Analytics. + * Corresponds to "Sessions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum SESSIONS = 239; + */ + const SESSIONS = 239; + /** + * Percent of tag load time to 1st ad request in [0, 500ms) range. + * Corresponds to "Tag loaded to first ad request time 0 - 500ms (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT = 455; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT = 455; + /** + * Percent of tag load time to 1st ad request in [1000ms, 2000ms) range. + * Corresponds to "Tag loaded to first ad request time 1s - 2s (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT = 457; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT = 457; + /** + * Percent of tag load time to 1st ad request in [2000ms, 4000ms) range. + * Corresponds to "Tag loaded to first ad request time 2s - 4s (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT = 458; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT = 458; + /** + * Percent of tag load time to 1st ad request in [4000ms, 8000ms) range. + * Corresponds to "Tag loaded to first ad request time 4s - 8s (%)" in the + * Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT = 459; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT = 459; + /** + * Percent of tag load time to 1st ad request in [500ms, 1000ms) range. + * Corresponds to "Tag loaded to first ad request time 500ms - 1s (%)" in + * the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT = 456; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT = 456; + /** + * Percent of tag load time to 1st ad request in [8000ms, +inf) range. + * Corresponds to "Tag loaded to first ad request time >8s (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum TAG_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT = 460; + */ + const TAG_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT = 460; + /** + * The total number of clicks delivered including line item-level dynamic + * allocation by explicit custom criteria targeting. + * Corresponds to "Total targeted clicks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum TARGETED_CLICKS = 276; + */ + const TARGETED_CLICKS = 276; + /** + * The total number of impressions delivered including line item-level + * dynamic allocation by explicit custom criteria targeting. + * Corresponds to "Total targeted impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum TARGETED_IMPRESSIONS = 277; + */ + const TARGETED_IMPRESSIONS = 277; + /** + * The total number of missed impressions due to the ad servers' inability + * to find ads to serve including dynamic allocation. + * Corresponds to "Unfilled impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum UNFILLED_IMPRESSIONS = 45; + */ + const UNFILLED_IMPRESSIONS = 45; + /** + * The total number of unique users who viewed the ad. + * Corresponds to "Total unique visitors" in the Ad Manager UI. + * Compatible with the following report types: `REACH` + * Data format: `INTEGER` + * + * Generated from protobuf enum UNIQUE_VISITORS = 417; + */ + const UNIQUE_VISITORS = 417; + /** + * The number of impressions impacted by Chrome Ads Intervention due to CPU + * usage. + * Corresponds to "Total unloaded impressions due to CPU" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum UNLOADED_IMPRESSIONS_DUE_TO_CPU = 408; + */ + const UNLOADED_IMPRESSIONS_DUE_TO_CPU = 408; + /** + * The number of impressions impacted by Chrome Ads Intervention due to + * network usage. + * Corresponds to "Total unloaded impressions due to Network" in the Ad + * Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum UNLOADED_IMPRESSIONS_DUE_TO_NETWORK = 406; + */ + const UNLOADED_IMPRESSIONS_DUE_TO_NETWORK = 406; + /** + * The total number of times that an ad is not returned by the ad server. + * Corresponds to "Total unmatched ad requests" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum UNMATCHED_AD_REQUESTS = 43; + */ + const UNMATCHED_AD_REQUESTS = 43; + /** + * The percentage of unviewed impressions due to other reasons. + * Corresponds to "Other non-viewable impression reasons (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum UNVIEWED_REASON_OTHER_PERCENT = 550; + */ + const UNVIEWED_REASON_OTHER_PERCENT = 550; + /** + * The percentage of unviewed impressions due to slot never entered + * viewport. + * Corresponds to "Slot never entered viewport (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT = 553; + */ + const UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT = 553; + /** + * The percentage of unviewed impressions due to scrolled past before ad + * filled. + * Corresponds to "User scrolled before ad filled (%)" in the Ad Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT = 551; + */ + const UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT = 551; + /** + * The percentage of unviewed impressions due to scrolled past before ad + * loaded. + * Corresponds to "User scrolled/navigated before ad loaded (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT = 552; + */ + const UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT = 552; + /** + * The percentage of unviewed impressions due to insufficient time on + * screen. + * Corresponds to "User scrolled/navigated before 1 second (%)" in the Ad + * Manager UI. + * Compatible with the following report types: `AD_SPEED` + * Data format: `PERCENT` + * + * Generated from protobuf enum UNVIEWED_REASON_USER_SCROLLED_BEFORE_ONE_SECOND_PERCENT = 549; + */ + const UNVIEWED_REASON_USER_SCROLLED_BEFORE_ONE_SECOND_PERCENT = 549; + /** + * Time of users interacting with web site or mobile app from Google + * Analytics in seconds. + * Corresponds to "User engagement duration (seconds)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_ENGAGEMENT_DURATION_IN_SECONDS = 240; + */ + const USER_ENGAGEMENT_DURATION_IN_SECONDS = 240; + /** + * Fraction of page views where users had ad blocker extensions installed. + * Includes only Desktop page views. + * Corresponds to "Ad blocking extension rate" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum USER_MESSAGES_AD_BLOCKING_EXTENSION_RATE = 486; + */ + const USER_MESSAGES_AD_BLOCKING_EXTENSION_RATE = 486; + /** + * Number of ad-blocking messages shown in the selected date range that + * resulted in users adding the site to their allowlist to view ads + * Corresponds to "Ad blocking recovery message conversions" in the Ad + * Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT = 487; + */ + const USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT = 487; + /** + * Number of times an ad blocking recovery message was shown to users. + * Corresponds to "Ad blocking recovery messages shown" in the Ad Manager + * UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN = 488; + */ + const USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN = 488; + /** + * The number of page views generated by users with an ad blocking extension + * installed who were shown the ad blocking recovery message and later + * allowed ads. + * Corresponds to "Allow-ads page views" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_ALLOW_ADS_PAGEVIEWS = 489; + */ + const USER_MESSAGES_ALLOW_ADS_PAGEVIEWS = 489; + /** + * Number of iOS ATT alerts that were triggered by an IDFA message (IDFA + * messages can be IDFA explainers or GDPR messages). + * Corresponds to "IDFA ATT alerts shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN = 491; + */ + const USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN = 491; + /** + * Number of iOS ATT alerts triggered by the IDFA message where the user + * chose to allow tracking. + * Corresponds to "IDFA ATT consent" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_ATT_CONSENT = 492; + */ + const USER_MESSAGES_IDFA_ATT_CONSENT = 492; + /** + * Percentage of iOS ATT alerts triggered by the IDFA message where the + * outcome was to allow tracking. + * Corresponds to "IDFA ATT consent rate" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_ATT_CONSENT_RATE = 493; + */ + const USER_MESSAGES_IDFA_ATT_CONSENT_RATE = 493; + /** + * Number of iOS ATT alerts triggered by the IDFA message where the user + * chose to deny tracking. + * Corresponds to "IDFA ATT decline consent" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_ATT_DECLINE_CONSENT = 494; + */ + const USER_MESSAGES_IDFA_ATT_DECLINE_CONSENT = 494; + /** + * Percentage of iOS ATT alerts triggered by the IDFA message where the user + * chose to deny tracking. + * Corresponds to "IDFA ATT decline rate" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_ATT_DECLINE_RATE = 495; + */ + const USER_MESSAGES_IDFA_ATT_DECLINE_RATE = 495; + /** + * Number of times an IDFA explainer message was shown to users. + * Corresponds to "IDFA explainers shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_EXPLAINERS_SHOWN = 496; + */ + const USER_MESSAGES_IDFA_EXPLAINERS_SHOWN = 496; + /** + * Number of times a European regulations message was shown immediately + * before the iOS ATT alert. + * Corresponds to "IDFA IAB messages shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_IAB_MESSAGES_SHOWN = 497; + */ + const USER_MESSAGES_IDFA_IAB_MESSAGES_SHOWN = 497; + /** + * Number of IDFA explainer messages where the user didn't choose anything. + * Corresponds to "IDFA no decision" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_IDFA_NO_DECISION = 498; + */ + const USER_MESSAGES_IDFA_NO_DECISION = 498; + /** + * Number of times an Offerwall message was shown to users. + * Corresponds to "Offerwall messages shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_OFFERWALL_MESSAGES_SHOWN = 121; + */ + const USER_MESSAGES_OFFERWALL_MESSAGES_SHOWN = 121; + /** + * The number of messages where the user gained an entitlement. + * Corresponds to "Monetized Offerwall engagements" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_OFFERWALL_SUCCESSFUL_ENGAGEMENTS = 122; + */ + const USER_MESSAGES_OFFERWALL_SUCCESSFUL_ENGAGEMENTS = 122; + /** + * The number of pages viewed by users after gaining an entitlement. Only + * counts pages included for Offerwall. + * Corresponds to "Post-offerwall page views" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_POST_OFFERWALL_PAGEVIEWS = 499; + */ + const USER_MESSAGES_POST_OFFERWALL_PAGEVIEWS = 499; + /** + * Revenue earned through Offerwall, including Rewarded ad revenue and + * third-party integrations. + * Corresponds to "Estimated Offerwall revenue" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `MONEY` + * + * Generated from protobuf enum USER_MESSAGES_TOTAL_ESTIMATED_REVENUE = 500; + */ + const USER_MESSAGES_TOTAL_ESTIMATED_REVENUE = 500; + /** + * Number of times an ads personalization controls message was shown to + * users. + * Corresponds to "Ads personalization messages shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_UPTC_MESSAGES_SHOWN = 501; + */ + const USER_MESSAGES_UPTC_MESSAGES_SHOWN = 501; + /** + * Percentage of ads personalization controls messages where users chose the + * opt-out option. + * Corresponds to "Personalization opt-out ratio" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `PERCENT` + * + * Generated from protobuf enum USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO = 502; + */ + const USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO = 502; + /** + * Number of times a US state regulations message was shown to users. + * Corresponds to "US states messages shown" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_US_STATES_MESSAGES_SHOWN = 490; + */ + const USER_MESSAGES_US_STATES_MESSAGES_SHOWN = 490; + /** + * Number of times users selected the opt-out option in a US states message. + * Corresponds to "US states opt-out selections" in the Ad Manager UI. + * Compatible with the following report types: `PRIVACY_AND_MESSAGING` + * Data format: `INTEGER` + * + * Generated from protobuf enum USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS = 586; + */ + const USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS = 586; + /** + * The number of errors of type 100 in reporting. + * Corresponds to "VAST error 100 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_100_COUNT = 180; + */ + const VIDEO_ERROR_100_COUNT = 180; + /** + * The number of errors of type 101 in reporting. + * Corresponds to "VAST error 101 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_101_COUNT = 181; + */ + const VIDEO_ERROR_101_COUNT = 181; + /** + * The number of errors of type 102 in reporting. + * Corresponds to "VAST error 102 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_102_COUNT = 182; + */ + const VIDEO_ERROR_102_COUNT = 182; + /** + * The number of errors of type 200 in reporting. + * Corresponds to "VAST error 200 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_200_COUNT = 183; + */ + const VIDEO_ERROR_200_COUNT = 183; + /** + * The number of errors of type 201 in reporting. + * Corresponds to "VAST error 201 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_201_COUNT = 184; + */ + const VIDEO_ERROR_201_COUNT = 184; + /** + * The number of errors of type 202 in reporting. + * Corresponds to "VAST error 202 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_202_COUNT = 185; + */ + const VIDEO_ERROR_202_COUNT = 185; + /** + * The number of errors of type 203 in reporting. + * Corresponds to "VAST error 203 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_203_COUNT = 186; + */ + const VIDEO_ERROR_203_COUNT = 186; + /** + * The number of errors of type 300 in reporting. + * Corresponds to "VAST error 300 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_300_COUNT = 187; + */ + const VIDEO_ERROR_300_COUNT = 187; + /** + * The number of errors of type 301 in reporting. + * Corresponds to "VAST error 301 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_301_COUNT = 188; + */ + const VIDEO_ERROR_301_COUNT = 188; + /** + * The number of errors of type 302 in reporting. + * Corresponds to "VAST error 302 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_302_COUNT = 189; + */ + const VIDEO_ERROR_302_COUNT = 189; + /** + * The number of errors of type 303 in reporting. + * Corresponds to "VAST error 303 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_303_COUNT = 190; + */ + const VIDEO_ERROR_303_COUNT = 190; + /** + * The number of errors of type 400 in reporting. + * Corresponds to "VAST error 400 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_400_COUNT = 191; + */ + const VIDEO_ERROR_400_COUNT = 191; + /** + * The number of errors of type 401 in reporting. + * Corresponds to "VAST error 401 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_401_COUNT = 192; + */ + const VIDEO_ERROR_401_COUNT = 192; + /** + * The number of errors of type 402 in reporting. + * Corresponds to "VAST error 402 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_402_COUNT = 193; + */ + const VIDEO_ERROR_402_COUNT = 193; + /** + * The number of errors of type 403 in reporting. + * Corresponds to "VAST error 403 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_403_COUNT = 194; + */ + const VIDEO_ERROR_403_COUNT = 194; + /** + * The number of errors of type 405 in reporting. + * Corresponds to "VAST error 405 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_405_COUNT = 195; + */ + const VIDEO_ERROR_405_COUNT = 195; + /** + * The number of errors of type 406 in reporting. + * Corresponds to "VAST error 406 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_406_COUNT = 196; + */ + const VIDEO_ERROR_406_COUNT = 196; + /** + * The number of errors of type 407 in reporting. + * Corresponds to "VAST error 407 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_407_COUNT = 197; + */ + const VIDEO_ERROR_407_COUNT = 197; + /** + * The number of errors of type 408 in reporting. + * Corresponds to "VAST error 408 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_408_COUNT = 198; + */ + const VIDEO_ERROR_408_COUNT = 198; + /** + * The number of errors of type 409 in reporting. + * Corresponds to "VAST error 409 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_409_COUNT = 199; + */ + const VIDEO_ERROR_409_COUNT = 199; + /** + * The number of errors of type 410 in reporting. + * Corresponds to "VAST error 410 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_410_COUNT = 200; + */ + const VIDEO_ERROR_410_COUNT = 200; + /** + * The number of errors of type 500 in reporting. + * Corresponds to "VAST error 500 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_500_COUNT = 201; + */ + const VIDEO_ERROR_500_COUNT = 201; + /** + * The number of errors of type 501 in reporting. + * Corresponds to "VAST error 501 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_501_COUNT = 202; + */ + const VIDEO_ERROR_501_COUNT = 202; + /** + * The number of errors of type 502 in reporting. + * Corresponds to "VAST error 502 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_502_COUNT = 203; + */ + const VIDEO_ERROR_502_COUNT = 203; + /** + * The number of errors of type 503 in reporting. + * Corresponds to "VAST error 503 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_503_COUNT = 204; + */ + const VIDEO_ERROR_503_COUNT = 204; + /** + * The number of errors of type 600 in reporting. + * Corresponds to "VAST error 600 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_600_COUNT = 205; + */ + const VIDEO_ERROR_600_COUNT = 205; + /** + * The number of errors of type 601 in reporting. + * Corresponds to "VAST error 601 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_601_COUNT = 206; + */ + const VIDEO_ERROR_601_COUNT = 206; + /** + * The number of errors of type 602 in reporting. + * Corresponds to "VAST error 602 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_602_COUNT = 207; + */ + const VIDEO_ERROR_602_COUNT = 207; + /** + * The number of errors of type 603 in reporting. + * Corresponds to "VAST error 603 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_603_COUNT = 208; + */ + const VIDEO_ERROR_603_COUNT = 208; + /** + * The number of errors of type 604 in reporting. + * Corresponds to "VAST error 604 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_604_COUNT = 209; + */ + const VIDEO_ERROR_604_COUNT = 209; + /** + * The number of errors of type 900 in reporting. + * Corresponds to "VAST error 900 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_900_COUNT = 210; + */ + const VIDEO_ERROR_900_COUNT = 210; + /** + * The number of errors of type 901 in reporting. + * Corresponds to "VAST error 901 count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_ERROR_901_COUNT = 211; + */ + const VIDEO_ERROR_901_COUNT = 211; + /** + * The number of user interactions with a video, on average, such as pause, + * full screen, mute, etc. + * Corresponds to "Average interaction rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE = 92; + */ + const VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE = 92; + /** + * The number of times a user collapses a video, either to its original size + * or to a different size. + * Corresponds to "Collapses" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_COLLAPSES = 93; + */ + const VIDEO_INTERACTION_COLLAPSES = 93; + /** + * The number of times a user expands a video. + * Corresponds to "Expands" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_EXPANDS = 95; + */ + const VIDEO_INTERACTION_EXPANDS = 95; + /** + * The number of times ad clip played in full screen mode. + * Corresponds to "Full screens" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_FULL_SCREENS = 96; + */ + const VIDEO_INTERACTION_FULL_SCREENS = 96; + /** + * The number of times video player was in mute state during play of ad + * clip. + * Corresponds to "Mutes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_MUTES = 97; + */ + const VIDEO_INTERACTION_MUTES = 97; + /** + * The number of times user paused ad clip. + * Corresponds to "Pauses" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_PAUSES = 98; + */ + const VIDEO_INTERACTION_PAUSES = 98; + /** + * The number of times the user unpaused the video. + * Corresponds to "Resumes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_RESUMES = 99; + */ + const VIDEO_INTERACTION_RESUMES = 99; + /** + * The number of times a user rewinds the video. + * Corresponds to "Rewinds" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_REWINDS = 100; + */ + const VIDEO_INTERACTION_REWINDS = 100; + /** + * The number of times a user unmutes the video. + * Corresponds to "Unmutes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_UNMUTES = 101; + */ + const VIDEO_INTERACTION_UNMUTES = 101; + /** + * The number of times a skippable video is skipped. + * Corresponds to "Skips" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_INTERACTION_VIDEO_SKIPS = 102; + */ + const VIDEO_INTERACTION_VIDEO_SKIPS = 102; + /** + * The number of views for monetizable video content. + * Corresponds to "Monetizable content views" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_MONETIZABLE_CONTENT_VIEWS = 601; + */ + const VIDEO_MONETIZABLE_CONTENT_VIEWS = 601; + /** + * The number of total creative serves in video realtime reporting. + * Corresponds to "Total creative serves" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_CREATIVE_SERVES = 139; + */ + const VIDEO_REAL_TIME_CREATIVE_SERVES = 139; + /** + * The number of errors of type 100 in video realtime reporting. + * Corresponds to "VAST error 100 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_100_COUNT = 143; + */ + const VIDEO_REAL_TIME_ERROR_100_COUNT = 143; + /** + * The number of errors of type 101 in video realtime reporting. + * Corresponds to "VAST error 101 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_101_COUNT = 144; + */ + const VIDEO_REAL_TIME_ERROR_101_COUNT = 144; + /** + * The number of errors of type 102 in video realtime reporting. + * Corresponds to "VAST error 102 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_102_COUNT = 145; + */ + const VIDEO_REAL_TIME_ERROR_102_COUNT = 145; + /** + * The number of errors of type 200 in video realtime reporting. + * Corresponds to "VAST error 200 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_200_COUNT = 146; + */ + const VIDEO_REAL_TIME_ERROR_200_COUNT = 146; + /** + * The number of errors of type 201 in video realtime reporting. + * Corresponds to "VAST error 201 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_201_COUNT = 147; + */ + const VIDEO_REAL_TIME_ERROR_201_COUNT = 147; + /** + * The number of errors of type 202 in video realtime reporting. + * Corresponds to "VAST error 202 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_202_COUNT = 148; + */ + const VIDEO_REAL_TIME_ERROR_202_COUNT = 148; + /** + * The number of errors of type 203 in video realtime reporting. + * Corresponds to "VAST error 203 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_203_COUNT = 149; + */ + const VIDEO_REAL_TIME_ERROR_203_COUNT = 149; + /** + * The number of errors of type 300 in video realtime reporting. + * Corresponds to "VAST error 300 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_300_COUNT = 150; + */ + const VIDEO_REAL_TIME_ERROR_300_COUNT = 150; + /** + * The number of errors of type 301 in video realtime reporting. + * Corresponds to "VAST error 301 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_301_COUNT = 151; + */ + const VIDEO_REAL_TIME_ERROR_301_COUNT = 151; + /** + * The number of errors of type 302 in video realtime reporting. + * Corresponds to "VAST error 302 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_302_COUNT = 152; + */ + const VIDEO_REAL_TIME_ERROR_302_COUNT = 152; + /** + * The number of errors of type 303 in video realtime reporting. + * Corresponds to "VAST error 303 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_303_COUNT = 153; + */ + const VIDEO_REAL_TIME_ERROR_303_COUNT = 153; + /** + * The number of errors of type 400 in video realtime reporting. + * Corresponds to "VAST error 400 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_400_COUNT = 154; + */ + const VIDEO_REAL_TIME_ERROR_400_COUNT = 154; + /** + * The number of errors of type 401 in video realtime reporting. + * Corresponds to "VAST error 401 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_401_COUNT = 155; + */ + const VIDEO_REAL_TIME_ERROR_401_COUNT = 155; + /** + * The number of errors of type 402 in video realtime reporting. + * Corresponds to "VAST error 402 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_402_COUNT = 156; + */ + const VIDEO_REAL_TIME_ERROR_402_COUNT = 156; + /** + * The number of errors of type 403 in video realtime reporting. + * Corresponds to "VAST error 403 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_403_COUNT = 157; + */ + const VIDEO_REAL_TIME_ERROR_403_COUNT = 157; + /** + * The number of errors of type 405 in video realtime reporting. + * Corresponds to "VAST error 405 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_405_COUNT = 158; + */ + const VIDEO_REAL_TIME_ERROR_405_COUNT = 158; + /** + * The number of errors of type 406 in video realtime reporting. + * Corresponds to "VAST error 406 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_406_COUNT = 159; + */ + const VIDEO_REAL_TIME_ERROR_406_COUNT = 159; + /** + * The number of errors of type 407 in video realtime reporting. + * Corresponds to "VAST error 407 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_407_COUNT = 160; + */ + const VIDEO_REAL_TIME_ERROR_407_COUNT = 160; + /** + * The number of errors of type 408 in video realtime reporting. + * Corresponds to "VAST error 408 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_408_COUNT = 161; + */ + const VIDEO_REAL_TIME_ERROR_408_COUNT = 161; + /** + * The number of errors of type 409 in video realtime reporting. + * Corresponds to "VAST error 409 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_409_COUNT = 162; + */ + const VIDEO_REAL_TIME_ERROR_409_COUNT = 162; + /** + * The number of errors of type 410 in video realtime reporting. + * Corresponds to "VAST error 410 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_410_COUNT = 163; + */ + const VIDEO_REAL_TIME_ERROR_410_COUNT = 163; + /** + * The number of errors of type 500 in video realtime reporting. + * Corresponds to "VAST error 500 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_500_COUNT = 164; + */ + const VIDEO_REAL_TIME_ERROR_500_COUNT = 164; + /** + * The number of errors of type 501 in video realtime reporting. + * Corresponds to "VAST error 501 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_501_COUNT = 165; + */ + const VIDEO_REAL_TIME_ERROR_501_COUNT = 165; + /** + * The number of errors of type 502 in video realtime reporting. + * Corresponds to "VAST error 502 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_502_COUNT = 166; + */ + const VIDEO_REAL_TIME_ERROR_502_COUNT = 166; + /** + * The number of errors of type 503 in video realtime reporting. + * Corresponds to "VAST error 503 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_503_COUNT = 167; + */ + const VIDEO_REAL_TIME_ERROR_503_COUNT = 167; + /** + * The number of errors of type 600 in video realtime reporting. + * Corresponds to "VAST error 600 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_600_COUNT = 168; + */ + const VIDEO_REAL_TIME_ERROR_600_COUNT = 168; + /** + * The number of errors of type 601 in video realtime reporting. + * Corresponds to "VAST error 601 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_601_COUNT = 169; + */ + const VIDEO_REAL_TIME_ERROR_601_COUNT = 169; + /** + * The number of errors of type 602 in video realtime reporting. + * Corresponds to "VAST error 602 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_602_COUNT = 170; + */ + const VIDEO_REAL_TIME_ERROR_602_COUNT = 170; + /** + * The number of errors of type 603 in video realtime reporting. + * Corresponds to "VAST error 603 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_603_COUNT = 171; + */ + const VIDEO_REAL_TIME_ERROR_603_COUNT = 171; + /** + * The number of errors of type 604 in video realtime reporting. + * Corresponds to "VAST error 604 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_604_COUNT = 172; + */ + const VIDEO_REAL_TIME_ERROR_604_COUNT = 172; + /** + * The number of errors of type 900 in video realtime reporting. + * Corresponds to "VAST error 900 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_900_COUNT = 173; + */ + const VIDEO_REAL_TIME_ERROR_900_COUNT = 173; + /** + * The number of errors of type 901 in video realtime reporting. + * Corresponds to "VAST error 901 count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_ERROR_901_COUNT = 174; + */ + const VIDEO_REAL_TIME_ERROR_901_COUNT = 174; + /** + * The number of total impressions in video realtime reporting. + * Corresponds to "Total impressions" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_IMPRESSIONS = 138; + */ + const VIDEO_REAL_TIME_IMPRESSIONS = 138; + /** + * The number of matched queries in video realtime reporting. + * Corresponds to "Total responses served" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_MATCHED_QUERIES = 140; + */ + const VIDEO_REAL_TIME_MATCHED_QUERIES = 140; + /** + * The number of all errors in video realtime reporting. + * Corresponds to "Total error count" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_TOTAL_ERROR_COUNT = 175; + */ + const VIDEO_REAL_TIME_TOTAL_ERROR_COUNT = 175; + /** + * The number of total queries in video realtime reporting. + * Corresponds to "Total ad requests" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_TOTAL_QUERIES = 142; + */ + const VIDEO_REAL_TIME_TOTAL_QUERIES = 142; + /** + * The number of unmatched queries in video realtime reporting. + * Corresponds to "Total unmatched ad requests" in the Ad Manager UI. + * Compatible with the following report types: `REAL_TIME_VIDEO` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_REAL_TIME_UNMATCHED_QUERIES = 141; + */ + const VIDEO_REAL_TIME_UNMATCHED_QUERIES = 141; + /** + * The total number of breaks completed or fatal errors for the last ad in + * the pod. + * Corresponds to "Break end" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END = 279; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END = 279; + /** + * The total number of breaks starts or errors for the first ad in a pod + * that users made it to. + * Corresponds to "Break start" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START = 280; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START = 280; + /** + * The number of video ad opportunities reached by a user (rounded down, or + * capped based on your max ads setting, whichever is less). + * Corresponds to "Capped opportunities (adbreak)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK = 281; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK = 281; + /** + * The number of video ad opportunities reached by a user (rounded down, or + * capped based on your max ads setting, whichever is less). + * Corresponds to "Capped opportunities (subpod)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_SUBPOD = 282; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_SUBPOD = 282; + /** + * The total number of seconds available to be filled. + * Corresponds to "Total duration (adbreak)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK = 283; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK = 283; + /** + * The total number of seconds available to be filled. + * Corresponds to "Total duration (subpod)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_SUBPOD = 284; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_SUBPOD = 284; + /** + * The total number of seconds filled. + * Corresponds to "Matched duration (adbreak)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK = 285; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK = 285; + /** + * The total number of seconds filled. + * Corresponds to "Matched duration (subpod)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_SUBPOD = 286; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_SUBPOD = 286; + /** + * The total matched opportunities in video true opportunities reporting. + * Corresponds to "Matched opportunities (adbreak)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK = 287; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK = 287; + /** + * The total matched opportunities in video true opportunities reporting. + * Corresponds to "Matched opportunities (subpod)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_SUBPOD = 288; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_SUBPOD = 288; + /** + * The number of video ad opportunities reached by a user (rounded down). + * Corresponds to "Viewed opportunities (adbreak)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK = 289; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK = 289; + /** + * The number of video ad opportunities reached by a user (rounded down). + * Corresponds to "Viewed opportunities (subpod)" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_SUBPOD = 290; + */ + const VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_SUBPOD = 290; + /** + * The number of TrueView ad impressions viewed. + * Corresponds to "True views" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_TRUE_VIEWS = 392; + */ + const VIDEO_TRUE_VIEWS = 392; + /** + * Measures the percentage of skips. + * Corresponds to "True views skip rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_TRUE_VIEW_SKIP_RATE = 393; + */ + const VIDEO_TRUE_VIEW_SKIP_RATE = 393; + /** + * The view-through rate is the percentage of views divided by number of + * impressions + * Corresponds to "True views view-through rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE = 394; + */ + const VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE = 394; + /** + * Number of times that the publisher specified a video ad played + * automatically. + * Corresponds to "Auto-plays" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_AUTO_PLAYS = 103; + */ + const VIDEO_VIEWERSHIP_AUTO_PLAYS = 103; + /** + * Average percentage of the video watched by users. + * Corresponds to "Average view rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE = 104; + */ + const VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE = 104; + /** + * Average time(seconds) users watched the video. + * Corresponds to "Average view time" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME = 105; + */ + const VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME = 105; + /** + * Number of times that the publisher specified a video ad was clicked to + * play. + * Corresponds to "Click-to-plays" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_CLICK_TO_PLAYS = 106; + */ + const VIDEO_VIEWERSHIP_CLICK_TO_PLAYS = 106; + /** + * The number of times the video played to completion. + * Corresponds to "Completes" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_COMPLETES = 107; + */ + const VIDEO_VIEWERSHIP_COMPLETES = 107; + /** + * Percentage of times the video played to the end. + * Corresponds to "Completion rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_COMPLETION_RATE = 108; + */ + const VIDEO_VIEWERSHIP_COMPLETION_RATE = 108; + /** + * The number of engaged views: ad is viewed to completion or for 30s, + * whichever comes first. + * Corresponds to "Engaged views" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_ENGAGED_VIEWS = 109; + */ + const VIDEO_VIEWERSHIP_ENGAGED_VIEWS = 109; + /** + * The number of times the video played to 25% of its length. + * Corresponds to "First quartiles" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_FIRST_QUARTILES = 110; + */ + const VIDEO_VIEWERSHIP_FIRST_QUARTILES = 110; + /** + * The number of times the video reached its midpoint during play. + * Corresponds to "Midpoints" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_MIDPOINTS = 111; + */ + const VIDEO_VIEWERSHIP_MIDPOINTS = 111; + /** + * The number of times a skip button is shown in video. + * Corresponds to "Skip buttons shown" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_SKIP_BUTTONS_SHOWN = 112; + */ + const VIDEO_VIEWERSHIP_SKIP_BUTTONS_SHOWN = 112; + /** + * The number of impressions where the video was played. + * Corresponds to "Starts" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_STARTS = 113; + */ + const VIDEO_VIEWERSHIP_STARTS = 113; + /** + * The number of times the video played to 75% of its length. + * Corresponds to "Third quartiles" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_THIRD_QUARTILES = 114; + */ + const VIDEO_VIEWERSHIP_THIRD_QUARTILES = 114; + /** + * The number of times an error occurred, such as a VAST redirect error, a + * video playback error, or an invalid response error. + * Corresponds to "Total error count" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT = 115; + */ + const VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT = 115; + /** + * The percentage of video error count. + * Corresponds to "Total error rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE = 94; + */ + const VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE = 94; + /** + * Duration of the video creative. + * Corresponds to "Video length" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_VIDEO_LENGTH = 116; + */ + const VIDEO_VIEWERSHIP_VIDEO_LENGTH = 116; + /** + * View-through rate represented as a percentage. + * Corresponds to "Video view through rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `PERCENT` + * + * Generated from protobuf enum VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE = 117; + */ + const VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE = 117; + /** + * Number of winning bids received from Open Bidding buyers, even when the + * winning bid is placed at the end of a mediation for mobile apps chain. + * Corresponds to "Yield group auctions won" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_AUCTIONS_WON = 80; + */ + const YIELD_GROUP_AUCTIONS_WON = 80; + /** + * Number of bids received from Open Bidding buyers, regardless of whether + * the returned bid competes in an auction. + * Corresponds to "Yield group bids" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_BIDS = 81; + */ + const YIELD_GROUP_BIDS = 81; + /** + * Number of bids received from Open Bidding buyers that competed in + * the auction. + * Corresponds to "Yield group bids in auction" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_BIDS_IN_AUCTION = 82; + */ + const YIELD_GROUP_BIDS_IN_AUCTION = 82; + /** + * Number of times a yield partner is asked to return bid to fill + * a yield group request. + * Corresponds to "Yield group callouts" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_CALLOUTS = 83; + */ + const YIELD_GROUP_CALLOUTS = 83; + /** + * The estimated net rate for yield groups or individual + * yield group partners. + * Corresponds to "Yield group estimated CPM" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum YIELD_GROUP_ESTIMATED_CPM = 88; + */ + const YIELD_GROUP_ESTIMATED_CPM = 88; + /** + * Total net revenue earned by a yield group, based upon the yield group + * estimated CPM and yield group impressions recorded. + * Corresponds to "Yield group estimated revenue" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum YIELD_GROUP_ESTIMATED_REVENUE = 87; + */ + const YIELD_GROUP_ESTIMATED_REVENUE = 87; + /** + * Number of matched yield group requests where a yield partner delivered + * their ad to publisher inventory. + * Corresponds to "Yield group impressions" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_IMPRESSIONS = 85; + */ + const YIELD_GROUP_IMPRESSIONS = 85; + /** + * Yield group Mediation fill rate indicating how often a network + * fills an ad request. + * Corresponds to "Yield group mediation fill rate" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum YIELD_GROUP_MEDIATION_FILL_RATE = 89; + */ + const YIELD_GROUP_MEDIATION_FILL_RATE = 89; + /** + * Total requests where a Mediation chain was served. + * Corresponds to "Yield group mediation matched queries" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_MEDIATION_MATCHED_QUERIES = 86; + */ + const YIELD_GROUP_MEDIATION_MATCHED_QUERIES = 86; + /** + * The number of mediation chain passback across all channels. + * Corresponds to "Yield group mediation passbacks" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_MEDIATION_PASSBACKS = 118; + */ + const YIELD_GROUP_MEDIATION_PASSBACKS = 118; + /** + * Revenue per thousand impressions based on data collected by Ad Manager + * from third-party ad network reports. + * Corresponds to "Yield group mediation third party ECPM" in the Ad Manager + * UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `DOUBLE` + * + * Generated from protobuf enum YIELD_GROUP_MEDIATION_THIRD_PARTY_ECPM = 90; + */ + const YIELD_GROUP_MEDIATION_THIRD_PARTY_ECPM = 90; + /** + * The yield group revenue accrued in the child network's own account but + * paid to their parent network through auto-payment. This metric is only + * relevant for a "Manage Account" child network. + * Corresponds to "Yield group revenue paid through MCM auto-payment" in the + * Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `MONEY` + * + * Generated from protobuf enum YIELD_GROUP_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 215; + */ + const YIELD_GROUP_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 215; + /** + * Number of times a yield group buyer successfully returned a bid in + * response to a yield group callout. + * Corresponds to "Yield group successful responses" in the Ad Manager UI. + * Compatible with the following report types: `HISTORICAL` + * Data format: `INTEGER` + * + * Generated from protobuf enum YIELD_GROUP_SUCCESSFUL_RESPONSES = 84; + */ + const YIELD_GROUP_SUCCESSFUL_RESPONSES = 84; + + private static $valueToName = [ + self::METRIC_UNSPECIFIED => 'METRIC_UNSPECIFIED', + self::ACTIVE_USERS => 'ACTIVE_USERS', + self::ACTIVE_VIEW_AUDIBLE_AT_START_PERCENT => 'ACTIVE_VIEW_AUDIBLE_AT_START_PERCENT', + self::ACTIVE_VIEW_AUDIBLE_IMPRESSIONS => 'ACTIVE_VIEW_AUDIBLE_IMPRESSIONS', + self::ACTIVE_VIEW_AUDIBLE_THROUGH_COMPLETION_PERCENT => 'ACTIVE_VIEW_AUDIBLE_THROUGH_COMPLETION_PERCENT', + self::ACTIVE_VIEW_AUDIBLE_THROUGH_FIRST_QUARTILE_PERCENT => 'ACTIVE_VIEW_AUDIBLE_THROUGH_FIRST_QUARTILE_PERCENT', + self::ACTIVE_VIEW_AUDIBLE_THROUGH_MIDPOINT_PERCENT => 'ACTIVE_VIEW_AUDIBLE_THROUGH_MIDPOINT_PERCENT', + self::ACTIVE_VIEW_AUDIBLE_THROUGH_THIRD_QUARTILE_PERCENT => 'ACTIVE_VIEW_AUDIBLE_THROUGH_THIRD_QUARTILE_PERCENT', + self::ACTIVE_VIEW_AUDIO_ENABLED_IMPRESSIONS => 'ACTIVE_VIEW_AUDIO_ENABLED_IMPRESSIONS', + self::ACTIVE_VIEW_AUDIO_MEASURABLE_IMPRESSIONS => 'ACTIVE_VIEW_AUDIO_MEASURABLE_IMPRESSIONS', + self::ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME => 'ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME', + self::ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS => 'ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', + self::ACTIVE_VIEW_EVER_AUDIBLE_BACKGROUNDED_PERCENT => 'ACTIVE_VIEW_EVER_AUDIBLE_BACKGROUNDED_PERCENT', + self::ACTIVE_VIEW_EVER_AUDIBLE_PERCENT => 'ACTIVE_VIEW_EVER_AUDIBLE_PERCENT', + self::ACTIVE_VIEW_EVER_BACKGROUNDED_PERCENT => 'ACTIVE_VIEW_EVER_BACKGROUNDED_PERCENT', + self::ACTIVE_VIEW_EVER_MUTED_PERCENT => 'ACTIVE_VIEW_EVER_MUTED_PERCENT', + self::ACTIVE_VIEW_IMPRESSIONS_AUDIBLE_AND_VISIBLIE_AT_COMPLETION => 'ACTIVE_VIEW_IMPRESSIONS_AUDIBLE_AND_VISIBLIE_AT_COMPLETION', + self::ACTIVE_VIEW_MEASURABLE_IMPRESSIONS => 'ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', + self::ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE => 'ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE', + self::ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS => 'ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS', + self::ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS => 'ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS', + self::ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS => 'ACTIVE_VIEW_PERCENT_AUDIBLE_IMPRESSIONS', + self::ACTIVE_VIEW_PLUS_MEASURABLE_COUNT => 'ACTIVE_VIEW_PLUS_MEASURABLE_COUNT', + self::ACTIVE_VIEW_REVENUE => 'ACTIVE_VIEW_REVENUE', + self::ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION => 'ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION', + self::ACTIVE_VIEW_VIEWABLE_IMPRESSIONS => 'ACTIVE_VIEW_VIEWABLE_IMPRESSIONS', + self::ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE => 'ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE', + self::ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME => 'ADSENSE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME', + self::ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS => 'ADSENSE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', + self::ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS => 'ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', + self::ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE => 'ADSENSE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE', + self::ADSENSE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS => 'ADSENSE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS', + self::ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS => 'ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS', + self::ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'ADSENSE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::ADSENSE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION => 'ADSENSE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION', + self::ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS => 'ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS', + self::ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE => 'ADSENSE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE', + self::ADSENSE_AVERAGE_ECPM => 'ADSENSE_AVERAGE_ECPM', + self::ADSENSE_CLICKS => 'ADSENSE_CLICKS', + self::ADSENSE_CTR => 'ADSENSE_CTR', + self::ADSENSE_IMPRESSIONS => 'ADSENSE_IMPRESSIONS', + self::ADSENSE_PERCENT_CLICKS => 'ADSENSE_PERCENT_CLICKS', + self::ADSENSE_PERCENT_IMPRESSIONS => 'ADSENSE_PERCENT_IMPRESSIONS', + self::ADSENSE_PERCENT_REVENUE => 'ADSENSE_PERCENT_REVENUE', + self::ADSENSE_PERCENT_REVENUE_WITHOUT_CPD => 'ADSENSE_PERCENT_REVENUE_WITHOUT_CPD', + self::ADSENSE_RESPONSES_SERVED => 'ADSENSE_RESPONSES_SERVED', + self::ADSENSE_REVENUE => 'ADSENSE_REVENUE', + self::AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME => 'AD_EXCHANGE_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME', + self::AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS => 'AD_EXCHANGE_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', + self::AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS => 'AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', + self::AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE => 'AD_EXCHANGE_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE', + self::AD_EXCHANGE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS => 'AD_EXCHANGE_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS', + self::AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS => 'AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS', + self::AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'AD_EXCHANGE_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::AD_EXCHANGE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION => 'AD_EXCHANGE_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION', + self::AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS => 'AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS', + self::AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE => 'AD_EXCHANGE_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE', + self::AD_EXCHANGE_AVERAGE_ECPM => 'AD_EXCHANGE_AVERAGE_ECPM', + self::AD_EXCHANGE_CLICKS => 'AD_EXCHANGE_CLICKS', + self::AD_EXCHANGE_CPC => 'AD_EXCHANGE_CPC', + self::AD_EXCHANGE_CTR => 'AD_EXCHANGE_CTR', + self::AD_EXCHANGE_DELIVERY_RATE => 'AD_EXCHANGE_DELIVERY_RATE', + self::AD_EXCHANGE_IMPRESSIONS => 'AD_EXCHANGE_IMPRESSIONS', + self::AD_EXCHANGE_IMPRESSIONS_PER_AD_VIEWER => 'AD_EXCHANGE_IMPRESSIONS_PER_AD_VIEWER', + self::AD_EXCHANGE_IMPRESSIONS_PER_SESSION => 'AD_EXCHANGE_IMPRESSIONS_PER_SESSION', + self::AD_EXCHANGE_LIFT => 'AD_EXCHANGE_LIFT', + self::AD_EXCHANGE_MATCHED_REQUEST_CTR => 'AD_EXCHANGE_MATCHED_REQUEST_CTR', + self::AD_EXCHANGE_MATCHED_REQUEST_ECPM => 'AD_EXCHANGE_MATCHED_REQUEST_ECPM', + self::AD_EXCHANGE_MATCH_RATE => 'AD_EXCHANGE_MATCH_RATE', + self::AD_EXCHANGE_OPPORTUNITIES_FROM_ERRORS => 'AD_EXCHANGE_OPPORTUNITIES_FROM_ERRORS', + self::AD_EXCHANGE_OPPORTUNITIES_FROM_IMPRESSIONS => 'AD_EXCHANGE_OPPORTUNITIES_FROM_IMPRESSIONS', + self::AD_EXCHANGE_PERCENT_CLICKS => 'AD_EXCHANGE_PERCENT_CLICKS', + self::AD_EXCHANGE_PERCENT_IMPRESSIONS => 'AD_EXCHANGE_PERCENT_IMPRESSIONS', + self::AD_EXCHANGE_PERCENT_REVENUE => 'AD_EXCHANGE_PERCENT_REVENUE', + self::AD_EXCHANGE_PERCENT_REVENUE_WITHOUT_CPD => 'AD_EXCHANGE_PERCENT_REVENUE_WITHOUT_CPD', + self::AD_EXCHANGE_PLUS_YIELD_GROUP_ECPM => 'AD_EXCHANGE_PLUS_YIELD_GROUP_ECPM', + self::AD_EXCHANGE_PLUS_YIELD_GROUP_IMPRESSIONS => 'AD_EXCHANGE_PLUS_YIELD_GROUP_IMPRESSIONS', + self::AD_EXCHANGE_PLUS_YIELD_GROUP_REVENUE => 'AD_EXCHANGE_PLUS_YIELD_GROUP_REVENUE', + self::AD_EXCHANGE_RESPONSES_SERVED => 'AD_EXCHANGE_RESPONSES_SERVED', + self::AD_EXCHANGE_REVENUE => 'AD_EXCHANGE_REVENUE', + self::AD_EXCHANGE_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT => 'AD_EXCHANGE_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT', + self::AD_EXCHANGE_REVENUE_PER_AD_VIEWER => 'AD_EXCHANGE_REVENUE_PER_AD_VIEWER', + self::AD_EXCHANGE_TOTAL_REQUESTS => 'AD_EXCHANGE_TOTAL_REQUESTS', + self::AD_EXCHANGE_TOTAL_REQUEST_CTR => 'AD_EXCHANGE_TOTAL_REQUEST_CTR', + self::AD_EXCHANGE_TOTAL_REQUEST_ECPM => 'AD_EXCHANGE_TOTAL_REQUEST_ECPM', + self::AD_EXPOSURE_SECONDS => 'AD_EXPOSURE_SECONDS', + self::AD_REQUESTS => 'AD_REQUESTS', + self::AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME => 'AD_SERVER_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME', + self::AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS => 'AD_SERVER_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS', + self::AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS => 'AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', + self::AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE => 'AD_SERVER_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS_RATE', + self::AD_SERVER_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS => 'AD_SERVER_ACTIVE_VIEW_NON_MEASURABLE_IMPRESSIONS', + self::AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS => 'AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS', + self::AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'AD_SERVER_ACTIVE_VIEW_NON_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::AD_SERVER_ACTIVE_VIEW_REVENUE => 'AD_SERVER_ACTIVE_VIEW_REVENUE', + self::AD_SERVER_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION => 'AD_SERVER_ACTIVE_VIEW_UNDETERMINED_IMPRESSIONS_DISTRIBUTION', + self::AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS => 'AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS', + self::AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION => 'AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_DISTRIBUTION', + self::AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE => 'AD_SERVER_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE', + self::AD_SERVER_AVERAGE_ECPM => 'AD_SERVER_AVERAGE_ECPM', + self::AD_SERVER_AVERAGE_ECPM_WITHOUT_CPD => 'AD_SERVER_AVERAGE_ECPM_WITHOUT_CPD', + self::AD_SERVER_BEGIN_TO_RENDER_IMPRESSIONS => 'AD_SERVER_BEGIN_TO_RENDER_IMPRESSIONS', + self::AD_SERVER_CLICKS => 'AD_SERVER_CLICKS', + self::AD_SERVER_COMPLETED_VIEWS => 'AD_SERVER_COMPLETED_VIEWS', + self::AD_SERVER_COVIEWED_IMPRESSIONS => 'AD_SERVER_COVIEWED_IMPRESSIONS', + self::AD_SERVER_CPD_REVENUE => 'AD_SERVER_CPD_REVENUE', + self::AD_SERVER_CTR => 'AD_SERVER_CTR', + self::AD_SERVER_GROSS_REVENUE => 'AD_SERVER_GROSS_REVENUE', + self::AD_SERVER_GROSS_REVENUE_WITHOUT_CPD => 'AD_SERVER_GROSS_REVENUE_WITHOUT_CPD', + self::AD_SERVER_IMPRESSIONS => 'AD_SERVER_IMPRESSIONS', + self::AD_SERVER_IMPRESSIONS_WITH_COMPANION => 'AD_SERVER_IMPRESSIONS_WITH_COMPANION', + self::AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS => 'AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS', + self::AD_SERVER_OPPORTUNITIES_FROM_ERRORS => 'AD_SERVER_OPPORTUNITIES_FROM_ERRORS', + self::AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS => 'AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS', + self::AD_SERVER_PERCENT_CLICKS => 'AD_SERVER_PERCENT_CLICKS', + self::AD_SERVER_PERCENT_IMPRESSIONS => 'AD_SERVER_PERCENT_IMPRESSIONS', + self::AD_SERVER_PERCENT_REVENUE => 'AD_SERVER_PERCENT_REVENUE', + self::AD_SERVER_PERCENT_REVENUE_WITHOUT_CPD => 'AD_SERVER_PERCENT_REVENUE_WITHOUT_CPD', + self::AD_SERVER_RESPONSES_SERVED => 'AD_SERVER_RESPONSES_SERVED', + self::AD_SERVER_REVENUE => 'AD_SERVER_REVENUE', + self::AD_SERVER_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT => 'AD_SERVER_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT', + self::AD_SERVER_REVENUE_WITHOUT_CPD => 'AD_SERVER_REVENUE_WITHOUT_CPD', + self::AD_SERVER_TARGETED_CLICKS => 'AD_SERVER_TARGETED_CLICKS', + self::AD_SERVER_TARGETED_IMPRESSIONS => 'AD_SERVER_TARGETED_IMPRESSIONS', + self::AD_SERVER_TRACKED_ADS => 'AD_SERVER_TRACKED_ADS', + self::AD_SERVER_UNFILTERED_BEGIN_TO_RENDER_IMPRESSIONS => 'AD_SERVER_UNFILTERED_BEGIN_TO_RENDER_IMPRESSIONS', + self::AD_SERVER_UNFILTERED_CLICKS => 'AD_SERVER_UNFILTERED_CLICKS', + self::AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS => 'AD_SERVER_UNFILTERED_DOWNLOADED_IMPRESSIONS', + self::AD_SERVER_UNFILTERED_IMPRESSIONS => 'AD_SERVER_UNFILTERED_IMPRESSIONS', + self::AD_SERVER_UNFILTERED_TRACKED_ADS => 'AD_SERVER_UNFILTERED_TRACKED_ADS', + self::AD_UNIT_EXPOSURE_SECONDS => 'AD_UNIT_EXPOSURE_SECONDS', + self::AD_VIEWERS => 'AD_VIEWERS', + self::ATN_ADS_FAILED_TO_RENDER => 'ATN_ADS_FAILED_TO_RENDER', + self::ATN_ELIGIBLE_LINE_ITEMS => 'ATN_ELIGIBLE_LINE_ITEMS', + self::ATN_ELIGIBLE_LINE_ITEMS_AD_REQUESTS => 'ATN_ELIGIBLE_LINE_ITEMS_AD_REQUESTS', + self::ATN_HBT_ALLOWED_AD_REQUESTS => 'ATN_HBT_ALLOWED_AD_REQUESTS', + self::ATN_HBT_BIDS_IN_AUCTION => 'ATN_HBT_BIDS_IN_AUCTION', + self::ATN_HBT_BIDS_IN_AUCTION_AD_REQUESTS => 'ATN_HBT_BIDS_IN_AUCTION_AD_REQUESTS', + self::ATN_HBT_CANDIDATE_BIDS => 'ATN_HBT_CANDIDATE_BIDS', + self::ATN_HBT_INVALID_AD_REQUESTS => 'ATN_HBT_INVALID_AD_REQUESTS', + self::ATN_HBT_NO_BIDS_AD_REQUESTS => 'ATN_HBT_NO_BIDS_AD_REQUESTS', + self::ATN_HBT_REJECTED_BIDS => 'ATN_HBT_REJECTED_BIDS', + self::ATN_HBT_VALID_AD_REQUESTS => 'ATN_HBT_VALID_AD_REQUESTS', + self::ATN_HBT_WITH_BIDS_AD_REQUESTS => 'ATN_HBT_WITH_BIDS_AD_REQUESTS', + self::ATN_INVALID_AD_REQUESTS => 'ATN_INVALID_AD_REQUESTS', + self::ATN_LINE_ITEMS_CREATIVE_NOT_RETRIEVED => 'ATN_LINE_ITEMS_CREATIVE_NOT_RETRIEVED', + self::ATN_LINE_ITEMS_IN_AUCTION => 'ATN_LINE_ITEMS_IN_AUCTION', + self::ATN_LINE_ITEMS_NOT_COMPETING => 'ATN_LINE_ITEMS_NOT_COMPETING', + self::ATN_LINE_ITEMS_NOT_SELECTED => 'ATN_LINE_ITEMS_NOT_SELECTED', + self::ATN_LINE_ITEM_IN_AUCTION_AD_REQUESTS => 'ATN_LINE_ITEM_IN_AUCTION_AD_REQUESTS', + self::ATN_LINE_ITEM_TARGETED_AD_REQUESTS => 'ATN_LINE_ITEM_TARGETED_AD_REQUESTS', + self::ATN_MEDIATION_ALLOWED_AD_REQUESTS => 'ATN_MEDIATION_ALLOWED_AD_REQUESTS', + self::ATN_MEDIATION_INVALID_AD_REQUESTS => 'ATN_MEDIATION_INVALID_AD_REQUESTS', + self::ATN_MEDIATION_LOADED_ADS_FROM_CHAINS => 'ATN_MEDIATION_LOADED_ADS_FROM_CHAINS', + self::ATN_MEDIATION_NO_PARTNER_AD_REQUESTS => 'ATN_MEDIATION_NO_PARTNER_AD_REQUESTS', + self::ATN_MEDIATION_PARTNERS_IN_AUCTION => 'ATN_MEDIATION_PARTNERS_IN_AUCTION', + self::ATN_MEDIATION_PARTNERS_IN_AUCTION_AD_REQUESTS => 'ATN_MEDIATION_PARTNERS_IN_AUCTION_AD_REQUESTS', + self::ATN_MEDIATION_REJECTED_PARTNERS => 'ATN_MEDIATION_REJECTED_PARTNERS', + self::ATN_MEDIATION_TARGETED_PARTNERS => 'ATN_MEDIATION_TARGETED_PARTNERS', + self::ATN_MEDIATION_TOTAL_ADS_IN_CHAINS => 'ATN_MEDIATION_TOTAL_ADS_IN_CHAINS', + self::ATN_MEDIATION_UNLOADED_ADS_FROM_CHAINS => 'ATN_MEDIATION_UNLOADED_ADS_FROM_CHAINS', + self::ATN_MEDIATION_UNUSED_BIDS_OR_PARTNERS => 'ATN_MEDIATION_UNUSED_BIDS_OR_PARTNERS', + self::ATN_MEDIATION_VALID_AD_REQUESTS => 'ATN_MEDIATION_VALID_AD_REQUESTS', + self::ATN_MEDIATION_WITH_PARTNERS_AD_REQUESTS => 'ATN_MEDIATION_WITH_PARTNERS_AD_REQUESTS', + self::ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BIDS => 'ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BIDS', + self::ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BID_REQUESTS_SENT => 'ATN_PROGRAMMATIC_AD_REQUESTS_WITH_BID_REQUESTS_SENT', + self::ATN_PROGRAMMATIC_ALLOWED_AD_REQUESTS => 'ATN_PROGRAMMATIC_ALLOWED_AD_REQUESTS', + self::ATN_PROGRAMMATIC_BIDS_IN_AUCTION => 'ATN_PROGRAMMATIC_BIDS_IN_AUCTION', + self::ATN_PROGRAMMATIC_BID_IN_AUCTION_AD_REQUESTS => 'ATN_PROGRAMMATIC_BID_IN_AUCTION_AD_REQUESTS', + self::ATN_PROGRAMMATIC_BID_REQUESTS_SENT => 'ATN_PROGRAMMATIC_BID_REQUESTS_SENT', + self::ATN_PROGRAMMATIC_BID_REQUESTS_WITH_RESPONSE => 'ATN_PROGRAMMATIC_BID_REQUESTS_WITH_RESPONSE', + self::ATN_PROGRAMMATIC_BID_REQUEST_CANDIDATES => 'ATN_PROGRAMMATIC_BID_REQUEST_CANDIDATES', + self::ATN_PROGRAMMATIC_BID_REQUEST_ERRORS => 'ATN_PROGRAMMATIC_BID_REQUEST_ERRORS', + self::ATN_PROGRAMMATIC_INELIGIBLE_AD_REQUESTS => 'ATN_PROGRAMMATIC_INELIGIBLE_AD_REQUESTS', + self::ATN_PROGRAMMATIC_REJECTED_BIDS => 'ATN_PROGRAMMATIC_REJECTED_BIDS', + self::ATN_PROGRAMMATIC_SKIPPED_BID_REQUESTS => 'ATN_PROGRAMMATIC_SKIPPED_BID_REQUESTS', + self::ATN_PROGRAMMATIC_TOTAL_BIDS => 'ATN_PROGRAMMATIC_TOTAL_BIDS', + self::ATN_PROGRAMMATIC_VALID_AD_REQUESTS => 'ATN_PROGRAMMATIC_VALID_AD_REQUESTS', + self::ATN_REJECTED_LINE_ITEMS => 'ATN_REJECTED_LINE_ITEMS', + self::ATN_SERVED_MEDIATION_CHAINS => 'ATN_SERVED_MEDIATION_CHAINS', + self::ATN_SERVED_SINGLE_ADS => 'ATN_SERVED_SINGLE_ADS', + self::ATN_TARGETED_LINE_ITEMS => 'ATN_TARGETED_LINE_ITEMS', + self::ATN_TOTAL_AD_REQUESTS => 'ATN_TOTAL_AD_REQUESTS', + self::ATN_TOTAL_LOADED_ADS => 'ATN_TOTAL_LOADED_ADS', + self::ATN_VALID_AD_REQUESTS => 'ATN_VALID_AD_REQUESTS', + self::ATN_YIELD_GROUP_MEDIATION_PASSBACKS => 'ATN_YIELD_GROUP_MEDIATION_PASSBACKS', + self::AUDIENCE_SEGMENT_COST => 'AUDIENCE_SEGMENT_COST', + self::AVERAGE_ECPM => 'AVERAGE_ECPM', + self::AVERAGE_ECPM_WITHOUT_CPD => 'AVERAGE_ECPM_WITHOUT_CPD', + self::AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION => 'AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION', + self::AVERAGE_ENGAGEMENT_SECONDS_PER_USER => 'AVERAGE_ENGAGEMENT_SECONDS_PER_USER', + self::AVERAGE_IMPRESSIONS_PER_UNIQUE_VISITOR => 'AVERAGE_IMPRESSIONS_PER_UNIQUE_VISITOR', + self::AVERAGE_PURCHASE_REVENUE_PER_PAYING_USER => 'AVERAGE_PURCHASE_REVENUE_PER_PAYING_USER', + self::AVERAGE_REVENUE_PER_USER => 'AVERAGE_REVENUE_PER_USER', + self::AVERAGE_SESSION_SECONDS => 'AVERAGE_SESSION_SECONDS', + self::BIDS => 'BIDS', + self::BID_AVERAGE_CPM => 'BID_AVERAGE_CPM', + self::BOUNCE_RATE => 'BOUNCE_RATE', + self::CLICKS => 'CLICKS', + self::CODE_SERVED_COUNT => 'CODE_SERVED_COUNT', + self::CPC_REVENUE => 'CPC_REVENUE', + self::CPM_REVENUE => 'CPM_REVENUE', + self::CREATIVE_LOAD_TIME_0_500_PERCENT => 'CREATIVE_LOAD_TIME_0_500_PERCENT', + self::CREATIVE_LOAD_TIME_1000_2000_PERCENT => 'CREATIVE_LOAD_TIME_1000_2000_PERCENT', + self::CREATIVE_LOAD_TIME_2000_4000_PERCENT => 'CREATIVE_LOAD_TIME_2000_4000_PERCENT', + self::CREATIVE_LOAD_TIME_4000_8000_PERCENT => 'CREATIVE_LOAD_TIME_4000_8000_PERCENT', + self::CREATIVE_LOAD_TIME_500_1000_PERCENT => 'CREATIVE_LOAD_TIME_500_1000_PERCENT', + self::CREATIVE_LOAD_TIME_GT_8000_PERCENT => 'CREATIVE_LOAD_TIME_GT_8000_PERCENT', + self::CTR => 'CTR', + self::DEALS_BIDS => 'DEALS_BIDS', + self::DEALS_BID_RATE => 'DEALS_BID_RATE', + self::DEALS_BID_REQUESTS => 'DEALS_BID_REQUESTS', + self::DEALS_WINNING_BIDS => 'DEALS_WINNING_BIDS', + self::DEALS_WIN_RATE => 'DEALS_WIN_RATE', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT', + self::DOM_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT => 'DOM_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_0_500_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_0_500_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_1000_2000_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_1000_2000_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_2000_4000_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_2000_4000_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_4000_8000_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_4000_8000_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_500_1000_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_500_1000_PERCENT', + self::DOM_LOAD_TO_TAG_LOAD_TIME_GT_8000_PERCENT => 'DOM_LOAD_TO_TAG_LOAD_TIME_GT_8000_PERCENT', + self::DROPOFF_RATE => 'DROPOFF_RATE', + self::ENGAGED_SESSIONS => 'ENGAGED_SESSIONS', + self::ENGAGED_SESSIONS_PER_USER => 'ENGAGED_SESSIONS_PER_USER', + self::ENGAGEMENT_RATE => 'ENGAGEMENT_RATE', + self::EUROPEAN_REGULATIONS_CONSENT_RATE => 'EUROPEAN_REGULATIONS_CONSENT_RATE', + self::EUROPEAN_REGULATIONS_CUSTOM_CONSENT_RATE => 'EUROPEAN_REGULATIONS_CUSTOM_CONSENT_RATE', + self::EUROPEAN_REGULATIONS_MESSAGES_SHOWN => 'EUROPEAN_REGULATIONS_MESSAGES_SHOWN', + self::EUROPEAN_REGULATIONS_NO_CONSENT_RATE => 'EUROPEAN_REGULATIONS_NO_CONSENT_RATE', + self::FILL_RATE => 'FILL_RATE', + self::GOOGLE_ANALYTICS_CLICKS => 'GOOGLE_ANALYTICS_CLICKS', + self::GOOGLE_ANALYTICS_CTR => 'GOOGLE_ANALYTICS_CTR', + self::GOOGLE_ANALYTICS_ECPM => 'GOOGLE_ANALYTICS_ECPM', + self::GOOGLE_ANALYTICS_IMPRESSIONS => 'GOOGLE_ANALYTICS_IMPRESSIONS', + self::GOOGLE_ANALYTICS_REVENUE => 'GOOGLE_ANALYTICS_REVENUE', + self::GOOGLE_ANALYTICS_VIEWS => 'GOOGLE_ANALYTICS_VIEWS', + self::GOOGLE_ANALYTICS_VIEWS_PER_USER => 'GOOGLE_ANALYTICS_VIEWS_PER_USER', + self::GOOGLE_SOLD_AUCTION_COVIEWED_IMPRESSIONS => 'GOOGLE_SOLD_AUCTION_COVIEWED_IMPRESSIONS', + self::GOOGLE_SOLD_AUCTION_IMPRESSIONS => 'GOOGLE_SOLD_AUCTION_IMPRESSIONS', + self::GOOGLE_SOLD_COVIEWED_IMPRESSIONS => 'GOOGLE_SOLD_COVIEWED_IMPRESSIONS', + self::GOOGLE_SOLD_IMPRESSIONS => 'GOOGLE_SOLD_IMPRESSIONS', + self::GOOGLE_SOLD_RESERVATION_COVIEWED_IMPRESSIONS => 'GOOGLE_SOLD_RESERVATION_COVIEWED_IMPRESSIONS', + self::GOOGLE_SOLD_RESERVATION_IMPRESSIONS => 'GOOGLE_SOLD_RESERVATION_IMPRESSIONS', + self::IMPRESSIONS => 'IMPRESSIONS', + self::INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS => 'INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS', + self::INVENTORY_SHARES => 'INVENTORY_SHARES', + self::INVENTORY_SHARE_PARTNER_UNFILLED_OPPORTUNITIES => 'INVENTORY_SHARE_PARTNER_UNFILLED_OPPORTUNITIES', + self::INVOICED_IMPRESSIONS => 'INVOICED_IMPRESSIONS', + self::INVOICED_UNFILLED_IMPRESSIONS => 'INVOICED_UNFILLED_IMPRESSIONS', + self::MEDIATION_CHAINS_FILLED => 'MEDIATION_CHAINS_FILLED', + self::MUTED_IMPRESSIONS => 'MUTED_IMPRESSIONS', + self::MUTE_ELIGIBLE_IMPRESSIONS => 'MUTE_ELIGIBLE_IMPRESSIONS', + self::NIELSEN_AUDIENCE_INDEX => 'NIELSEN_AUDIENCE_INDEX', + self::NIELSEN_AVERAGE_FREQUENCY => 'NIELSEN_AVERAGE_FREQUENCY', + self::NIELSEN_AVERAGE_NUMBER_OF_VIEWERS => 'NIELSEN_AVERAGE_NUMBER_OF_VIEWERS', + self::NIELSEN_GROSS_RATING_POINTS => 'NIELSEN_GROSS_RATING_POINTS', + self::NIELSEN_IMPRESSIONS => 'NIELSEN_IMPRESSIONS', + self::NIELSEN_IMPRESSIONS_INDEX => 'NIELSEN_IMPRESSIONS_INDEX', + self::NIELSEN_IN_TARGET_RATIO => 'NIELSEN_IN_TARGET_RATIO', + self::NIELSEN_PERCENT_AUDIENCE_REACH => 'NIELSEN_PERCENT_AUDIENCE_REACH', + self::NIELSEN_PERCENT_AUDIENCE_SHARE => 'NIELSEN_PERCENT_AUDIENCE_SHARE', + self::NIELSEN_PERCENT_IMPRESSIONS_SHARE => 'NIELSEN_PERCENT_IMPRESSIONS_SHARE', + self::NIELSEN_PERCENT_POPULATION_SHARE => 'NIELSEN_PERCENT_POPULATION_SHARE', + self::NIELSEN_POPULATION_BASE => 'NIELSEN_POPULATION_BASE', + self::NIELSEN_UNIQUE_AUDIENCE => 'NIELSEN_UNIQUE_AUDIENCE', + self::OFF_PROPERTY_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS => 'OFF_PROPERTY_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS', + self::OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS => 'OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS', + self::OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE => 'OFF_PROPERTY_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS_RATE', + self::OFF_PROPERTY_CLICKS => 'OFF_PROPERTY_CLICKS', + self::OFF_PROPERTY_CTR => 'OFF_PROPERTY_CTR', + self::OFF_PROPERTY_IMPRESSIONS => 'OFF_PROPERTY_IMPRESSIONS', + self::OFF_PROPERTY_REVENUE => 'OFF_PROPERTY_REVENUE', + self::OFF_PROPERTY_SPEND => 'OFF_PROPERTY_SPEND', + self::OFF_PROPERTY_SPEND_ECPM => 'OFF_PROPERTY_SPEND_ECPM', + self::ON_PLATFORM_MULTIPLE_CALL_ECPM => 'ON_PLATFORM_MULTIPLE_CALL_ECPM', + self::ON_PLATFORM_MULTIPLE_CALL_IMPRESSIONS => 'ON_PLATFORM_MULTIPLE_CALL_IMPRESSIONS', + self::ON_PLATFORM_MULTIPLE_CALL_REVENUE => 'ON_PLATFORM_MULTIPLE_CALL_REVENUE', + self::OPPORTUNITIES => 'OPPORTUNITIES', + self::OVERDELIVERED_IMPRESSIONS => 'OVERDELIVERED_IMPRESSIONS', + self::PARTNER_FINANCE_GROSS_REVENUE => 'PARTNER_FINANCE_GROSS_REVENUE', + self::PARTNER_FINANCE_HOST_ECPM => 'PARTNER_FINANCE_HOST_ECPM', + self::PARTNER_FINANCE_HOST_IMPRESSIONS => 'PARTNER_FINANCE_HOST_IMPRESSIONS', + self::PARTNER_FINANCE_HOST_REVENUE => 'PARTNER_FINANCE_HOST_REVENUE', + self::PARTNER_FINANCE_PARTNER_ECPM => 'PARTNER_FINANCE_PARTNER_ECPM', + self::PARTNER_FINANCE_PARTNER_REVENUE => 'PARTNER_FINANCE_PARTNER_REVENUE', + self::PARTNER_MANAGEMENT_GROSS_REVENUE => 'PARTNER_MANAGEMENT_GROSS_REVENUE', + self::PARTNER_MANAGEMENT_HOST_CLICKS => 'PARTNER_MANAGEMENT_HOST_CLICKS', + self::PARTNER_MANAGEMENT_HOST_CTR => 'PARTNER_MANAGEMENT_HOST_CTR', + self::PARTNER_MANAGEMENT_HOST_IMPRESSIONS => 'PARTNER_MANAGEMENT_HOST_IMPRESSIONS', + self::PARTNER_MANAGEMENT_PARTNER_CLICKS => 'PARTNER_MANAGEMENT_PARTNER_CLICKS', + self::PARTNER_MANAGEMENT_PARTNER_CTR => 'PARTNER_MANAGEMENT_PARTNER_CTR', + self::PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS => 'PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS', + self::PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS => 'PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS', + self::PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS => 'PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS', + self::PARTNER_SALES_FILLED_POD_REQUESTS => 'PARTNER_SALES_FILLED_POD_REQUESTS', + self::PARTNER_SALES_FILL_RATE => 'PARTNER_SALES_FILL_RATE', + self::PARTNER_SALES_PARTNER_MATCH_RATE => 'PARTNER_SALES_PARTNER_MATCH_RATE', + self::PARTNER_SALES_QUERIES => 'PARTNER_SALES_QUERIES', + self::PARTNER_SALES_UNFILLED_IMPRESSIONS => 'PARTNER_SALES_UNFILLED_IMPRESSIONS', + self::PARTNER_SALES_UNMATCHED_QUERIES => 'PARTNER_SALES_UNMATCHED_QUERIES', + self::PARTNER_SOLD_CODE_SERVED => 'PARTNER_SOLD_CODE_SERVED', + self::PARTNER_SOLD_COVIEWED_IMPRESSIONS => 'PARTNER_SOLD_COVIEWED_IMPRESSIONS', + self::PARTNER_SOLD_IMPRESSIONS => 'PARTNER_SOLD_IMPRESSIONS', + self::PROGRAMMATIC_ELIGIBLE_AD_REQUESTS => 'PROGRAMMATIC_ELIGIBLE_AD_REQUESTS', + self::PROGRAMMATIC_MATCH_RATE => 'PROGRAMMATIC_MATCH_RATE', + self::PROGRAMMATIC_RESPONSES_SERVED => 'PROGRAMMATIC_RESPONSES_SERVED', + self::REACH_IMPRESSIONS => 'REACH_IMPRESSIONS', + self::RESPONSES_SERVED => 'RESPONSES_SERVED', + self::RETENTION => 'RETENTION', + self::REVENUE => 'REVENUE', + self::REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT => 'REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT', + self::REVENUE_VERIFICATION_CPD_REVENUE => 'REVENUE_VERIFICATION_CPD_REVENUE', + self::REVENUE_VERIFICATION_GROSS_CPD_REVENUE => 'REVENUE_VERIFICATION_GROSS_CPD_REVENUE', + self::REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD => 'REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD', + self::REVENUE_VERIFICATION_IMPRESSIONS => 'REVENUE_VERIFICATION_IMPRESSIONS', + self::REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD => 'REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD', + self::REVENUE_WITHOUT_CPD => 'REVENUE_WITHOUT_CPD', + self::REWARDS_GRANTED => 'REWARDS_GRANTED', + self::RICH_MEDIA_AVERAGE_DISPLAY_TIME => 'RICH_MEDIA_AVERAGE_DISPLAY_TIME', + self::RICH_MEDIA_AVERAGE_INTERACTION_TIME => 'RICH_MEDIA_AVERAGE_INTERACTION_TIME', + self::RICH_MEDIA_BACKUP_IMAGES => 'RICH_MEDIA_BACKUP_IMAGES', + self::RICH_MEDIA_CUSTOM_EVENT_COUNT => 'RICH_MEDIA_CUSTOM_EVENT_COUNT', + self::RICH_MEDIA_CUSTOM_EVENT_TIME => 'RICH_MEDIA_CUSTOM_EVENT_TIME', + self::RICH_MEDIA_DISPLAY_TIME => 'RICH_MEDIA_DISPLAY_TIME', + self::RICH_MEDIA_EXPANDING_TIME => 'RICH_MEDIA_EXPANDING_TIME', + self::RICH_MEDIA_EXPANSIONS => 'RICH_MEDIA_EXPANSIONS', + self::RICH_MEDIA_FULL_SCREEN_IMPRESSIONS => 'RICH_MEDIA_FULL_SCREEN_IMPRESSIONS', + self::RICH_MEDIA_INTERACTION_COUNT => 'RICH_MEDIA_INTERACTION_COUNT', + self::RICH_MEDIA_INTERACTION_RATE => 'RICH_MEDIA_INTERACTION_RATE', + self::RICH_MEDIA_INTERACTION_TIME => 'RICH_MEDIA_INTERACTION_TIME', + self::RICH_MEDIA_INTERACTIVE_IMPRESSIONS => 'RICH_MEDIA_INTERACTIVE_IMPRESSIONS', + self::RICH_MEDIA_MANUAL_CLOSES => 'RICH_MEDIA_MANUAL_CLOSES', + self::RICH_MEDIA_VIDEO_COMPLETES => 'RICH_MEDIA_VIDEO_COMPLETES', + self::RICH_MEDIA_VIDEO_INTERACTIONS => 'RICH_MEDIA_VIDEO_INTERACTIONS', + self::RICH_MEDIA_VIDEO_INTERACTION_RATE => 'RICH_MEDIA_VIDEO_INTERACTION_RATE', + self::RICH_MEDIA_VIDEO_MIDPOINTS => 'RICH_MEDIA_VIDEO_MIDPOINTS', + self::RICH_MEDIA_VIDEO_MUTES => 'RICH_MEDIA_VIDEO_MUTES', + self::RICH_MEDIA_VIDEO_PAUSES => 'RICH_MEDIA_VIDEO_PAUSES', + self::RICH_MEDIA_VIDEO_PLAYS => 'RICH_MEDIA_VIDEO_PLAYS', + self::RICH_MEDIA_VIDEO_REPLAYS => 'RICH_MEDIA_VIDEO_REPLAYS', + self::RICH_MEDIA_VIDEO_STOPS => 'RICH_MEDIA_VIDEO_STOPS', + self::RICH_MEDIA_VIDEO_UNMUTES => 'RICH_MEDIA_VIDEO_UNMUTES', + self::RICH_MEDIA_VIDEO_VIEW_RATE => 'RICH_MEDIA_VIDEO_VIEW_RATE', + self::RICH_MEDIA_VIDEO_VIEW_TIME => 'RICH_MEDIA_VIDEO_VIEW_TIME', + self::SELL_THROUGH_AVAILABLE_IMPRESSIONS => 'SELL_THROUGH_AVAILABLE_IMPRESSIONS', + self::SELL_THROUGH_FORECASTED_IMPRESSIONS => 'SELL_THROUGH_FORECASTED_IMPRESSIONS', + self::SELL_THROUGH_RESERVED_IMPRESSIONS => 'SELL_THROUGH_RESERVED_IMPRESSIONS', + self::SELL_THROUGH_SELL_THROUGH_RATE => 'SELL_THROUGH_SELL_THROUGH_RATE', + self::SERVER_SIDE_UNWRAPPING_AVERAGE_LATENCY_MS => 'SERVER_SIDE_UNWRAPPING_AVERAGE_LATENCY_MS', + self::SERVER_SIDE_UNWRAPPING_CALLOUTS => 'SERVER_SIDE_UNWRAPPING_CALLOUTS', + self::SERVER_SIDE_UNWRAPPING_EMPTY_RESPONSES => 'SERVER_SIDE_UNWRAPPING_EMPTY_RESPONSES', + self::SERVER_SIDE_UNWRAPPING_ERROR_RESPONSES => 'SERVER_SIDE_UNWRAPPING_ERROR_RESPONSES', + self::SERVER_SIDE_UNWRAPPING_SUCCESSFUL_RESPONSES => 'SERVER_SIDE_UNWRAPPING_SUCCESSFUL_RESPONSES', + self::SERVER_SIDE_UNWRAPPING_TIMEOUTS => 'SERVER_SIDE_UNWRAPPING_TIMEOUTS', + self::SESSIONS => 'SESSIONS', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_0_500_PERCENT', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_1000_2000_PERCENT', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_2000_4000_PERCENT', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_4000_8000_PERCENT', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_500_1000_PERCENT', + self::TAG_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT => 'TAG_LOAD_TO_FIRST_AD_REQUEST_GT_8000_PERCENT', + self::TARGETED_CLICKS => 'TARGETED_CLICKS', + self::TARGETED_IMPRESSIONS => 'TARGETED_IMPRESSIONS', + self::UNFILLED_IMPRESSIONS => 'UNFILLED_IMPRESSIONS', + self::UNIQUE_VISITORS => 'UNIQUE_VISITORS', + self::UNLOADED_IMPRESSIONS_DUE_TO_CPU => 'UNLOADED_IMPRESSIONS_DUE_TO_CPU', + self::UNLOADED_IMPRESSIONS_DUE_TO_NETWORK => 'UNLOADED_IMPRESSIONS_DUE_TO_NETWORK', + self::UNMATCHED_AD_REQUESTS => 'UNMATCHED_AD_REQUESTS', + self::UNVIEWED_REASON_OTHER_PERCENT => 'UNVIEWED_REASON_OTHER_PERCENT', + self::UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT => 'UNVIEWED_REASON_SLOT_NEVER_ENTERED_VIEWPORT_PERCENT', + self::UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT => 'UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_FILLED_PERCENT', + self::UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT => 'UNVIEWED_REASON_USER_SCROLLED_BEFORE_AD_LOADED_PERCENT', + self::UNVIEWED_REASON_USER_SCROLLED_BEFORE_ONE_SECOND_PERCENT => 'UNVIEWED_REASON_USER_SCROLLED_BEFORE_ONE_SECOND_PERCENT', + self::USER_ENGAGEMENT_DURATION_IN_SECONDS => 'USER_ENGAGEMENT_DURATION_IN_SECONDS', + self::USER_MESSAGES_AD_BLOCKING_EXTENSION_RATE => 'USER_MESSAGES_AD_BLOCKING_EXTENSION_RATE', + self::USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT => 'USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT', + self::USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN => 'USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN', + self::USER_MESSAGES_ALLOW_ADS_PAGEVIEWS => 'USER_MESSAGES_ALLOW_ADS_PAGEVIEWS', + self::USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN => 'USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN', + self::USER_MESSAGES_IDFA_ATT_CONSENT => 'USER_MESSAGES_IDFA_ATT_CONSENT', + self::USER_MESSAGES_IDFA_ATT_CONSENT_RATE => 'USER_MESSAGES_IDFA_ATT_CONSENT_RATE', + self::USER_MESSAGES_IDFA_ATT_DECLINE_CONSENT => 'USER_MESSAGES_IDFA_ATT_DECLINE_CONSENT', + self::USER_MESSAGES_IDFA_ATT_DECLINE_RATE => 'USER_MESSAGES_IDFA_ATT_DECLINE_RATE', + self::USER_MESSAGES_IDFA_EXPLAINERS_SHOWN => 'USER_MESSAGES_IDFA_EXPLAINERS_SHOWN', + self::USER_MESSAGES_IDFA_IAB_MESSAGES_SHOWN => 'USER_MESSAGES_IDFA_IAB_MESSAGES_SHOWN', + self::USER_MESSAGES_IDFA_NO_DECISION => 'USER_MESSAGES_IDFA_NO_DECISION', + self::USER_MESSAGES_OFFERWALL_MESSAGES_SHOWN => 'USER_MESSAGES_OFFERWALL_MESSAGES_SHOWN', + self::USER_MESSAGES_OFFERWALL_SUCCESSFUL_ENGAGEMENTS => 'USER_MESSAGES_OFFERWALL_SUCCESSFUL_ENGAGEMENTS', + self::USER_MESSAGES_POST_OFFERWALL_PAGEVIEWS => 'USER_MESSAGES_POST_OFFERWALL_PAGEVIEWS', + self::USER_MESSAGES_TOTAL_ESTIMATED_REVENUE => 'USER_MESSAGES_TOTAL_ESTIMATED_REVENUE', + self::USER_MESSAGES_UPTC_MESSAGES_SHOWN => 'USER_MESSAGES_UPTC_MESSAGES_SHOWN', + self::USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO => 'USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO', + self::USER_MESSAGES_US_STATES_MESSAGES_SHOWN => 'USER_MESSAGES_US_STATES_MESSAGES_SHOWN', + self::USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS => 'USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS', + self::VIDEO_ERROR_100_COUNT => 'VIDEO_ERROR_100_COUNT', + self::VIDEO_ERROR_101_COUNT => 'VIDEO_ERROR_101_COUNT', + self::VIDEO_ERROR_102_COUNT => 'VIDEO_ERROR_102_COUNT', + self::VIDEO_ERROR_200_COUNT => 'VIDEO_ERROR_200_COUNT', + self::VIDEO_ERROR_201_COUNT => 'VIDEO_ERROR_201_COUNT', + self::VIDEO_ERROR_202_COUNT => 'VIDEO_ERROR_202_COUNT', + self::VIDEO_ERROR_203_COUNT => 'VIDEO_ERROR_203_COUNT', + self::VIDEO_ERROR_300_COUNT => 'VIDEO_ERROR_300_COUNT', + self::VIDEO_ERROR_301_COUNT => 'VIDEO_ERROR_301_COUNT', + self::VIDEO_ERROR_302_COUNT => 'VIDEO_ERROR_302_COUNT', + self::VIDEO_ERROR_303_COUNT => 'VIDEO_ERROR_303_COUNT', + self::VIDEO_ERROR_400_COUNT => 'VIDEO_ERROR_400_COUNT', + self::VIDEO_ERROR_401_COUNT => 'VIDEO_ERROR_401_COUNT', + self::VIDEO_ERROR_402_COUNT => 'VIDEO_ERROR_402_COUNT', + self::VIDEO_ERROR_403_COUNT => 'VIDEO_ERROR_403_COUNT', + self::VIDEO_ERROR_405_COUNT => 'VIDEO_ERROR_405_COUNT', + self::VIDEO_ERROR_406_COUNT => 'VIDEO_ERROR_406_COUNT', + self::VIDEO_ERROR_407_COUNT => 'VIDEO_ERROR_407_COUNT', + self::VIDEO_ERROR_408_COUNT => 'VIDEO_ERROR_408_COUNT', + self::VIDEO_ERROR_409_COUNT => 'VIDEO_ERROR_409_COUNT', + self::VIDEO_ERROR_410_COUNT => 'VIDEO_ERROR_410_COUNT', + self::VIDEO_ERROR_500_COUNT => 'VIDEO_ERROR_500_COUNT', + self::VIDEO_ERROR_501_COUNT => 'VIDEO_ERROR_501_COUNT', + self::VIDEO_ERROR_502_COUNT => 'VIDEO_ERROR_502_COUNT', + self::VIDEO_ERROR_503_COUNT => 'VIDEO_ERROR_503_COUNT', + self::VIDEO_ERROR_600_COUNT => 'VIDEO_ERROR_600_COUNT', + self::VIDEO_ERROR_601_COUNT => 'VIDEO_ERROR_601_COUNT', + self::VIDEO_ERROR_602_COUNT => 'VIDEO_ERROR_602_COUNT', + self::VIDEO_ERROR_603_COUNT => 'VIDEO_ERROR_603_COUNT', + self::VIDEO_ERROR_604_COUNT => 'VIDEO_ERROR_604_COUNT', + self::VIDEO_ERROR_900_COUNT => 'VIDEO_ERROR_900_COUNT', + self::VIDEO_ERROR_901_COUNT => 'VIDEO_ERROR_901_COUNT', + self::VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE => 'VIDEO_INTERACTION_AVERAGE_INTERACTION_RATE', + self::VIDEO_INTERACTION_COLLAPSES => 'VIDEO_INTERACTION_COLLAPSES', + self::VIDEO_INTERACTION_EXPANDS => 'VIDEO_INTERACTION_EXPANDS', + self::VIDEO_INTERACTION_FULL_SCREENS => 'VIDEO_INTERACTION_FULL_SCREENS', + self::VIDEO_INTERACTION_MUTES => 'VIDEO_INTERACTION_MUTES', + self::VIDEO_INTERACTION_PAUSES => 'VIDEO_INTERACTION_PAUSES', + self::VIDEO_INTERACTION_RESUMES => 'VIDEO_INTERACTION_RESUMES', + self::VIDEO_INTERACTION_REWINDS => 'VIDEO_INTERACTION_REWINDS', + self::VIDEO_INTERACTION_UNMUTES => 'VIDEO_INTERACTION_UNMUTES', + self::VIDEO_INTERACTION_VIDEO_SKIPS => 'VIDEO_INTERACTION_VIDEO_SKIPS', + self::VIDEO_MONETIZABLE_CONTENT_VIEWS => 'VIDEO_MONETIZABLE_CONTENT_VIEWS', + self::VIDEO_REAL_TIME_CREATIVE_SERVES => 'VIDEO_REAL_TIME_CREATIVE_SERVES', + self::VIDEO_REAL_TIME_ERROR_100_COUNT => 'VIDEO_REAL_TIME_ERROR_100_COUNT', + self::VIDEO_REAL_TIME_ERROR_101_COUNT => 'VIDEO_REAL_TIME_ERROR_101_COUNT', + self::VIDEO_REAL_TIME_ERROR_102_COUNT => 'VIDEO_REAL_TIME_ERROR_102_COUNT', + self::VIDEO_REAL_TIME_ERROR_200_COUNT => 'VIDEO_REAL_TIME_ERROR_200_COUNT', + self::VIDEO_REAL_TIME_ERROR_201_COUNT => 'VIDEO_REAL_TIME_ERROR_201_COUNT', + self::VIDEO_REAL_TIME_ERROR_202_COUNT => 'VIDEO_REAL_TIME_ERROR_202_COUNT', + self::VIDEO_REAL_TIME_ERROR_203_COUNT => 'VIDEO_REAL_TIME_ERROR_203_COUNT', + self::VIDEO_REAL_TIME_ERROR_300_COUNT => 'VIDEO_REAL_TIME_ERROR_300_COUNT', + self::VIDEO_REAL_TIME_ERROR_301_COUNT => 'VIDEO_REAL_TIME_ERROR_301_COUNT', + self::VIDEO_REAL_TIME_ERROR_302_COUNT => 'VIDEO_REAL_TIME_ERROR_302_COUNT', + self::VIDEO_REAL_TIME_ERROR_303_COUNT => 'VIDEO_REAL_TIME_ERROR_303_COUNT', + self::VIDEO_REAL_TIME_ERROR_400_COUNT => 'VIDEO_REAL_TIME_ERROR_400_COUNT', + self::VIDEO_REAL_TIME_ERROR_401_COUNT => 'VIDEO_REAL_TIME_ERROR_401_COUNT', + self::VIDEO_REAL_TIME_ERROR_402_COUNT => 'VIDEO_REAL_TIME_ERROR_402_COUNT', + self::VIDEO_REAL_TIME_ERROR_403_COUNT => 'VIDEO_REAL_TIME_ERROR_403_COUNT', + self::VIDEO_REAL_TIME_ERROR_405_COUNT => 'VIDEO_REAL_TIME_ERROR_405_COUNT', + self::VIDEO_REAL_TIME_ERROR_406_COUNT => 'VIDEO_REAL_TIME_ERROR_406_COUNT', + self::VIDEO_REAL_TIME_ERROR_407_COUNT => 'VIDEO_REAL_TIME_ERROR_407_COUNT', + self::VIDEO_REAL_TIME_ERROR_408_COUNT => 'VIDEO_REAL_TIME_ERROR_408_COUNT', + self::VIDEO_REAL_TIME_ERROR_409_COUNT => 'VIDEO_REAL_TIME_ERROR_409_COUNT', + self::VIDEO_REAL_TIME_ERROR_410_COUNT => 'VIDEO_REAL_TIME_ERROR_410_COUNT', + self::VIDEO_REAL_TIME_ERROR_500_COUNT => 'VIDEO_REAL_TIME_ERROR_500_COUNT', + self::VIDEO_REAL_TIME_ERROR_501_COUNT => 'VIDEO_REAL_TIME_ERROR_501_COUNT', + self::VIDEO_REAL_TIME_ERROR_502_COUNT => 'VIDEO_REAL_TIME_ERROR_502_COUNT', + self::VIDEO_REAL_TIME_ERROR_503_COUNT => 'VIDEO_REAL_TIME_ERROR_503_COUNT', + self::VIDEO_REAL_TIME_ERROR_600_COUNT => 'VIDEO_REAL_TIME_ERROR_600_COUNT', + self::VIDEO_REAL_TIME_ERROR_601_COUNT => 'VIDEO_REAL_TIME_ERROR_601_COUNT', + self::VIDEO_REAL_TIME_ERROR_602_COUNT => 'VIDEO_REAL_TIME_ERROR_602_COUNT', + self::VIDEO_REAL_TIME_ERROR_603_COUNT => 'VIDEO_REAL_TIME_ERROR_603_COUNT', + self::VIDEO_REAL_TIME_ERROR_604_COUNT => 'VIDEO_REAL_TIME_ERROR_604_COUNT', + self::VIDEO_REAL_TIME_ERROR_900_COUNT => 'VIDEO_REAL_TIME_ERROR_900_COUNT', + self::VIDEO_REAL_TIME_ERROR_901_COUNT => 'VIDEO_REAL_TIME_ERROR_901_COUNT', + self::VIDEO_REAL_TIME_IMPRESSIONS => 'VIDEO_REAL_TIME_IMPRESSIONS', + self::VIDEO_REAL_TIME_MATCHED_QUERIES => 'VIDEO_REAL_TIME_MATCHED_QUERIES', + self::VIDEO_REAL_TIME_TOTAL_ERROR_COUNT => 'VIDEO_REAL_TIME_TOTAL_ERROR_COUNT', + self::VIDEO_REAL_TIME_TOTAL_QUERIES => 'VIDEO_REAL_TIME_TOTAL_QUERIES', + self::VIDEO_REAL_TIME_UNMATCHED_QUERIES => 'VIDEO_REAL_TIME_UNMATCHED_QUERIES', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_SUBPOD => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_SUBPOD', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_SUBPOD => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_SUBPOD', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_SUBPOD => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_SUBPOD', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_SUBPOD => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_SUBPOD', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK', + self::VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_SUBPOD => 'VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_SUBPOD', + self::VIDEO_TRUE_VIEWS => 'VIDEO_TRUE_VIEWS', + self::VIDEO_TRUE_VIEW_SKIP_RATE => 'VIDEO_TRUE_VIEW_SKIP_RATE', + self::VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE => 'VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE', + self::VIDEO_VIEWERSHIP_AUTO_PLAYS => 'VIDEO_VIEWERSHIP_AUTO_PLAYS', + self::VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE => 'VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE', + self::VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME => 'VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME', + self::VIDEO_VIEWERSHIP_CLICK_TO_PLAYS => 'VIDEO_VIEWERSHIP_CLICK_TO_PLAYS', + self::VIDEO_VIEWERSHIP_COMPLETES => 'VIDEO_VIEWERSHIP_COMPLETES', + self::VIDEO_VIEWERSHIP_COMPLETION_RATE => 'VIDEO_VIEWERSHIP_COMPLETION_RATE', + self::VIDEO_VIEWERSHIP_ENGAGED_VIEWS => 'VIDEO_VIEWERSHIP_ENGAGED_VIEWS', + self::VIDEO_VIEWERSHIP_FIRST_QUARTILES => 'VIDEO_VIEWERSHIP_FIRST_QUARTILES', + self::VIDEO_VIEWERSHIP_MIDPOINTS => 'VIDEO_VIEWERSHIP_MIDPOINTS', + self::VIDEO_VIEWERSHIP_SKIP_BUTTONS_SHOWN => 'VIDEO_VIEWERSHIP_SKIP_BUTTONS_SHOWN', + self::VIDEO_VIEWERSHIP_STARTS => 'VIDEO_VIEWERSHIP_STARTS', + self::VIDEO_VIEWERSHIP_THIRD_QUARTILES => 'VIDEO_VIEWERSHIP_THIRD_QUARTILES', + self::VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT => 'VIDEO_VIEWERSHIP_TOTAL_ERROR_COUNT', + self::VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE => 'VIDEO_VIEWERSHIP_TOTAL_ERROR_RATE', + self::VIDEO_VIEWERSHIP_VIDEO_LENGTH => 'VIDEO_VIEWERSHIP_VIDEO_LENGTH', + self::VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE => 'VIDEO_VIEWERSHIP_VIEW_THROUGH_RATE', + self::YIELD_GROUP_AUCTIONS_WON => 'YIELD_GROUP_AUCTIONS_WON', + self::YIELD_GROUP_BIDS => 'YIELD_GROUP_BIDS', + self::YIELD_GROUP_BIDS_IN_AUCTION => 'YIELD_GROUP_BIDS_IN_AUCTION', + self::YIELD_GROUP_CALLOUTS => 'YIELD_GROUP_CALLOUTS', + self::YIELD_GROUP_ESTIMATED_CPM => 'YIELD_GROUP_ESTIMATED_CPM', + self::YIELD_GROUP_ESTIMATED_REVENUE => 'YIELD_GROUP_ESTIMATED_REVENUE', + self::YIELD_GROUP_IMPRESSIONS => 'YIELD_GROUP_IMPRESSIONS', + self::YIELD_GROUP_MEDIATION_FILL_RATE => 'YIELD_GROUP_MEDIATION_FILL_RATE', + self::YIELD_GROUP_MEDIATION_MATCHED_QUERIES => 'YIELD_GROUP_MEDIATION_MATCHED_QUERIES', + self::YIELD_GROUP_MEDIATION_PASSBACKS => 'YIELD_GROUP_MEDIATION_PASSBACKS', + self::YIELD_GROUP_MEDIATION_THIRD_PARTY_ECPM => 'YIELD_GROUP_MEDIATION_THIRD_PARTY_ECPM', + self::YIELD_GROUP_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT => 'YIELD_GROUP_REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT', + self::YIELD_GROUP_SUCCESSFUL_RESPONSES => 'YIELD_GROUP_SUCCESSFUL_RESPONSES', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/MetricValueType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/MetricValueType.php new file mode 100644 index 000000000000..57fa79716ecf --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/MetricValueType.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.ReportDefinition.MetricValueType + */ +class MetricValueType +{ + /** + * The values for the primary date_range. + * + * Generated from protobuf enum PRIMARY = 0; + */ + const PRIMARY = 0; + /** + * Each metrics' percent of the total for the primary date_range. + * + * Generated from protobuf enum PRIMARY_PERCENT_OF_TOTAL = 1; + */ + const PRIMARY_PERCENT_OF_TOTAL = 1; + /** + * The values for the comparison_date_range. + * + * Generated from protobuf enum COMPARISON = 2; + */ + const COMPARISON = 2; + /** + * Each metrics' percent of the total for the comparison_date_range. + * + * Generated from protobuf enum COMPARISON_PERCENT_OF_TOTAL = 3; + */ + const COMPARISON_PERCENT_OF_TOTAL = 3; + /** + * The absolute change between the primary and comparison date ranges. + * + * Generated from protobuf enum ABSOLUTE_CHANGE = 4; + */ + const ABSOLUTE_CHANGE = 4; + /** + * The relative change between the primary and comparison date ranges. + * + * Generated from protobuf enum RELATIVE_CHANGE = 5; + */ + const RELATIVE_CHANGE = 5; + + private static $valueToName = [ + self::PRIMARY => 'PRIMARY', + self::PRIMARY_PERCENT_OF_TOTAL => 'PRIMARY_PERCENT_OF_TOTAL', + self::COMPARISON => 'COMPARISON', + self::COMPARISON_PERCENT_OF_TOTAL => 'COMPARISON_PERCENT_OF_TOTAL', + self::ABSOLUTE_CHANGE => 'ABSOLUTE_CHANGE', + self::RELATIVE_CHANGE => 'RELATIVE_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/ReportType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/ReportType.php new file mode 100644 index 000000000000..2b46eb010d1c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/ReportType.php @@ -0,0 +1,131 @@ +google.ads.admanager.v1.ReportDefinition.ReportType + */ +class ReportType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum REPORT_TYPE_UNSPECIFIED = 0; + */ + const REPORT_TYPE_UNSPECIFIED = 0; + /** + * Historical. + * + * Generated from protobuf enum HISTORICAL = 1; + */ + const HISTORICAL = 1; + /** + * Future sell through. + * + * Generated from protobuf enum FUTURE_SELL_THROUGH = 4; + */ + const FUTURE_SELL_THROUGH = 4; + /** + * Reach. + * + * Generated from protobuf enum REACH = 5; + */ + const REACH = 5; + /** + * Privacy and messaging. + * + * Generated from protobuf enum PRIVACY_AND_MESSAGING = 6; + */ + const PRIVACY_AND_MESSAGING = 6; + /** + * Gross revenue. + * + * Generated from protobuf enum REVENUE_VERIFICATION = 7; + */ + const REVENUE_VERIFICATION = 7; + /** + * Partner finance. + * + * Generated from protobuf enum PARTNER_FINANCE = 8; + */ + const PARTNER_FINANCE = 8; + /** + * Ad speed. + * + * Generated from protobuf enum AD_SPEED = 13; + */ + const AD_SPEED = 13; + /** + * Real time video. + * + * Generated from protobuf enum REAL_TIME_VIDEO = 15; + */ + const REAL_TIME_VIDEO = 15; + /** + * Youtube consolidated. + * + * Generated from protobuf enum YOUTUBE_CONSOLIDATED = 16; + */ + const YOUTUBE_CONSOLIDATED = 16; + /** + * Ads traffic navigator report. + * + * Generated from protobuf enum ADS_TRAFFIC_NAVIGATOR = 21; + */ + const ADS_TRAFFIC_NAVIGATOR = 21; + /** + * Off property campaigns report. + * + * Generated from protobuf enum OFF_PROPERTY_CAMPAIGNS = 22; + */ + const OFF_PROPERTY_CAMPAIGNS = 22; + /** + * On platform multicall report. + * + * Generated from protobuf enum ON_PLATFORM_MULTICALL = 24; + */ + const ON_PLATFORM_MULTICALL = 24; + + private static $valueToName = [ + self::REPORT_TYPE_UNSPECIFIED => 'REPORT_TYPE_UNSPECIFIED', + self::HISTORICAL => 'HISTORICAL', + self::FUTURE_SELL_THROUGH => 'FUTURE_SELL_THROUGH', + self::REACH => 'REACH', + self::PRIVACY_AND_MESSAGING => 'PRIVACY_AND_MESSAGING', + self::REVENUE_VERIFICATION => 'REVENUE_VERIFICATION', + self::PARTNER_FINANCE => 'PARTNER_FINANCE', + self::AD_SPEED => 'AD_SPEED', + self::REAL_TIME_VIDEO => 'REAL_TIME_VIDEO', + self::YOUTUBE_CONSOLIDATED => 'YOUTUBE_CONSOLIDATED', + self::ADS_TRAFFIC_NAVIGATOR => 'ADS_TRAFFIC_NAVIGATOR', + self::OFF_PROPERTY_CAMPAIGNS => 'OFF_PROPERTY_CAMPAIGNS', + self::ON_PLATFORM_MULTICALL => 'ON_PLATFORM_MULTICALL', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Slice.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Slice.php new file mode 100644 index 000000000000..56993a0828d7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Slice.php @@ -0,0 +1,113 @@ +google.ads.admanager.v1.ReportDefinition.Slice + */ +class Slice extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The dimension to slice on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $dimension = 0; + /** + * Required. The value of the dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $dimension + * Required. The dimension to slice on. + * @type \Google\Ads\AdManager\V1\ReportValue $value + * Required. The value of the dimension. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. The dimension to slice on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getDimension() + { + return $this->dimension; + } + + /** + * Required. The dimension to slice on. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setDimension($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\Dimension::class); + $this->dimension = $var; + + return $this; + } + + /** + * Required. The value of the dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\ReportValue|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Required. The value of the dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportValue::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Sort.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Sort.php new file mode 100644 index 000000000000..31feee1b6f03 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/Sort.php @@ -0,0 +1,251 @@ +google.ads.admanager.v1.ReportDefinition.Sort + */ +class Sort extends \Google\Protobuf\Internal\Message +{ + /** + * Required. A field (dimension or metric) to sort by. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $field = null; + /** + * Optional. The sort order. If true the sort will be descending. + * + * Generated from protobuf field bool descending = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $descending = false; + /** + * Optional. Use to sort on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $slice = null; + /** + * Optional. When using time period columns, use this to sort on a specific + * column. + * + * Generated from protobuf field optional int32 time_period_index = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_period_index = null; + /** + * Optional. Use to specify which metric value type to sort on. Defaults to + * PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $metric_value_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ReportDefinition\Field $field + * Required. A field (dimension or metric) to sort by. + * @type bool $descending + * Optional. The sort order. If true the sort will be descending. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Slice $slice + * Optional. Use to sort on a specific slice of data. + * @type int $time_period_index + * Optional. When using time period columns, use this to sort on a specific + * column. + * @type int $metric_value_type + * Optional. Use to specify which metric value type to sort on. Defaults to + * PRIMARY. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDefinition::initOnce(); + parent::__construct($data); + } + + /** + * Required. A field (dimension or metric) to sort by. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Field|null + */ + public function getField() + { + return $this->field; + } + + public function hasField() + { + return isset($this->field); + } + + public function clearField() + { + unset($this->field); + } + + /** + * Required. A field (dimension or metric) to sort by. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Field $var + * @return $this + */ + public function setField($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Field::class); + $this->field = $var; + + return $this; + } + + /** + * Optional. The sort order. If true the sort will be descending. + * + * Generated from protobuf field bool descending = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getDescending() + { + return $this->descending; + } + + /** + * Optional. The sort order. If true the sort will be descending. + * + * Generated from protobuf field bool descending = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setDescending($var) + { + GPBUtil::checkBool($var); + $this->descending = $var; + + return $this; + } + + /** + * Optional. Use to sort on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ReportDefinition\Slice|null + */ + public function getSlice() + { + return $this->slice; + } + + public function hasSlice() + { + return isset($this->slice); + } + + public function clearSlice() + { + unset($this->slice); + } + + /** + * Optional. Use to sort on a specific slice of data. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Slice $var + * @return $this + */ + public function setSlice($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportDefinition\Slice::class); + $this->slice = $var; + + return $this; + } + + /** + * Optional. When using time period columns, use this to sort on a specific + * column. + * + * Generated from protobuf field optional int32 time_period_index = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTimePeriodIndex() + { + return isset($this->time_period_index) ? $this->time_period_index : 0; + } + + public function hasTimePeriodIndex() + { + return isset($this->time_period_index); + } + + public function clearTimePeriodIndex() + { + unset($this->time_period_index); + } + + /** + * Optional. When using time period columns, use this to sort on a specific + * column. + * + * Generated from protobuf field optional int32 time_period_index = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTimePeriodIndex($var) + { + GPBUtil::checkInt32($var); + $this->time_period_index = $var; + + return $this; + } + + /** + * Optional. Use to specify which metric value type to sort on. Defaults to + * PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMetricValueType() + { + return isset($this->metric_value_type) ? $this->metric_value_type : 0; + } + + public function hasMetricValueType() + { + return isset($this->metric_value_type); + } + + public function clearMetricValueType() + { + unset($this->metric_value_type); + } + + /** + * Optional. Use to specify which metric value type to sort on. Defaults to + * PRIMARY. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMetricValueType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReportDefinition\MetricValueType::class); + $this->metric_value_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimePeriodColumn.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimePeriodColumn.php new file mode 100644 index 000000000000..5b571912a759 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimePeriodColumn.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.ReportDefinition.TimePeriodColumn + */ +class TimePeriodColumn +{ + /** + * Default value. Report will have no time period column. + * + * Generated from protobuf enum TIME_PERIOD_COLUMN_UNSPECIFIED = 0; + */ + const TIME_PERIOD_COLUMN_UNSPECIFIED = 0; + /** + * A column for each date in the report. + * + * Generated from protobuf enum TIME_PERIOD_COLUMN_DATE = 1; + */ + const TIME_PERIOD_COLUMN_DATE = 1; + /** + * A column for each week in the report. + * + * Generated from protobuf enum TIME_PERIOD_COLUMN_WEEK = 2; + */ + const TIME_PERIOD_COLUMN_WEEK = 2; + /** + * A column for each month in the report. + * + * Generated from protobuf enum TIME_PERIOD_COLUMN_MONTH = 3; + */ + const TIME_PERIOD_COLUMN_MONTH = 3; + /** + * A column for each quarter in the report. + * + * Generated from protobuf enum TIME_PERIOD_COLUMN_QUARTER = 4; + */ + const TIME_PERIOD_COLUMN_QUARTER = 4; + + private static $valueToName = [ + self::TIME_PERIOD_COLUMN_UNSPECIFIED => 'TIME_PERIOD_COLUMN_UNSPECIFIED', + self::TIME_PERIOD_COLUMN_DATE => 'TIME_PERIOD_COLUMN_DATE', + self::TIME_PERIOD_COLUMN_WEEK => 'TIME_PERIOD_COLUMN_WEEK', + self::TIME_PERIOD_COLUMN_MONTH => 'TIME_PERIOD_COLUMN_MONTH', + self::TIME_PERIOD_COLUMN_QUARTER => 'TIME_PERIOD_COLUMN_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimeZoneSource.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimeZoneSource.php new file mode 100644 index 000000000000..e490eead511e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportDefinition/TimeZoneSource.php @@ -0,0 +1,80 @@ +google.ads.admanager.v1.ReportDefinition.TimeZoneSource + */ +class TimeZoneSource +{ + /** + * Unspecified default value. + * + * Generated from protobuf enum TIME_ZONE_SOURCE_UNSPECIFIED = 0; + */ + const TIME_ZONE_SOURCE_UNSPECIFIED = 0; + /** + * Use the publisher's time zone in network settings. + * + * Generated from protobuf enum PUBLISHER = 1; + */ + const PUBLISHER = 1; + /** + * Use the time zone of the ad exchange. + * Only compatible with Ad Exchange dimensions and metrics. + * + * Generated from protobuf enum AD_EXCHANGE = 2; + */ + const AD_EXCHANGE = 2; + /** + * Use UTC time zone. + * Only compatible with Revenue Verification reports. + * + * Generated from protobuf enum UTC = 3; + */ + const UTC = 3; + /** + * Use the time zone provided in the ReportDefinition.time_zone field. + * Has limited dimension and metric compatibility compared with PUBLISHER, + * and reports may take longer to run since the dates are dynamically + * calculated at request time. + * + * Generated from protobuf enum PROVIDED = 4; + */ + const PROVIDED = 4; + + private static $valueToName = [ + self::TIME_ZONE_SOURCE_UNSPECIFIED => 'TIME_ZONE_SOURCE_UNSPECIFIED', + self::PUBLISHER => 'PUBLISHER', + self::AD_EXCHANGE => 'AD_EXCHANGE', + self::UTC => 'UTC', + self::PROVIDED => 'PROVIDED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue.php new file mode 100644 index 000000000000..ae640bcd40af --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue.php @@ -0,0 +1,306 @@ +google.ads.admanager.v1.ReportValue + */ +class ReportValue extends \Google\Protobuf\Internal\Message +{ + protected $value; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $int_value + * For integer values. + * @type float $double_value + * For double values. + * @type string $string_value + * For string values. + * @type bool $bool_value + * For boolean values. + * @type \Google\Ads\AdManager\V1\ReportValue\IntList $int_list_value + * For lists of integer values. + * @type \Google\Ads\AdManager\V1\ReportValue\StringList $string_list_value + * For lists of string values. + * @type \Google\Ads\AdManager\V1\ReportValue\DoubleList $double_list_value + * For lists of double values. + * @type string $bytes_value + * For bytes values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportValue::initOnce(); + parent::__construct($data); + } + + /** + * For integer values. + * + * Generated from protobuf field int64 int_value = 1; + * @return int|string + */ + public function getIntValue() + { + return $this->readOneof(1); + } + + public function hasIntValue() + { + return $this->hasOneof(1); + } + + /** + * For integer values. + * + * Generated from protobuf field int64 int_value = 1; + * @param int|string $var + * @return $this + */ + public function setIntValue($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * For double values. + * + * Generated from protobuf field double double_value = 2; + * @return float + */ + public function getDoubleValue() + { + return $this->readOneof(2); + } + + public function hasDoubleValue() + { + return $this->hasOneof(2); + } + + /** + * For double values. + * + * Generated from protobuf field double double_value = 2; + * @param float $var + * @return $this + */ + public function setDoubleValue($var) + { + GPBUtil::checkDouble($var); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * For string values. + * + * Generated from protobuf field string string_value = 3; + * @return string + */ + public function getStringValue() + { + return $this->readOneof(3); + } + + public function hasStringValue() + { + return $this->hasOneof(3); + } + + /** + * For string values. + * + * Generated from protobuf field string string_value = 3; + * @param string $var + * @return $this + */ + public function setStringValue($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * For boolean values. + * + * Generated from protobuf field bool bool_value = 4; + * @return bool + */ + public function getBoolValue() + { + return $this->readOneof(4); + } + + public function hasBoolValue() + { + return $this->hasOneof(4); + } + + /** + * For boolean values. + * + * Generated from protobuf field bool bool_value = 4; + * @param bool $var + * @return $this + */ + public function setBoolValue($var) + { + GPBUtil::checkBool($var); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * For lists of integer values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.IntList int_list_value = 6; + * @return \Google\Ads\AdManager\V1\ReportValue\IntList|null + */ + public function getIntListValue() + { + return $this->readOneof(6); + } + + public function hasIntListValue() + { + return $this->hasOneof(6); + } + + /** + * For lists of integer values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.IntList int_list_value = 6; + * @param \Google\Ads\AdManager\V1\ReportValue\IntList $var + * @return $this + */ + public function setIntListValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportValue\IntList::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * For lists of string values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.StringList string_list_value = 7; + * @return \Google\Ads\AdManager\V1\ReportValue\StringList|null + */ + public function getStringListValue() + { + return $this->readOneof(7); + } + + public function hasStringListValue() + { + return $this->hasOneof(7); + } + + /** + * For lists of string values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.StringList string_list_value = 7; + * @param \Google\Ads\AdManager\V1\ReportValue\StringList $var + * @return $this + */ + public function setStringListValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportValue\StringList::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * For lists of double values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.DoubleList double_list_value = 9; + * @return \Google\Ads\AdManager\V1\ReportValue\DoubleList|null + */ + public function getDoubleListValue() + { + return $this->readOneof(9); + } + + public function hasDoubleListValue() + { + return $this->hasOneof(9); + } + + /** + * For lists of double values. + * + * Generated from protobuf field .google.ads.admanager.v1.ReportValue.DoubleList double_list_value = 9; + * @param \Google\Ads\AdManager\V1\ReportValue\DoubleList $var + * @return $this + */ + public function setDoubleListValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ReportValue\DoubleList::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * For bytes values. + * + * Generated from protobuf field bytes bytes_value = 8; + * @return string + */ + public function getBytesValue() + { + return $this->readOneof(8); + } + + public function hasBytesValue() + { + return $this->hasOneof(8); + } + + /** + * For bytes values. + * + * Generated from protobuf field bytes bytes_value = 8; + * @param string $var + * @return $this + */ + public function setBytesValue($var) + { + GPBUtil::checkString($var, False); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * @return string + */ + public function getValue() + { + return $this->whichOneof("value"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/DoubleList.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/DoubleList.php new file mode 100644 index 000000000000..d1f1a8b31205 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/DoubleList.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.ReportValue.DoubleList + */ +class DoubleList extends \Google\Protobuf\Internal\Message +{ + /** + * The values + * + * Generated from protobuf field repeated double values = 1; + */ + private $values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float[] $values + * The values + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportValue::initOnce(); + parent::__construct($data); + } + + /** + * The values + * + * Generated from protobuf field repeated double values = 1; + * @return RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * The values + * + * Generated from protobuf field repeated double values = 1; + * @param float[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE); + $this->values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/IntList.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/IntList.php new file mode 100644 index 000000000000..5fb0508ba52c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/IntList.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.ReportValue.IntList + */ +class IntList extends \Google\Protobuf\Internal\Message +{ + /** + * The values + * + * Generated from protobuf field repeated int64 values = 1; + */ + private $values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[]|string[] $values + * The values + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportValue::initOnce(); + parent::__construct($data); + } + + /** + * The values + * + * Generated from protobuf field repeated int64 values = 1; + * @return RepeatedField|RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * The values + * + * Generated from protobuf field repeated int64 values = 1; + * @param int[]|string[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/StringList.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/StringList.php new file mode 100644 index 000000000000..772b82c6851e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ReportValue/StringList.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.ReportValue.StringList + */ +class StringList extends \Google\Protobuf\Internal\Message +{ + /** + * The values + * + * Generated from protobuf field repeated string values = 1; + */ + private $values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $values + * The values + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportValue::initOnce(); + parent::__construct($data); + } + + /** + * The values + * + * Generated from protobuf field repeated string values = 1; + * @return RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * The values + * + * Generated from protobuf field repeated string values = 1; + * @param string[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestFormatTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestFormatTargeting.php new file mode 100644 index 000000000000..7a5edc8c8c98 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestFormatTargeting.php @@ -0,0 +1,471 @@ +google.ads.admanager.v1.RequestFormatTargeting + */ +class RequestFormatTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Controls app open format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool app_open_enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $app_open_enabled = null; + /** + * Optional. Controls rewarded format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $rewarded_enabled = null; + /** + * Optional. Controls rewarded interstitial format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_interstitial_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $rewarded_interstitial_enabled = null; + /** + * Optional. Controls interstitial format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool interstitial_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $interstitial_enabled = null; + /** + * Optional. Controls anchor format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool anchor_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $anchor_enabled = null; + /** + * Optional. Controls banner format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool banner_enabled = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $banner_enabled = null; + /** + * Optional. Controls instream video format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_video_enabled = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $instream_video_enabled = null; + /** + * Optional. Controls instream audio format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_audio_enabled = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $instream_audio_enabled = null; + /** + * Optional. Controls native advanced format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool native_advanced_enabled = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $native_advanced_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $app_open_enabled + * Optional. Controls app open format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * @type bool $rewarded_enabled + * Optional. Controls rewarded format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * @type bool $rewarded_interstitial_enabled + * Optional. Controls rewarded interstitial format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * @type bool $interstitial_enabled + * Optional. Controls interstitial format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * @type bool $anchor_enabled + * Optional. Controls anchor format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * @type bool $banner_enabled + * Optional. Controls banner format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * @type bool $instream_video_enabled + * Optional. Controls instream video format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * @type bool $instream_audio_enabled + * Optional. Controls instream audio format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * @type bool $native_advanced_enabled + * Optional. Controls native advanced format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Controls app open format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool app_open_enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAppOpenEnabled() + { + return isset($this->app_open_enabled) ? $this->app_open_enabled : false; + } + + public function hasAppOpenEnabled() + { + return isset($this->app_open_enabled); + } + + public function clearAppOpenEnabled() + { + unset($this->app_open_enabled); + } + + /** + * Optional. Controls app open format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool app_open_enabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAppOpenEnabled($var) + { + GPBUtil::checkBool($var); + $this->app_open_enabled = $var; + + return $this; + } + + /** + * Optional. Controls rewarded format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRewardedEnabled() + { + return isset($this->rewarded_enabled) ? $this->rewarded_enabled : false; + } + + public function hasRewardedEnabled() + { + return isset($this->rewarded_enabled); + } + + public function clearRewardedEnabled() + { + unset($this->rewarded_enabled); + } + + /** + * Optional. Controls rewarded format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRewardedEnabled($var) + { + GPBUtil::checkBool($var); + $this->rewarded_enabled = $var; + + return $this; + } + + /** + * Optional. Controls rewarded interstitial format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_interstitial_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRewardedInterstitialEnabled() + { + return isset($this->rewarded_interstitial_enabled) ? $this->rewarded_interstitial_enabled : false; + } + + public function hasRewardedInterstitialEnabled() + { + return isset($this->rewarded_interstitial_enabled); + } + + public function clearRewardedInterstitialEnabled() + { + unset($this->rewarded_interstitial_enabled); + } + + /** + * Optional. Controls rewarded interstitial format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool rewarded_interstitial_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRewardedInterstitialEnabled($var) + { + GPBUtil::checkBool($var); + $this->rewarded_interstitial_enabled = $var; + + return $this; + } + + /** + * Optional. Controls interstitial format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool interstitial_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInterstitialEnabled() + { + return isset($this->interstitial_enabled) ? $this->interstitial_enabled : false; + } + + public function hasInterstitialEnabled() + { + return isset($this->interstitial_enabled); + } + + public function clearInterstitialEnabled() + { + unset($this->interstitial_enabled); + } + + /** + * Optional. Controls interstitial format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool interstitial_enabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInterstitialEnabled($var) + { + GPBUtil::checkBool($var); + $this->interstitial_enabled = $var; + + return $this; + } + + /** + * Optional. Controls anchor format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool anchor_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAnchorEnabled() + { + return isset($this->anchor_enabled) ? $this->anchor_enabled : false; + } + + public function hasAnchorEnabled() + { + return isset($this->anchor_enabled); + } + + public function clearAnchorEnabled() + { + unset($this->anchor_enabled); + } + + /** + * Optional. Controls anchor format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool anchor_enabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAnchorEnabled($var) + { + GPBUtil::checkBool($var); + $this->anchor_enabled = $var; + + return $this; + } + + /** + * Optional. Controls banner format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool banner_enabled = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getBannerEnabled() + { + return isset($this->banner_enabled) ? $this->banner_enabled : false; + } + + public function hasBannerEnabled() + { + return isset($this->banner_enabled); + } + + public function clearBannerEnabled() + { + unset($this->banner_enabled); + } + + /** + * Optional. Controls banner format targeting. Set to `true` to include, + * `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool banner_enabled = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setBannerEnabled($var) + { + GPBUtil::checkBool($var); + $this->banner_enabled = $var; + + return $this; + } + + /** + * Optional. Controls instream video format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_video_enabled = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInstreamVideoEnabled() + { + return isset($this->instream_video_enabled) ? $this->instream_video_enabled : false; + } + + public function hasInstreamVideoEnabled() + { + return isset($this->instream_video_enabled); + } + + public function clearInstreamVideoEnabled() + { + unset($this->instream_video_enabled); + } + + /** + * Optional. Controls instream video format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_video_enabled = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInstreamVideoEnabled($var) + { + GPBUtil::checkBool($var); + $this->instream_video_enabled = $var; + + return $this; + } + + /** + * Optional. Controls instream audio format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_audio_enabled = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInstreamAudioEnabled() + { + return isset($this->instream_audio_enabled) ? $this->instream_audio_enabled : false; + } + + public function hasInstreamAudioEnabled() + { + return isset($this->instream_audio_enabled); + } + + public function clearInstreamAudioEnabled() + { + unset($this->instream_audio_enabled); + } + + /** + * Optional. Controls instream audio format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool instream_audio_enabled = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInstreamAudioEnabled($var) + { + GPBUtil::checkBool($var); + $this->instream_audio_enabled = $var; + + return $this; + } + + /** + * Optional. Controls native advanced format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool native_advanced_enabled = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getNativeAdvancedEnabled() + { + return isset($this->native_advanced_enabled) ? $this->native_advanced_enabled : false; + } + + public function hasNativeAdvancedEnabled() + { + return isset($this->native_advanced_enabled); + } + + public function clearNativeAdvancedEnabled() + { + unset($this->native_advanced_enabled); + } + + /** + * Optional. Controls native advanced format targeting. Set to `true` to + * include, `false` to exclude, or leave unset for neither. + * + * Generated from protobuf field optional bool native_advanced_enabled = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setNativeAdvancedEnabled($var) + { + GPBUtil::checkBool($var); + $this->native_advanced_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum.php new file mode 100644 index 000000000000..4ce3484ad672 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum.php @@ -0,0 +1,37 @@ +google.ads.admanager.v1.RequestPlatformEnum + */ +class RequestPlatformEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RequestPlatformEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum/RequestPlatform.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum/RequestPlatform.php new file mode 100644 index 000000000000..5eb76bd351ee --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformEnum/RequestPlatform.php @@ -0,0 +1,69 @@ +google.ads.admanager.v1.RequestPlatformEnum.RequestPlatform + */ +class RequestPlatform +{ + /** + * No value specified + * + * Generated from protobuf enum REQUEST_PLATFORM_UNSPECIFIED = 0; + */ + const REQUEST_PLATFORM_UNSPECIFIED = 0; + /** + * Represents a request made from a web browser (incl. desktop browsers, + * mobile browsers, webviews, etc.). + * + * Generated from protobuf enum BROWSER = 1; + */ + const BROWSER = 1; + /** + * Represents a request made from a Mobile Application. + * + * Generated from protobuf enum MOBILE_APP = 2; + */ + const MOBILE_APP = 2; + /** + * Represents a request made from a video player. + * + * Generated from protobuf enum VIDEO_PLAYER = 3; + */ + const VIDEO_PLAYER = 3; + + private static $valueToName = [ + self::REQUEST_PLATFORM_UNSPECIFIED => 'REQUEST_PLATFORM_UNSPECIFIED', + self::BROWSER => 'BROWSER', + self::MOBILE_APP => 'MOBILE_APP', + self::VIDEO_PLAYER => 'VIDEO_PLAYER', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformTargeting.php new file mode 100644 index 000000000000..5727444efb03 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RequestPlatformTargeting.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.RequestPlatformTargeting + */ +class RequestPlatformTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The list of request platforms that should be targeted. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RequestPlatformEnum.RequestPlatform request_platforms = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $request_platforms; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[] $request_platforms + * Optional. The list of request platforms that should be targeted. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The list of request platforms that should be targeted. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RequestPlatformEnum.RequestPlatform request_platforms = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getRequestPlatforms() + { + return $this->request_platforms; + } + + /** + * Optional. The list of request platforms that should be targeted. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.RequestPlatformEnum.RequestPlatform request_platforms = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setRequestPlatforms($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\RequestPlatformEnum\RequestPlatform::class); + $this->request_platforms = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompany.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompany.php new file mode 100644 index 000000000000..ab083499a80b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompany.php @@ -0,0 +1,251 @@ +google.ads.admanager.v1.RichMediaAdsCompany + */ +class RichMediaAdsCompany extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `RichMediaAdsCompany`. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The name of the Rich Media Ads Company. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The policy URL of the Rich Media Ads Company. + * + * Generated from protobuf field optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $policy_url = null; + /** + * Output only. The GDPR status of the Rich Media Ads Company. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $gdpr_status = null; + /** + * Output only. The GVL ID of the Rich Media Ads Company. + * + * Generated from protobuf field optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $company_gvl_id = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `RichMediaAdsCompany`. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * @type string $display_name + * Output only. The name of the Rich Media Ads Company. + * @type string $policy_url + * Output only. The policy URL of the Rich Media Ads Company. + * @type int $gdpr_status + * Output only. The GDPR status of the Rich Media Ads Company. + * @type int|string $company_gvl_id + * Output only. The GVL ID of the Rich Media Ads Company. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RichMediaAdsCompanyMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `RichMediaAdsCompany`. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `RichMediaAdsCompany`. + * Format: + * `networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The name of the Rich Media Ads Company. + * + * Generated from protobuf field optional string display_name = 2 [(.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 name of the Rich Media Ads Company. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The policy URL of the Rich Media Ads Company. + * + * Generated from protobuf field optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getPolicyUrl() + { + return isset($this->policy_url) ? $this->policy_url : ''; + } + + public function hasPolicyUrl() + { + return isset($this->policy_url); + } + + public function clearPolicyUrl() + { + unset($this->policy_url); + } + + /** + * Output only. The policy URL of the Rich Media Ads Company. + * + * Generated from protobuf field optional string policy_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setPolicyUrl($var) + { + GPBUtil::checkString($var, True); + $this->policy_url = $var; + + return $this; + } + + /** + * Output only. The GDPR status of the Rich Media Ads Company. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getGdprStatus() + { + return isset($this->gdpr_status) ? $this->gdpr_status : 0; + } + + public function hasGdprStatus() + { + return isset($this->gdpr_status); + } + + public function clearGdprStatus() + { + unset($this->gdpr_status); + } + + /** + * Output only. The GDPR status of the Rich Media Ads Company. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus gdpr_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setGdprStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\RichMediaAdsCompanyGdprStatusEnum\RichMediaAdsCompanyGdprStatus::class); + $this->gdpr_status = $var; + + return $this; + } + + /** + * Output only. The GVL ID of the Rich Media Ads Company. + * + * Generated from protobuf field optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getCompanyGvlId() + { + return isset($this->company_gvl_id) ? $this->company_gvl_id : 0; + } + + public function hasCompanyGvlId() + { + return isset($this->company_gvl_id); + } + + public function clearCompanyGvlId() + { + unset($this->company_gvl_id); + } + + /** + * Output only. The GVL ID of the Rich Media Ads Company. + * + * Generated from protobuf field optional int64 company_gvl_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setCompanyGvlId($var) + { + GPBUtil::checkInt64($var); + $this->company_gvl_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum.php new file mode 100644 index 000000000000..3ecfc7e0fb75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum + */ +class RichMediaAdsCompanyGdprStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RichMediaAdsCompanyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum/RichMediaAdsCompanyGdprStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum/RichMediaAdsCompanyGdprStatus.php new file mode 100644 index 000000000000..366eaa2ea838 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RichMediaAdsCompanyGdprStatusEnum/RichMediaAdsCompanyGdprStatus.php @@ -0,0 +1,85 @@ +google.ads.admanager.v1.RichMediaAdsCompanyGdprStatusEnum.RichMediaAdsCompanyGdprStatus + */ +class RichMediaAdsCompanyGdprStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum RICH_MEDIA_ADS_COMPANY_GDPR_STATUS_UNSPECIFIED = 0; + */ + const RICH_MEDIA_ADS_COMPANY_GDPR_STATUS_UNSPECIFIED = 0; + /** + * The company has not been contacted or responded about GDPR compliance, or + * otherwise the GDPR compliance is undetermined. + * + * Generated from protobuf enum COMPLIANCE_UNKNOWN = 1; + */ + const COMPLIANCE_UNKNOWN = 1; + /** + * The company has been determined as compliant for GDPR. + * + * Generated from protobuf enum COMPLIANT = 2; + */ + const COMPLIANT = 2; + /** + * The company has been determined as compliant, and is part of the + * default set of companies eligible as a vendor. + * + * Generated from protobuf enum COMPLIANT_AND_DEFAULT = 3; + */ + const COMPLIANT_AND_DEFAULT = 3; + /** + * The company has been determined to be compliant through certification + * process. + * + * Generated from protobuf enum COMPLIANT_LIGHTWEIGHT_VERIFIED = 4; + */ + const COMPLIANT_LIGHTWEIGHT_VERIFIED = 4; + /** + * The company has been determined as non-compliant for GDPR. + * + * Generated from protobuf enum NOT_COMPLIANT = 5; + */ + const NOT_COMPLIANT = 5; + + private static $valueToName = [ + self::RICH_MEDIA_ADS_COMPANY_GDPR_STATUS_UNSPECIFIED => 'RICH_MEDIA_ADS_COMPANY_GDPR_STATUS_UNSPECIFIED', + self::COMPLIANCE_UNKNOWN => 'COMPLIANCE_UNKNOWN', + self::COMPLIANT => 'COMPLIANT', + self::COMPLIANT_AND_DEFAULT => 'COMPLIANT_AND_DEFAULT', + self::COMPLIANT_LIGHTWEIGHT_VERIFIED => 'COMPLIANT_LIGHTWEIGHT_VERIFIED', + self::NOT_COMPLIANT => 'NOT_COMPLIANT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum.php new file mode 100644 index 000000000000..2758f1fe6b78 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.RoadblockingTypeEnum + */ +class RoadblockingTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\DeliveryEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum/RoadblockingType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum/RoadblockingType.php new file mode 100644 index 000000000000..7d643062a6f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoadblockingTypeEnum/RoadblockingType.php @@ -0,0 +1,88 @@ +google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType + */ +class RoadblockingType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum ROADBLOCKING_TYPE_UNSPECIFIED = 0; + */ + const ROADBLOCKING_TYPE_UNSPECIFIED = 0; + /** + * All or none of the creatives from a line item will serve. This option + * will only work if served to a GPT tag using SRA (single request + * architecture mode). + * + * Generated from protobuf enum ALL_ROADBLOCK = 1; + */ + const ALL_ROADBLOCK = 1; + /** + * As many creatives from a line item as can fit on a page will serve. This + * could mean anywhere from one to all of a line item's creatives given the + * size constraints of ad slots on a page. + * + * Generated from protobuf enum AS_MANY_AS_POSSIBLE = 2; + */ + const AS_MANY_AS_POSSIBLE = 2; + /** + * A master/companion creative set roadblocking type. + * A [CreativePlaceholder][google.ads.admanager.v1.CreativePlaceholder] must + * be set accordingly. + * + * Generated from protobuf enum CREATIVE_SET = 3; + */ + const CREATIVE_SET = 3; + /** + * Any number of creatives from a line item can serve together at a time. + * + * Generated from protobuf enum ONE_OR_MORE = 4; + */ + const ONE_OR_MORE = 4; + /** + * Only one creative from a line item can serve at a time. + * + * Generated from protobuf enum ONLY_ONE = 5; + */ + const ONLY_ONE = 5; + + private static $valueToName = [ + self::ROADBLOCKING_TYPE_UNSPECIFIED => 'ROADBLOCKING_TYPE_UNSPECIFIED', + self::ALL_ROADBLOCK => 'ALL_ROADBLOCK', + self::AS_MANY_AS_POSSIBLE => 'AS_MANY_AS_POSSIBLE', + self::CREATIVE_SET => 'CREATIVE_SET', + self::ONE_OR_MORE => 'ONE_OR_MORE', + self::ONLY_ONE => 'ONLY_ONE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Role.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Role.php new file mode 100644 index 000000000000..777634add920 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Role.php @@ -0,0 +1,302 @@ +google.ads.admanager.v1.Role + */ +class Role extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Role`. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `Role` ID. + * + * Generated from protobuf field optional int64 role_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $role_id = null; + /** + * Required. The display name of the `Role`. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. The description of the `Role`. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Output only. Whether the `Role` is a built-in or custom user role. + * + * Generated from protobuf field optional bool built_in = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $built_in = null; + /** + * Output only. The status of the `Role`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoleStatusEnum.RoleStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Role`. + * Format: `networks/{network_code}/roles/{role_id}` + * @type int|string $role_id + * Output only. Deprecated: `Role` ID. + * @type string $display_name + * Required. The display name of the `Role`. + * @type string $description + * Optional. The description of the `Role`. + * @type bool $built_in + * Output only. Whether the `Role` is a built-in or custom user role. + * @type int $status + * Output only. The status of the `Role`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RoleMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Role`. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Role`. + * Format: `networks/{network_code}/roles/{role_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `Role` ID. + * + * Generated from protobuf field optional int64 role_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getRoleId() + { + if (isset($this->role_id)) { + @trigger_error('role_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->role_id) ? $this->role_id : 0; + } + + public function hasRoleId() + { + if (isset($this->role_id)) { + @trigger_error('role_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->role_id); + } + + public function clearRoleId() + { + @trigger_error('role_id is deprecated.', E_USER_DEPRECATED); + unset($this->role_id); + } + + /** + * Output only. Deprecated: `Role` ID. + * + * Generated from protobuf field optional int64 role_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setRoleId($var) + { + @trigger_error('role_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->role_id = $var; + + return $this; + } + + /** + * Required. The display name of the `Role`. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the `Role`. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. The description of the `Role`. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. The description of the `Role`. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Output only. Whether the `Role` is a built-in or custom user role. + * + * Generated from protobuf field optional bool built_in = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getBuiltIn() + { + return isset($this->built_in) ? $this->built_in : false; + } + + public function hasBuiltIn() + { + return isset($this->built_in); + } + + public function clearBuiltIn() + { + unset($this->built_in); + } + + /** + * Output only. Whether the `Role` is a built-in or custom user role. + * + * Generated from protobuf field optional bool built_in = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setBuiltIn($var) + { + GPBUtil::checkBool($var); + $this->built_in = $var; + + return $this; + } + + /** + * Output only. The status of the `Role`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoleStatusEnum.RoleStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the `Role`. + * + * Generated from protobuf field optional .google.ads.admanager.v1.RoleStatusEnum.RoleStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\RoleStatusEnum\RoleStatus::class); + $this->status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum.php new file mode 100644 index 000000000000..f5a090a05198 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.RoleStatusEnum + */ +class RoleStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\RoleEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum/RoleStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum/RoleStatus.php new file mode 100644 index 000000000000..09b0a44130c6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RoleStatusEnum/RoleStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.RoleStatusEnum.RoleStatus + */ +class RoleStatus +{ + /** + * No value specified. + * + * Generated from protobuf enum ROLE_STATUS_UNSPECIFIED = 0; + */ + const ROLE_STATUS_UNSPECIFIED = 0; + /** + * Role is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Role is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::ROLE_STATUS_UNSPECIFIED => 'ROLE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportMetadata.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportMetadata.php new file mode 100644 index 000000000000..7c35bf004940 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportMetadata.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.RunReportMetadata + */ +class RunReportMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * An estimate of how close this report is to being completed. Will always be + * 100 for failed and completed reports. + * + * Generated from protobuf field int32 percent_complete = 2; + */ + protected $percent_complete = 0; + /** + * The result's parent report. + * + * Generated from protobuf field string report = 4 [(.google.api.resource_reference) = { + */ + protected $report = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $percent_complete + * An estimate of how close this report is to being completed. Will always be + * 100 for failed and completed reports. + * @type string $report + * The result's parent report. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * An estimate of how close this report is to being completed. Will always be + * 100 for failed and completed reports. + * + * Generated from protobuf field int32 percent_complete = 2; + * @return int + */ + public function getPercentComplete() + { + return $this->percent_complete; + } + + /** + * An estimate of how close this report is to being completed. Will always be + * 100 for failed and completed reports. + * + * Generated from protobuf field int32 percent_complete = 2; + * @param int $var + * @return $this + */ + public function setPercentComplete($var) + { + GPBUtil::checkInt32($var); + $this->percent_complete = $var; + + return $this; + } + + /** + * The result's parent report. + * + * Generated from protobuf field string report = 4 [(.google.api.resource_reference) = { + * @return string + */ + public function getReport() + { + return $this->report; + } + + /** + * The result's parent report. + * + * Generated from protobuf field string report = 4 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setReport($var) + { + GPBUtil::checkString($var, True); + $this->report = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportRequest.php new file mode 100644 index 000000000000..6d848d5a7d80 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportRequest.php @@ -0,0 +1,86 @@ +google.ads.admanager.v1.RunReportRequest + */ +class RunReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The report to run. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The report to run. + * Format: `networks/{network_code}/reports/{report_id}` + * Please see {@see ReportServiceClient::reportName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\RunReportRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The report to run. + * Format: `networks/{network_code}/reports/{report_id}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The report to run. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. The report to run. + * Format: `networks/{network_code}/reports/{report_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportResponse.php new file mode 100644 index 000000000000..e56b4073283f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/RunReportResponse.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.RunReportResponse + */ +class RunReportResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The unique name of the generated result. Use with `FetchReportResultRows` + * to retrieve data. + * + * Generated from protobuf field string report_result = 1; + */ + protected $report_result = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $report_result + * The unique name of the generated result. Use with `FetchReportResultRows` + * to retrieve data. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * The unique name of the generated result. Use with `FetchReportResultRows` + * to retrieve data. + * + * Generated from protobuf field string report_result = 1; + * @return string + */ + public function getReportResult() + { + return $this->report_result; + } + + /** + * The unique name of the generated result. Use with `FetchReportResultRows` + * to retrieve data. + * + * Generated from protobuf field string report_result = 1; + * @param string $var + * @return $this + */ + public function setReportResult($var) + { + GPBUtil::checkString($var, True); + $this->report_result = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions.php new file mode 100644 index 000000000000..9c01114f3789 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions.php @@ -0,0 +1,149 @@ +google.ads.admanager.v1.ScheduleOptions + */ +class ScheduleOptions extends \Google\Protobuf\Internal\Message +{ + /** + * Information pertaining to schedule itself. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule schedule = 1; + */ + protected $schedule = null; + /** + * Option for when to deliver the scheduled report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2; + */ + protected $delivery_condition = 0; + /** + * Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT + * is specified. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $flags; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ScheduleOptions\Schedule $schedule + * Information pertaining to schedule itself. + * @type int $delivery_condition + * Option for when to deliver the scheduled report. + * @type \Google\Ads\AdManager\V1\ReportDefinition\Flag[] $flags + * Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT + * is specified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDelivery::initOnce(); + parent::__construct($data); + } + + /** + * Information pertaining to schedule itself. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule schedule = 1; + * @return \Google\Ads\AdManager\V1\ScheduleOptions\Schedule|null + */ + public function getSchedule() + { + return $this->schedule; + } + + public function hasSchedule() + { + return isset($this->schedule); + } + + public function clearSchedule() + { + unset($this->schedule); + } + + /** + * Information pertaining to schedule itself. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule schedule = 1; + * @param \Google\Ads\AdManager\V1\ScheduleOptions\Schedule $var + * @return $this + */ + public function setSchedule($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ScheduleOptions\Schedule::class); + $this->schedule = $var; + + return $this; + } + + /** + * Option for when to deliver the scheduled report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2; + * @return int + */ + public function getDeliveryCondition() + { + return $this->delivery_condition; + } + + /** + * Option for when to deliver the scheduled report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.DeliveryCondition delivery_condition = 2; + * @param int $var + * @return $this + */ + public function setDeliveryCondition($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ScheduleOptions\DeliveryCondition::class); + $this->delivery_condition = $var; + + return $this; + } + + /** + * Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT + * is specified. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\ReportDefinition\Flag> + */ + public function getFlags() + { + return $this->flags; + } + + /** + * Optional. The flags evaluated when ReportDeliveryOption.WHEN_FLAG_PRESENT + * is specified. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.ReportDefinition.Flag flags = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ReportDefinition\Flag[] $var + * @return $this + */ + public function setFlags($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\ReportDefinition\Flag::class); + $this->flags = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/DeliveryCondition.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/DeliveryCondition.php new file mode 100644 index 000000000000..57dbbb9526f2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/DeliveryCondition.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.ScheduleOptions.DeliveryCondition + */ +class DeliveryCondition +{ + /** + * Never deliver report. + * + * Generated from protobuf enum NEVER = 0; + */ + const NEVER = 0; + /** + * Always deliver report. + * + * Generated from protobuf enum ALWAYS = 1; + */ + const ALWAYS = 1; + /** + * Deliver report when flag's conditions are met. + * + * Generated from protobuf enum WHEN_FLAG_CONDITIONS_MET = 2; + */ + const WHEN_FLAG_CONDITIONS_MET = 2; + + private static $valueToName = [ + self::NEVER => 'NEVER', + self::ALWAYS => 'ALWAYS', + self::WHEN_FLAG_CONDITIONS_MET => 'WHEN_FLAG_CONDITIONS_MET', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule.php new file mode 100644 index 000000000000..904138447b9c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule.php @@ -0,0 +1,306 @@ +google.ads.admanager.v1.ScheduleOptions.Schedule + */ +class Schedule extends \Google\Protobuf\Internal\Message +{ + /** + * Date for the first run of the report. + * + * Generated from protobuf field .google.type.Date start_date = 1; + */ + protected $start_date = null; + /** + * Date for the final run of the report. + * + * Generated from protobuf field .google.type.Date end_date = 2; + */ + protected $end_date = null; + /** + * Frequency to run report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.Frequency frequency = 3; + */ + protected $frequency = 0; + /** + * Indicates start time for schedule to run + * Will use the time_zone from `ReportDefinition`. Defaults + * to the publisher's time zone if not specified. + * For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this + * will be the time of day that the first report will run on the first day. + * For example, if the start time is 2:00 PM, and the frequency is + * THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, + * 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, + * 2:00 PM, 10:00 PM. + * + * Generated from protobuf field .google.type.TimeOfDay start_time = 4; + */ + protected $start_time = null; + protected $frequency_schedule; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\WeeklySchedule $weekly_schedule + * Days of week to schedule report run. + * @type \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\MonthlySchedule $monthly_schedule + * Days of month to schedule report run. + * @type \Google\Type\Date $start_date + * Date for the first run of the report. + * @type \Google\Type\Date $end_date + * Date for the final run of the report. + * @type int $frequency + * Frequency to run report. + * @type \Google\Type\TimeOfDay $start_time + * Indicates start time for schedule to run + * Will use the time_zone from `ReportDefinition`. Defaults + * to the publisher's time zone if not specified. + * For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this + * will be the time of day that the first report will run on the first day. + * For example, if the start time is 2:00 PM, and the frequency is + * THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, + * 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, + * 2:00 PM, 10:00 PM. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDelivery::initOnce(); + parent::__construct($data); + } + + /** + * Days of week to schedule report run. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.WeeklySchedule weekly_schedule = 6; + * @return \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\WeeklySchedule|null + */ + public function getWeeklySchedule() + { + return $this->readOneof(6); + } + + public function hasWeeklySchedule() + { + return $this->hasOneof(6); + } + + /** + * Days of week to schedule report run. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.WeeklySchedule weekly_schedule = 6; + * @param \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\WeeklySchedule $var + * @return $this + */ + public function setWeeklySchedule($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\WeeklySchedule::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Days of month to schedule report run. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.MonthlySchedule monthly_schedule = 7; + * @return \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\MonthlySchedule|null + */ + public function getMonthlySchedule() + { + return $this->readOneof(7); + } + + public function hasMonthlySchedule() + { + return $this->hasOneof(7); + } + + /** + * Days of month to schedule report run. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.MonthlySchedule monthly_schedule = 7; + * @param \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\MonthlySchedule $var + * @return $this + */ + public function setMonthlySchedule($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\MonthlySchedule::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Date for the first run of the report. + * + * Generated from protobuf field .google.type.Date start_date = 1; + * @return \Google\Type\Date|null + */ + public function getStartDate() + { + return $this->start_date; + } + + public function hasStartDate() + { + return isset($this->start_date); + } + + public function clearStartDate() + { + unset($this->start_date); + } + + /** + * Date for the first run of the report. + * + * Generated from protobuf field .google.type.Date start_date = 1; + * @param \Google\Type\Date $var + * @return $this + */ + public function setStartDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->start_date = $var; + + return $this; + } + + /** + * Date for the final run of the report. + * + * Generated from protobuf field .google.type.Date end_date = 2; + * @return \Google\Type\Date|null + */ + public function getEndDate() + { + return $this->end_date; + } + + public function hasEndDate() + { + return isset($this->end_date); + } + + public function clearEndDate() + { + unset($this->end_date); + } + + /** + * Date for the final run of the report. + * + * Generated from protobuf field .google.type.Date end_date = 2; + * @param \Google\Type\Date $var + * @return $this + */ + public function setEndDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->end_date = $var; + + return $this; + } + + /** + * Frequency to run report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.Frequency frequency = 3; + * @return int + */ + public function getFrequency() + { + return $this->frequency; + } + + /** + * Frequency to run report. + * + * Generated from protobuf field .google.ads.admanager.v1.ScheduleOptions.Schedule.Frequency frequency = 3; + * @param int $var + * @return $this + */ + public function setFrequency($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ScheduleOptions\Schedule\Frequency::class); + $this->frequency = $var; + + return $this; + } + + /** + * Indicates start time for schedule to run + * Will use the time_zone from `ReportDefinition`. Defaults + * to the publisher's time zone if not specified. + * For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this + * will be the time of day that the first report will run on the first day. + * For example, if the start time is 2:00 PM, and the frequency is + * THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, + * 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, + * 2:00 PM, 10:00 PM. + * + * Generated from protobuf field .google.type.TimeOfDay start_time = 4; + * @return \Google\Type\TimeOfDay|null + */ + public function getStartTime() + { + return $this->start_time; + } + + public function hasStartTime() + { + return isset($this->start_time); + } + + public function clearStartTime() + { + unset($this->start_time); + } + + /** + * Indicates start time for schedule to run + * Will use the time_zone from `ReportDefinition`. Defaults + * to the publisher's time zone if not specified. + * For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this + * will be the time of day that the first report will run on the first day. + * For example, if the start time is 2:00 PM, and the frequency is + * THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, + * 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, + * 2:00 PM, 10:00 PM. + * + * Generated from protobuf field .google.type.TimeOfDay start_time = 4; + * @param \Google\Type\TimeOfDay $var + * @return $this + */ + public function setStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Type\TimeOfDay::class); + $this->start_time = $var; + + return $this; + } + + /** + * @return string + */ + public function getFrequencySchedule() + { + return $this->whichOneof("frequency_schedule"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/Frequency.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/Frequency.php new file mode 100644 index 000000000000..4dd2ab012a4f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/Frequency.php @@ -0,0 +1,96 @@ +google.ads.admanager.v1.ScheduleOptions.Schedule.Frequency + */ +class Frequency +{ + /** + * No Frequency specified. + * + * Generated from protobuf enum FREQUENCY_UNSPECIFIED = 0; + */ + const FREQUENCY_UNSPECIFIED = 0; + /** + * Schedule report to run every hour. + * + * Generated from protobuf enum HOURLY = 1; + */ + const HOURLY = 1; + /** + * Schedule report to run twice a day (every 12 hours). + * + * Generated from protobuf enum TWO_TIMES_DAILY = 2; + */ + const TWO_TIMES_DAILY = 2; + /** + * Schedule report to run three times a day (every 8 hours). + * + * Generated from protobuf enum THREE_TIMES_DAILY = 3; + */ + const THREE_TIMES_DAILY = 3; + /** + * Schedule report to run four times a day (every 6 hours). + * + * Generated from protobuf enum FOUR_TIMES_DAILY = 4; + */ + const FOUR_TIMES_DAILY = 4; + /** + * Schedule report to run on a daily basis. + * + * Generated from protobuf enum DAILY = 5; + */ + const DAILY = 5; + /** + * Schedule report to run on a weekly basis. + * + * Generated from protobuf enum WEEKLY = 6; + */ + const WEEKLY = 6; + /** + * Schedule report to run on a monthly basis. + * + * Generated from protobuf enum MONTHLY = 7; + */ + const MONTHLY = 7; + + private static $valueToName = [ + self::FREQUENCY_UNSPECIFIED => 'FREQUENCY_UNSPECIFIED', + self::HOURLY => 'HOURLY', + self::TWO_TIMES_DAILY => 'TWO_TIMES_DAILY', + self::THREE_TIMES_DAILY => 'THREE_TIMES_DAILY', + self::FOUR_TIMES_DAILY => 'FOUR_TIMES_DAILY', + self::DAILY => 'DAILY', + self::WEEKLY => 'WEEKLY', + self::MONTHLY => 'MONTHLY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/MonthlySchedule.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/MonthlySchedule.php new file mode 100644 index 000000000000..c64191002e9a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/MonthlySchedule.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.ScheduleOptions.Schedule.MonthlySchedule + */ +class MonthlySchedule extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies days of the month to run report. Range is from 1-31. + * Will ignore days that are not valid for the given month. + * + * Generated from protobuf field repeated int32 monthly_scheduled_days = 1; + */ + private $monthly_scheduled_days; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[] $monthly_scheduled_days + * Specifies days of the month to run report. Range is from 1-31. + * Will ignore days that are not valid for the given month. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDelivery::initOnce(); + parent::__construct($data); + } + + /** + * Specifies days of the month to run report. Range is from 1-31. + * Will ignore days that are not valid for the given month. + * + * Generated from protobuf field repeated int32 monthly_scheduled_days = 1; + * @return RepeatedField + */ + public function getMonthlyScheduledDays() + { + return $this->monthly_scheduled_days; + } + + /** + * Specifies days of the month to run report. Range is from 1-31. + * Will ignore days that are not valid for the given month. + * + * Generated from protobuf field repeated int32 monthly_scheduled_days = 1; + * @param int[] $var + * @return $this + */ + public function setMonthlyScheduledDays($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); + $this->monthly_scheduled_days = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/WeeklySchedule.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/WeeklySchedule.php new file mode 100644 index 000000000000..a9529e89ca25 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ScheduleOptions/Schedule/WeeklySchedule.php @@ -0,0 +1,67 @@ +google.ads.admanager.v1.ScheduleOptions.Schedule.WeeklySchedule + */ +class WeeklySchedule extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies days of the week on which to run report. + * + * Generated from protobuf field repeated .google.type.DayOfWeek weekly_scheduled_days = 1; + */ + private $weekly_scheduled_days; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int[] $weekly_scheduled_days + * Specifies days of the week on which to run report. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportDelivery::initOnce(); + parent::__construct($data); + } + + /** + * Specifies days of the week on which to run report. + * + * Generated from protobuf field repeated .google.type.DayOfWeek weekly_scheduled_days = 1; + * @return RepeatedField + */ + public function getWeeklyScheduledDays() + { + return $this->weekly_scheduled_days; + } + + /** + * Specifies days of the week on which to run report. + * + * Generated from protobuf field repeated .google.type.DayOfWeek weekly_scheduled_days = 1; + * @param int[] $var + * @return $this + */ + public function setWeeklyScheduledDays($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Type\DayOfWeek::class); + $this->weekly_scheduled_days = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsRequest.php new file mode 100644 index 000000000000..397172e26a20 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsRequest.php @@ -0,0 +1,480 @@ +google.ads.admanager.v1.SearchAdReviewCenterAdsRequest + */ +class SearchAdReviewCenterAdsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of AdReviewCenterAds to return. The service + * may return fewer than this value. If unspecified, at most 50 + * AdReviewCenterAds will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. The page token to fetch the next page of AdReviewCenterAds. This + * is the value returned from a previous Search request, or empty. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, + * no other filter can be set (other than page size and page token). + * + * Generated from protobuf field repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $ad_review_center_ad_id; + /** + * Optional. If provided, only return ads that served within the given date + * range (inclusive). The date range must be within the last 30 days. If not + * provided, the date range will be the last 30 days. This filter does not + * apply to the PENDING manual review status. + * + * Generated from protobuf field .google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $date_time_range = null; + /** + * Optional. If provided, restrict the search to AdReviewCenterAds associated + * with the text (including any text on the ad or in the destination URL). If + * more than one value is provided, the search will combine them in a logical + * AND. For example, ['car', 'blue'] will match ads that contain both "car" + * and "blue", but not an ad that only contains "car". + * + * Generated from protobuf field repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $search_text; + /** + * Optional. If provided, restrict the search to creatives belonging to one of + * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx + * buyer account IDs can be found using the `ProgrammaticBuyerService`. + * + * Generated from protobuf field repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $buyer_account_id; + protected $ad_review_status; + + /** + * @param string $parent Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * + * `networks/{network_code}/webProperties/display` + * + * `networks/{network_code}/webProperties/videoAndAudio` + * + * `networks/{network_code}/webProperties/mobileApp` + * + * `networks/{network_code}/webProperties/games` + * Please see {@see AdReviewCenterAdServiceClient::webPropertyName()} for help formatting this field. + * + * @return \Google\Ads\AdManager\V1\SearchAdReviewCenterAdsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $status + * Optional. Only return ads with the given status. + * @type int $manual_review_status + * Optional. Only return ads with the given manual review status. Only + * available for networks with Manual Creative Review enabled. For more + * information, see + * https://support.google.com/admanager/answer/2586531#manual-creative-review. + * @type string $parent + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * @type int $page_size + * Optional. The maximum number of AdReviewCenterAds to return. The service + * may return fewer than this value. If unspecified, at most 50 + * AdReviewCenterAds will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * @type string $page_token + * Optional. The page token to fetch the next page of AdReviewCenterAds. This + * is the value returned from a previous Search request, or empty. + * @type string[] $ad_review_center_ad_id + * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, + * no other filter can be set (other than page size and page token). + * @type \Google\Type\Interval $date_time_range + * Optional. If provided, only return ads that served within the given date + * range (inclusive). The date range must be within the last 30 days. If not + * provided, the date range will be the last 30 days. This filter does not + * apply to the PENDING manual review status. + * @type string[] $search_text + * Optional. If provided, restrict the search to AdReviewCenterAds associated + * with the text (including any text on the ad or in the destination URL). If + * more than one value is provided, the search will combine them in a logical + * AND. For example, ['car', 'blue'] will match ads that contain both "car" + * and "blue", but not an ad that only contains "car". + * @type int[]|string[] $buyer_account_id + * Optional. If provided, restrict the search to creatives belonging to one of + * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx + * buyer account IDs can be found using the `ProgrammaticBuyerService`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Only return ads with the given status. + * + * Generated from protobuf field .google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getStatus() + { + return $this->readOneof(4); + } + + public function hasStatus() + { + return $this->hasOneof(4); + } + + /** + * Optional. Only return ads with the given status. + * + * Generated from protobuf field .google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\AdReviewCenterAdStatusEnum\AdReviewCenterAdStatus::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * Optional. Only return ads with the given manual review status. Only + * available for networks with Manual Creative Review enabled. For more + * information, see + * https://support.google.com/admanager/answer/2586531#manual-creative-review. + * + * Generated from protobuf field .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getManualReviewStatus() + { + return $this->readOneof(9); + } + + public function hasManualReviewStatus() + { + return $this->hasOneof(9); + } + + /** + * Optional. Only return ads with the given manual review status. Only + * available for networks with Manual Creative Review enabled. For more + * information, see + * https://support.google.com/admanager/answer/2586531#manual-creative-review. + * + * Generated from protobuf field .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setManualReviewStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ManualAdReviewCenterAdStatusEnum\ManualAdReviewCenterAdStatus::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The parent, which owns this collection of AdReviewCenterAds. + * Format: networks/{network_code}/webProperties/{web_property_code} + * Since a network can only have a single web property of each + * `ExchangeSyndicationProduct`, you can use the + * `ExchangeSyndicationProduct` as an alias for the web property code: + * `networks/{network_code}/webProperties/display` + * `networks/{network_code}/webProperties/videoAndAudio` + * `networks/{network_code}/webProperties/mobileApp` + * `networks/{network_code}/webProperties/games` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. The maximum number of AdReviewCenterAds to return. The service + * may return fewer than this value. If unspecified, at most 50 + * AdReviewCenterAds will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of AdReviewCenterAds to return. The service + * may return fewer than this value. If unspecified, at most 50 + * AdReviewCenterAds will be returned. The maximum value is 1000; values + * greater than 1000 will be coerced to 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. The page token to fetch the next page of AdReviewCenterAds. This + * is the value returned from a previous Search request, or empty. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. The page token to fetch the next page of AdReviewCenterAds. This + * is the value returned from a previous Search request, or empty. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, + * no other filter can be set (other than page size and page token). + * + * Generated from protobuf field repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAdReviewCenterAdId() + { + return $this->ad_review_center_ad_id; + } + + /** + * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, + * no other filter can be set (other than page size and page token). + * + * Generated from protobuf field repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setAdReviewCenterAdId($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->ad_review_center_ad_id = $arr; + + return $this; + } + + /** + * Optional. If provided, only return ads that served within the given date + * range (inclusive). The date range must be within the last 30 days. If not + * provided, the date range will be the last 30 days. This filter does not + * apply to the PENDING manual review status. + * + * Generated from protobuf field .google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Type\Interval|null + */ + public function getDateTimeRange() + { + return $this->date_time_range; + } + + public function hasDateTimeRange() + { + return isset($this->date_time_range); + } + + public function clearDateTimeRange() + { + unset($this->date_time_range); + } + + /** + * Optional. If provided, only return ads that served within the given date + * range (inclusive). The date range must be within the last 30 days. If not + * provided, the date range will be the last 30 days. This filter does not + * apply to the PENDING manual review status. + * + * Generated from protobuf field .google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Type\Interval $var + * @return $this + */ + public function setDateTimeRange($var) + { + GPBUtil::checkMessage($var, \Google\Type\Interval::class); + $this->date_time_range = $var; + + return $this; + } + + /** + * Optional. If provided, restrict the search to AdReviewCenterAds associated + * with the text (including any text on the ad or in the destination URL). If + * more than one value is provided, the search will combine them in a logical + * AND. For example, ['car', 'blue'] will match ads that contain both "car" + * and "blue", but not an ad that only contains "car". + * + * Generated from protobuf field repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getSearchText() + { + return $this->search_text; + } + + /** + * Optional. If provided, restrict the search to AdReviewCenterAds associated + * with the text (including any text on the ad or in the destination URL). If + * more than one value is provided, the search will combine them in a logical + * AND. For example, ['car', 'blue'] will match ads that contain both "car" + * and "blue", but not an ad that only contains "car". + * + * Generated from protobuf field repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setSearchText($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->search_text = $arr; + + return $this; + } + + /** + * Optional. If provided, restrict the search to creatives belonging to one of + * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx + * buyer account IDs can be found using the `ProgrammaticBuyerService`. + * + * Generated from protobuf field repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField|RepeatedField + */ + public function getBuyerAccountId() + { + return $this->buyer_account_id; + } + + /** + * Optional. If provided, restrict the search to creatives belonging to one of + * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx + * buyer account IDs can be found using the `ProgrammaticBuyerService`. + * + * Generated from protobuf field repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[]|string[] $var + * @return $this + */ + public function setBuyerAccountId($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->buyer_account_id = $arr; + + return $this; + } + + /** + * @return string + */ + public function getAdReviewStatus() + { + return $this->whichOneof("ad_review_status"); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsResponse.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsResponse.php new file mode 100644 index 000000000000..1e7420b6ca1a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SearchAdReviewCenterAdsResponse.php @@ -0,0 +1,105 @@ +google.ads.admanager.v1.SearchAdReviewCenterAdsResponse + */ +class SearchAdReviewCenterAdsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The AdReviewCenterAds that match the search request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdReviewCenterAd ad_review_center_ads = 1; + */ + private $ad_review_center_ads; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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 \Google\Ads\AdManager\V1\AdReviewCenterAd[] $ad_review_center_ads + * The AdReviewCenterAds that match the search request. + * @type string $next_page_token + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdReviewCenterAdService::initOnce(); + parent::__construct($data); + } + + /** + * The AdReviewCenterAds that match the search request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdReviewCenterAd ad_review_center_ads = 1; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdReviewCenterAd> + */ + public function getAdReviewCenterAds() + { + return $this->ad_review_center_ads; + } + + /** + * The AdReviewCenterAds that match the search request. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdReviewCenterAd ad_review_center_ads = 1; + * @param \Google\Ads\AdManager\V1\AdReviewCenterAd[] $var + * @return $this + */ + public function setAdReviewCenterAds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdReviewCenterAd::class); + $this->ad_review_center_ads = $arr; + + return $this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * + * 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/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Site.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Site.php new file mode 100644 index 000000000000..f8e4ea2d0c80 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Site.php @@ -0,0 +1,291 @@ +google.ads.admanager.v1.Site + */ +class Site extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Site`. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The URL of the Site. + * + * Generated from protobuf field optional string url = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $url = null; + /** + * Optional. The network code of the child if the Site is being managed for an + * MCM child network, or null if owned by this network. + * + * Generated from protobuf field optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $child_network_code = null; + /** + * Output only. Status of the review performed on the Site by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $approval_status = null; + /** + * Output only. The latest Site approval status change time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $approval_status_update_time = null; + /** + * Output only. Provides reasons for disapproving the Site. It is null when + * the Site is not disapproved. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $disapproval_reasons; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Site`. + * Format: `networks/{network_code}/sites/{site_id}` + * @type string $url + * Required. The URL of the Site. + * @type string $child_network_code + * Optional. The network code of the child if the Site is being managed for an + * MCM child network, or null if owned by this network. + * @type int $approval_status + * Output only. Status of the review performed on the Site by Google. + * @type \Google\Protobuf\Timestamp $approval_status_update_time + * Output only. The latest Site approval status change time. + * @type \Google\Ads\AdManager\V1\DisapprovalReason[] $disapproval_reasons + * Output only. Provides reasons for disapproving the Site. It is null when + * the Site is not disapproved. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Site`. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Site`. + * Format: `networks/{network_code}/sites/{site_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The URL of the Site. + * + * Generated from protobuf field optional string url = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getUrl() + { + return isset($this->url) ? $this->url : ''; + } + + public function hasUrl() + { + return isset($this->url); + } + + public function clearUrl() + { + unset($this->url); + } + + /** + * Required. The URL of the Site. + * + * Generated from protobuf field optional string url = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setUrl($var) + { + GPBUtil::checkString($var, True); + $this->url = $var; + + return $this; + } + + /** + * Optional. The network code of the child if the Site is being managed for an + * MCM child network, or null if owned by this network. + * + * Generated from protobuf field optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getChildNetworkCode() + { + return isset($this->child_network_code) ? $this->child_network_code : ''; + } + + public function hasChildNetworkCode() + { + return isset($this->child_network_code); + } + + public function clearChildNetworkCode() + { + unset($this->child_network_code); + } + + /** + * Optional. The network code of the child if the Site is being managed for an + * MCM child network, or null if owned by this network. + * + * Generated from protobuf field optional string child_network_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setChildNetworkCode($var) + { + GPBUtil::checkString($var, True); + $this->child_network_code = $var; + + return $this; + } + + /** + * Output only. Status of the review performed on the Site by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getApprovalStatus() + { + return isset($this->approval_status) ? $this->approval_status : 0; + } + + public function hasApprovalStatus() + { + return isset($this->approval_status); + } + + public function clearApprovalStatus() + { + unset($this->approval_status); + } + + /** + * Output only. Status of the review performed on the Site by Google. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus approval_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setApprovalStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SiteApprovalStatusEnum\SiteApprovalStatus::class); + $this->approval_status = $var; + + return $this; + } + + /** + * Output only. The latest Site approval status change time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getApprovalStatusUpdateTime() + { + return $this->approval_status_update_time; + } + + public function hasApprovalStatusUpdateTime() + { + return isset($this->approval_status_update_time); + } + + public function clearApprovalStatusUpdateTime() + { + unset($this->approval_status_update_time); + } + + /** + * Output only. The latest Site approval status change time. + * + * Generated from protobuf field optional .google.protobuf.Timestamp approval_status_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setApprovalStatusUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->approval_status_update_time = $var; + + return $this; + } + + /** + * Output only. Provides reasons for disapproving the Site. It is null when + * the Site is not disapproved. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\DisapprovalReason> + */ + public function getDisapprovalReasons() + { + return $this->disapproval_reasons; + } + + /** + * Output only. Provides reasons for disapproving the Site. It is null when + * the Site is not disapproved. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.DisapprovalReason disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\DisapprovalReason[] $var + * @return $this + */ + public function setDisapprovalReasons($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\DisapprovalReason::class); + $this->disapproval_reasons = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum.php new file mode 100644 index 000000000000..bafbb6077ac9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SiteApprovalStatusEnum + */ +class SiteApprovalStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum/SiteApprovalStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum/SiteApprovalStatus.php new file mode 100644 index 000000000000..d4ade4aa3cb6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteApprovalStatusEnum/SiteApprovalStatus.php @@ -0,0 +1,85 @@ +google.ads.admanager.v1.SiteApprovalStatusEnum.SiteApprovalStatus + */ +class SiteApprovalStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SITE_APPROVAL_STATUS_UNSPECIFIED = 0; + */ + const SITE_APPROVAL_STATUS_UNSPECIFIED = 0; + /** + * The site has been approved to serve ads. + * + * Generated from protobuf enum APPROVED = 1; + */ + const APPROVED = 1; + /** + * The site has been disapproved from serving ads. + * + * Generated from protobuf enum DISAPPROVED = 2; + */ + const DISAPPROVED = 2; + /** + * The default status with which a site is created. + * + * Generated from protobuf enum DRAFT = 3; + */ + const DRAFT = 3; + /** + * The site has been deactivated and is not serving ads due to dormancy. It + * must be resubmitted for approval. + * + * Generated from protobuf enum REQUIRES_REVIEW = 4; + */ + const REQUIRES_REVIEW = 4; + /** + * Once the site is submitted for approval, its status changes from draft to + * unchecked. It will be reviwed with an estimated turn-around time of 24h. + * Such a site cannot serve ads. + * + * Generated from protobuf enum UNCHECKED = 5; + */ + const UNCHECKED = 5; + + private static $valueToName = [ + self::SITE_APPROVAL_STATUS_UNSPECIFIED => 'SITE_APPROVAL_STATUS_UNSPECIFIED', + self::APPROVED => 'APPROVED', + self::DISAPPROVED => 'DISAPPROVED', + self::DRAFT => 'DRAFT', + self::REQUIRES_REVIEW => 'REQUIRES_REVIEW', + self::UNCHECKED => 'UNCHECKED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum.php new file mode 100644 index 000000000000..4eff688fcc1e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SiteDisapprovalReasonEnum + */ +class SiteDisapprovalReasonEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum/SiteDisapprovalReason.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum/SiteDisapprovalReason.php new file mode 100644 index 000000000000..4375eba143cd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SiteDisapprovalReasonEnum/SiteDisapprovalReason.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.SiteDisapprovalReasonEnum.SiteDisapprovalReason + */ +class SiteDisapprovalReason +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SITE_DISAPPROVAL_REASON_UNSPECIFIED = 0; + */ + const SITE_DISAPPROVAL_REASON_UNSPECIFIED = 0; + /** + * The site has content that violates policy. + * + * Generated from protobuf enum CONTENT = 1; + */ + const CONTENT = 1; + /** + * Generic error type. + * + * Generated from protobuf enum OTHER = 2; + */ + const OTHER = 2; + /** + * The parent must be an authorized seller of the child network's inventory. + * + * Generated from protobuf enum OWNERSHIP = 3; + */ + const OWNERSHIP = 3; + + private static $valueToName = [ + self::SITE_DISAPPROVAL_REASON_UNSPECIFIED => 'SITE_DISAPPROVAL_REASON_UNSPECIFIED', + self::CONTENT => 'CONTENT', + self::OTHER => 'OTHER', + self::OWNERSHIP => 'OWNERSHIP', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Size.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Size.php new file mode 100644 index 000000000000..a1d20e11f7f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Size.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.Size + */ +class Size extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The width of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 width = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $width = 0; + /** + * Required. The height of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 height = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $height = 0; + /** + * Required. The SizeType of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field .google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $size_type = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $width + * Required. The width of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * @type int $height + * Required. The height of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * @type int $size_type + * Required. The SizeType of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Size::initOnce(); + parent::__construct($data); + } + + /** + * Required. The width of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 width = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getWidth() + { + return $this->width; + } + + /** + * Required. The width of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 width = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setWidth($var) + { + GPBUtil::checkInt32($var); + $this->width = $var; + + return $this; + } + + /** + * Required. The height of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 height = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getHeight() + { + return $this->height; + } + + /** + * Required. The height of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field int32 height = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setHeight($var) + { + GPBUtil::checkInt32($var); + $this->height = $var; + + return $this; + } + + /** + * Required. The SizeType of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field .google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getSizeType() + { + return $this->size_type; + } + + /** + * Required. The SizeType of the Creative, + * [AdUnit][google.ads.admanager.v1.AdUnit], or LineItem. + * + * Generated from protobuf field .google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setSizeType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SizeTypeEnum\SizeType::class); + $this->size_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum.php new file mode 100644 index 000000000000..e57c5a18cf95 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SizeTypeEnum + */ +class SizeTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SizeTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum/SizeType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum/SizeType.php new file mode 100644 index 000000000000..db2500fb1bd0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SizeTypeEnum/SizeType.php @@ -0,0 +1,102 @@ +google.ads.admanager.v1.SizeTypeEnum.SizeType + */ +class SizeType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SIZE_TYPE_UNSPECIFIED = 0; + */ + const SIZE_TYPE_UNSPECIFIED = 0; + /** + * Dimension based size, an actual height and width in pixels. + * + * Generated from protobuf enum PIXEL = 1; + */ + const PIXEL = 1; + /** + * Size is expressed as a ratio. For example, 4:1 could be + * met by a 100 x 25 sized image. + * + * Generated from protobuf enum ASPECT_RATIO = 2; + */ + const ASPECT_RATIO = 2; + /** + * Out-of-page (Interstitial) size that is not related to the slot it is + * served. This must be used with 1x1 size. + * + * Generated from protobuf enum INTERSTITIAL = 3; + */ + const INTERSTITIAL = 3; + /** + * Size is ignored. This must be used with 1x1 + * size. + * + * Generated from protobuf enum IGNORED = 4; + */ + const IGNORED = 4; + /** + * Native size, which is a function of the how the client renders the + * creative. This must be used with 1x1 size. + * + * Generated from protobuf enum NATIVE = 5; + */ + const NATIVE = 5; + /** + * Fluid size. Automatically sizes the ad by filling the width of the + * enclosing column and adjusting the height as appropriate. This must be + * used with 1x1 size. + * + * Generated from protobuf enum FLUID = 6; + */ + const FLUID = 6; + /** + * Audio size. Used with audio ads. This must be used with 1x1 size. + * + * Generated from protobuf enum AUDIO = 7; + */ + const AUDIO = 7; + + private static $valueToName = [ + self::SIZE_TYPE_UNSPECIFIED => 'SIZE_TYPE_UNSPECIFIED', + self::PIXEL => 'PIXEL', + self::ASPECT_RATIO => 'ASPECT_RATIO', + self::INTERSTITIAL => 'INTERSTITIAL', + self::IGNORED => 'IGNORED', + self::NATIVE => 'NATIVE', + self::FLUID => 'FLUID', + self::AUDIO => 'AUDIO', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum.php new file mode 100644 index 000000000000..b727f2a4d502 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SkippableAdTypeEnum + */ +class SkippableAdTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SkippableAdTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum/SkippableAdType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum/SkippableAdType.php new file mode 100644 index 000000000000..0e6e22bc4caa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SkippableAdTypeEnum/SkippableAdType.php @@ -0,0 +1,76 @@ +google.ads.admanager.v1.SkippableAdTypeEnum.SkippableAdType + */ +class SkippableAdType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SKIPPABLE_AD_TYPE_UNSPECIFIED = 0; + */ + const SKIPPABLE_AD_TYPE_UNSPECIFIED = 0; + /** + * Any skippable or not skippable. This is only for programmatic case when + * the creative skippability is decided by the buyside. + * + * Generated from protobuf enum ANY = 1; + */ + const ANY = 1; + /** + * The ad is not skippable. + * + * Generated from protobuf enum DISABLED = 2; + */ + const DISABLED = 2; + /** + * The ad is skippable. + * + * Generated from protobuf enum ENABLED = 3; + */ + const ENABLED = 3; + /** + * The ad is an instream select ad. + * + * Generated from protobuf enum INSTREAM_SELECT = 4; + */ + const INSTREAM_SELECT = 4; + + private static $valueToName = [ + self::SKIPPABLE_AD_TYPE_UNSPECIFIED => 'SKIPPABLE_AD_TYPE_UNSPECIFIED', + self::ANY => 'ANY', + self::DISABLED => 'DISABLED', + self::ENABLED => 'ENABLED', + self::INSTREAM_SELECT => 'INSTREAM_SELECT', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Slate.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Slate.php new file mode 100644 index 000000000000..ef294e45d718 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Slate.php @@ -0,0 +1,305 @@ +google.ads.admanager.v1.Slate + */ +class Slate extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Slate`. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The display name of the Slate. It has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Output only. The status of this Slate. Slates are created in the + * [SlateStatus.ACTIVE][] state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SlateStatusEnum.SlateStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Output only. Server side transcoding status of the current slate. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoTranscodeStatusEnum.VideoTranscodeStatus transcode_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $transcode_status = null; + /** + * Optional. The location of the original asset if publisher provided and + * slate is externally hosted. + * + * Generated from protobuf field optional string video_source_url = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $video_source_url = null; + /** + * Output only. The date and time this slate was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Slate`. + * Format: `networks/{network_code}/slates/{slate_id}` + * @type string $display_name + * Required. The display name of the Slate. It has a maximum length of 255 + * characters. + * @type int $status + * Output only. The status of this Slate. Slates are created in the + * [SlateStatus.ACTIVE][] state. + * @type int $transcode_status + * Output only. Server side transcoding status of the current slate. + * @type string $video_source_url + * Optional. The location of the original asset if publisher provided and + * slate is externally hosted. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The date and time this slate was last modified. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Slate`. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Slate`. + * Format: `networks/{network_code}/slates/{slate_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The display name of the Slate. It has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The display name of the Slate. It has a maximum length of 255 + * characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The status of this Slate. Slates are created in the + * [SlateStatus.ACTIVE][] state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SlateStatusEnum.SlateStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of this Slate. Slates are created in the + * [SlateStatus.ACTIVE][] state. + * + * Generated from protobuf field optional .google.ads.admanager.v1.SlateStatusEnum.SlateStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\SlateStatusEnum\SlateStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. Server side transcoding status of the current slate. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoTranscodeStatusEnum.VideoTranscodeStatus transcode_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTranscodeStatus() + { + return isset($this->transcode_status) ? $this->transcode_status : 0; + } + + public function hasTranscodeStatus() + { + return isset($this->transcode_status); + } + + public function clearTranscodeStatus() + { + unset($this->transcode_status); + } + + /** + * Output only. Server side transcoding status of the current slate. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoTranscodeStatusEnum.VideoTranscodeStatus transcode_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTranscodeStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\VideoTranscodeStatusEnum\VideoTranscodeStatus::class); + $this->transcode_status = $var; + + return $this; + } + + /** + * Optional. The location of the original asset if publisher provided and + * slate is externally hosted. + * + * Generated from protobuf field optional string video_source_url = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getVideoSourceUrl() + { + return isset($this->video_source_url) ? $this->video_source_url : ''; + } + + public function hasVideoSourceUrl() + { + return isset($this->video_source_url); + } + + public function clearVideoSourceUrl() + { + unset($this->video_source_url); + } + + /** + * Optional. The location of the original asset if publisher provided and + * slate is externally hosted. + * + * Generated from protobuf field optional string video_source_url = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setVideoSourceUrl($var) + { + GPBUtil::checkString($var, True); + $this->video_source_url = $var; + + return $this; + } + + /** + * Output only. The date and time this slate was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The date and time this slate was last modified. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum.php new file mode 100644 index 000000000000..1399dfa92089 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SlateStatusEnum + */ +class SlateStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamEventEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum/SlateStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum/SlateStatus.php new file mode 100644 index 000000000000..3fa6d860b6db --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SlateStatusEnum/SlateStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.SlateStatusEnum.SlateStatus + */ +class SlateStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SLATE_STATUS_UNSPECIFIED = 0; + */ + const SLATE_STATUS_UNSPECIFIED = 0; + /** + * Indicates the Slate has been created and is eligible for streaming. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * Indicates the Slate has been archived. + * + * Generated from protobuf enum ARCHIVED = 2; + */ + const ARCHIVED = 2; + + private static $valueToName = [ + self::SLATE_STATUS_UNSPECIFIED => 'SLATE_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ARCHIVED => 'ARCHIVED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum.php new file mode 100644 index 000000000000..af617659e07e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.SmartSizeModeEnum + */ +class SmartSizeModeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum/SmartSizeMode.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum/SmartSizeMode.php new file mode 100644 index 000000000000..b27a9af09c55 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SmartSizeModeEnum/SmartSizeMode.php @@ -0,0 +1,69 @@ +google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeMode + */ +class SmartSizeMode +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum SMART_SIZE_MODE_UNSPECIFIED = 0; + */ + const SMART_SIZE_MODE_UNSPECIFIED = 0; + /** + * Fixed size mode (default). + * + * Generated from protobuf enum NONE = 1; + */ + const NONE = 1; + /** + * The height is fixed for the request, the width is a range. + * + * Generated from protobuf enum SMART_BANNER = 2; + */ + const SMART_BANNER = 2; + /** + * Height and width are ranges. + * + * Generated from protobuf enum DYNAMIC_SIZE = 3; + */ + const DYNAMIC_SIZE = 3; + + private static $valueToName = [ + self::SMART_SIZE_MODE_UNSPECIFIED => 'SMART_SIZE_MODE_UNSPECIFIED', + self::NONE => 'NONE', + self::SMART_BANNER => 'SMART_BANNER', + self::DYNAMIC_SIZE => 'DYNAMIC_SIZE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SourceContentConfig.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SourceContentConfig.php new file mode 100644 index 000000000000..fdd70e3bfc57 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SourceContentConfig.php @@ -0,0 +1,159 @@ +google.ads.admanager.v1.SourceContentConfig + */ +class SourceContentConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Config for how DAI should ingest media. At ingest time, we match + * the URL prefix of media in a stream's playlist with an ingest location and + * use the authentication credentials from the corresponding ingest settings + * to download the media. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ingest_settings = null; + /** + * Required. Default config for how DAI should deliver the non-modified media + * segments. At delivery time, we replace the ingest location's URL prefix + * with the delivery location's URL prefix and use the security policy from + * the delivery settings to determine how DAI needs to deliver the media so + * that users can access it. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $default_delivery_settings = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\MediaLocation $ingest_settings + * Required. Config for how DAI should ingest media. At ingest time, we match + * the URL prefix of media in a stream's playlist with an ingest location and + * use the authentication credentials from the corresponding ingest settings + * to download the media. This value is required for a valid source content + * config. + * @type \Google\Ads\AdManager\V1\MediaLocation $default_delivery_settings + * Required. Default config for how DAI should deliver the non-modified media + * segments. At delivery time, we replace the ingest location's URL prefix + * with the delivery location's URL prefix and use the security policy from + * the delivery settings to determine how DAI needs to deliver the media so + * that users can access it. This value is required for a valid source content + * config. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigMessages::initOnce(); + parent::__construct($data); + } + + /** + * Required. Config for how DAI should ingest media. At ingest time, we match + * the URL prefix of media in a stream's playlist with an ingest location and + * use the authentication credentials from the corresponding ingest settings + * to download the media. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\MediaLocation|null + */ + public function getIngestSettings() + { + return $this->ingest_settings; + } + + public function hasIngestSettings() + { + return isset($this->ingest_settings); + } + + public function clearIngestSettings() + { + unset($this->ingest_settings); + } + + /** + * Required. Config for how DAI should ingest media. At ingest time, we match + * the URL prefix of media in a stream's playlist with an ingest location and + * use the authentication credentials from the corresponding ingest settings + * to download the media. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation ingest_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\MediaLocation $var + * @return $this + */ + public function setIngestSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MediaLocation::class); + $this->ingest_settings = $var; + + return $this; + } + + /** + * Required. Default config for how DAI should deliver the non-modified media + * segments. At delivery time, we replace the ingest location's URL prefix + * with the delivery location's URL prefix and use the security policy from + * the delivery settings to determine how DAI needs to deliver the media so + * that users can access it. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\MediaLocation|null + */ + public function getDefaultDeliverySettings() + { + return $this->default_delivery_settings; + } + + public function hasDefaultDeliverySettings() + { + return isset($this->default_delivery_settings); + } + + public function clearDefaultDeliverySettings() + { + unset($this->default_delivery_settings); + } + + /** + * Required. Default config for how DAI should deliver the non-modified media + * segments. At delivery time, we replace the ingest location's URL prefix + * with the delivery location's URL prefix and use the security policy from + * the delivery settings to determine how DAI needs to deliver the media so + * that users can access it. This value is required for a valid source content + * config. + * + * Generated from protobuf field .google.ads.admanager.v1.MediaLocation default_delivery_settings = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\MediaLocation $var + * @return $this + */ + public function setDefaultDeliverySettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MediaLocation::class); + $this->default_delivery_settings = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SuggestedAdUnit.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SuggestedAdUnit.php new file mode 100644 index 000000000000..0e918136df67 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/SuggestedAdUnit.php @@ -0,0 +1,378 @@ +google.ads.admanager.v1.SuggestedAdUnit + */ +class SuggestedAdUnit extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Number of times the ad tag has been served in the past week. + * + * Generated from protobuf field optional int64 weekly_request_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $weekly_request_count = null; + /** + * Output only. Path of suggested ad unit codes from the closest existing + * ancestor ad unit that will all be created as ad units when the suggestion + * is approved. + * Example: + * If a -> b -> c are existing ad units with parent-child + * relationships, and the suggested ad unit x is a child of c, the + * `new_code_path` is (x). + * If x is the grandchild of c, the `new_code_path` is (y, x) + * where y is an ad unit that would be created as the parent ad unit of x (and + * the child of c) if the suggestion is approved. + * + * Generated from protobuf field repeated string new_code_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $new_code_path; + /** + * Output only. Code path of ad units leading up to and including the parent + * of the first suggested ad unit. Combined with the `new_code_path` field, + * this represents the full path for the suggested ad unit if approved. + * Example: + * If a -> b -> c are existing ad units with parent-child relationships, and + * the suggested ad unit x is a child of c, the `existing_code_path` is (a, + * b, c). If x is the grandchild of c, the `existing_code_path` is also (a, + * b, c). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent existing_code_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $existing_code_path; + /** + * Output only. Target window of the underlying ad tag which will be used in + * the ad unit if the suggestion is approved. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow target_window = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $target_window = null; + /** + * Output only. Target platform for the browser that clicked the underlying ad + * tag. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetPlatformEnum.TargetPlatform target_platform = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $target_platform = null; + /** + * Output only. Sizes associated with this suggested ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $ad_unit_sizes; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * @type int|string $weekly_request_count + * Output only. Number of times the ad tag has been served in the past week. + * @type string[] $new_code_path + * Output only. Path of suggested ad unit codes from the closest existing + * ancestor ad unit that will all be created as ad units when the suggestion + * is approved. + * Example: + * If a -> b -> c are existing ad units with parent-child + * relationships, and the suggested ad unit x is a child of c, the + * `new_code_path` is (x). + * If x is the grandchild of c, the `new_code_path` is (y, x) + * where y is an ad unit that would be created as the parent ad unit of x (and + * the child of c) if the suggestion is approved. + * @type \Google\Ads\AdManager\V1\AdUnitParent[] $existing_code_path + * Output only. Code path of ad units leading up to and including the parent + * of the first suggested ad unit. Combined with the `new_code_path` field, + * this represents the full path for the suggested ad unit if approved. + * Example: + * If a -> b -> c are existing ad units with parent-child relationships, and + * the suggested ad unit x is a child of c, the `existing_code_path` is (a, + * b, c). If x is the grandchild of c, the `existing_code_path` is also (a, + * b, c). + * @type int $target_window + * Output only. Target window of the underlying ad tag which will be used in + * the ad unit if the suggestion is approved. + * @type int $target_platform + * Output only. Target platform for the browser that clicked the underlying ad + * tag. + * @type \Google\Ads\AdManager\V1\AdUnitSize[] $ad_unit_sizes + * Output only. Sizes associated with this suggested ad unit. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SuggestedAdUnitMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of the `SuggestedAdUnit`. + * Format: `networks/{network_code}/suggestedAdUnits/{suggested_ad_unit_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Number of times the ad tag has been served in the past week. + * + * Generated from protobuf field optional int64 weekly_request_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getWeeklyRequestCount() + { + return isset($this->weekly_request_count) ? $this->weekly_request_count : 0; + } + + public function hasWeeklyRequestCount() + { + return isset($this->weekly_request_count); + } + + public function clearWeeklyRequestCount() + { + unset($this->weekly_request_count); + } + + /** + * Output only. Number of times the ad tag has been served in the past week. + * + * Generated from protobuf field optional int64 weekly_request_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setWeeklyRequestCount($var) + { + GPBUtil::checkInt64($var); + $this->weekly_request_count = $var; + + return $this; + } + + /** + * Output only. Path of suggested ad unit codes from the closest existing + * ancestor ad unit that will all be created as ad units when the suggestion + * is approved. + * Example: + * If a -> b -> c are existing ad units with parent-child + * relationships, and the suggested ad unit x is a child of c, the + * `new_code_path` is (x). + * If x is the grandchild of c, the `new_code_path` is (y, x) + * where y is an ad unit that would be created as the parent ad unit of x (and + * the child of c) if the suggestion is approved. + * + * Generated from protobuf field repeated string new_code_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField + */ + public function getNewCodePath() + { + return $this->new_code_path; + } + + /** + * Output only. Path of suggested ad unit codes from the closest existing + * ancestor ad unit that will all be created as ad units when the suggestion + * is approved. + * Example: + * If a -> b -> c are existing ad units with parent-child + * relationships, and the suggested ad unit x is a child of c, the + * `new_code_path` is (x). + * If x is the grandchild of c, the `new_code_path` is (y, x) + * where y is an ad unit that would be created as the parent ad unit of x (and + * the child of c) if the suggestion is approved. + * + * Generated from protobuf field repeated string new_code_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string[] $var + * @return $this + */ + public function setNewCodePath($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->new_code_path = $arr; + + return $this; + } + + /** + * Output only. Code path of ad units leading up to and including the parent + * of the first suggested ad unit. Combined with the `new_code_path` field, + * this represents the full path for the suggested ad unit if approved. + * Example: + * If a -> b -> c are existing ad units with parent-child relationships, and + * the suggested ad unit x is a child of c, the `existing_code_path` is (a, + * b, c). If x is the grandchild of c, the `existing_code_path` is also (a, + * b, c). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent existing_code_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitParent> + */ + public function getExistingCodePath() + { + return $this->existing_code_path; + } + + /** + * Output only. Code path of ad units leading up to and including the parent + * of the first suggested ad unit. Combined with the `new_code_path` field, + * this represents the full path for the suggested ad unit if approved. + * Example: + * If a -> b -> c are existing ad units with parent-child relationships, and + * the suggested ad unit x is a child of c, the `existing_code_path` is (a, + * b, c). If x is the grandchild of c, the `existing_code_path` is also (a, + * b, c). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitParent existing_code_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AdUnitParent[] $var + * @return $this + */ + public function setExistingCodePath($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitParent::class); + $this->existing_code_path = $arr; + + return $this; + } + + /** + * Output only. Target window of the underlying ad tag which will be used in + * the ad unit if the suggestion is approved. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow target_window = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTargetWindow() + { + return isset($this->target_window) ? $this->target_window : 0; + } + + public function hasTargetWindow() + { + return isset($this->target_window); + } + + public function clearTargetWindow() + { + unset($this->target_window); + } + + /** + * Output only. Target window of the underlying ad tag which will be used in + * the ad unit if the suggestion is approved. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetWindowEnum.TargetWindow target_window = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTargetWindow($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetWindowEnum\TargetWindow::class); + $this->target_window = $var; + + return $this; + } + + /** + * Output only. Target platform for the browser that clicked the underlying ad + * tag. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetPlatformEnum.TargetPlatform target_platform = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTargetPlatform() + { + return isset($this->target_platform) ? $this->target_platform : 0; + } + + public function hasTargetPlatform() + { + return isset($this->target_platform); + } + + public function clearTargetPlatform() + { + unset($this->target_platform); + } + + /** + * Output only. Target platform for the browser that clicked the underlying ad + * tag. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetPlatformEnum.TargetPlatform target_platform = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTargetPlatform($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetPlatformEnum\TargetPlatform::class); + $this->target_platform = $var; + + return $this; + } + + /** + * Output only. Sizes associated with this suggested ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Ads\AdManager\V1\AdUnitSize> + */ + public function getAdUnitSizes() + { + return $this->ad_unit_sizes; + } + + /** + * Output only. Sizes associated with this suggested ad unit. + * + * Generated from protobuf field repeated .google.ads.admanager.v1.AdUnitSize ad_unit_sizes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Ads\AdManager\V1\AdUnitSize[] $var + * @return $this + */ + public function setAdUnitSizes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\AdUnitSize::class); + $this->ad_unit_sizes = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum.php new file mode 100644 index 000000000000..8125638fd5a2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TargetPlatformEnum + */ +class TargetPlatformEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetPlatformEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum/TargetPlatform.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum/TargetPlatform.php new file mode 100644 index 000000000000..37032aac7183 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetPlatformEnum/TargetPlatform.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.TargetPlatformEnum.TargetPlatform + */ +class TargetPlatform +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TARGET_PLATFORM_UNSPECIFIED = 0; + */ + const TARGET_PLATFORM_UNSPECIFIED = 0; + /** + * A universal target platform that combines mobile and desktop features. + * + * Generated from protobuf enum ANY = 1; + */ + const ANY = 1; + /** + * Mobile devices. + * + * Generated from protobuf enum MOBILE = 2; + */ + const MOBILE = 2; + /** + * The desktop web. + * + * Generated from protobuf enum WEB = 3; + */ + const WEB = 3; + + private static $valueToName = [ + self::TARGET_PLATFORM_UNSPECIFIED => 'TARGET_PLATFORM_UNSPECIFIED', + self::ANY => 'ANY', + self::MOBILE => 'MOBILE', + 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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum.php new file mode 100644 index 000000000000..d98f766c05d6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TargetWindowEnum + */ +class TargetWindowEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum/TargetWindow.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum/TargetWindow.php new file mode 100644 index 000000000000..0b8b7afeedae --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetWindowEnum/TargetWindow.php @@ -0,0 +1,62 @@ +google.ads.admanager.v1.TargetWindowEnum.TargetWindow + */ +class TargetWindow +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TARGET_WINDOW_UNSPECIFIED = 0; + */ + const TARGET_WINDOW_UNSPECIFIED = 0; + /** + * Specifies that the link should open in the full body of the page. + * + * Generated from protobuf enum TOP = 1; + */ + const TOP = 1; + /** + * Specifies that the link should open in a new window. + * + * Generated from protobuf enum BLANK = 2; + */ + const BLANK = 2; + + private static $valueToName = [ + self::TARGET_WINDOW_UNSPECIFIED => 'TARGET_WINDOW_UNSPECIFIED', + self::TOP => 'TOP', + self::BLANK => 'BLANK', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum.php new file mode 100644 index 000000000000..06b6e1900ce9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TargetedVideoBumperTypeEnum + */ +class TargetedVideoBumperTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetedVideoBumperTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum/TargetedVideoBumperType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum/TargetedVideoBumperType.php new file mode 100644 index 000000000000..d874d8f65965 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetedVideoBumperTypeEnum/TargetedVideoBumperType.php @@ -0,0 +1,64 @@ +google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType + */ +class TargetedVideoBumperType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED = 0; + */ + const TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED = 0; + /** + * Represents the bumper position after the ad pod. + * + * Generated from protobuf enum AFTER = 1; + */ + const AFTER = 1; + /** + * Represents the bumper position before the ad pod. + * + * Generated from protobuf enum BEFORE = 2; + */ + const BEFORE = 2; + + private static $valueToName = [ + self::TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED => 'TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED', + self::AFTER => 'AFTER', + self::BEFORE => 'BEFORE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Targeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Targeting.php new file mode 100644 index 000000000000..5bcb003ede71 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Targeting.php @@ -0,0 +1,521 @@ +google.ads.admanager.v1.Targeting + */ +class Targeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Used to target/exclude various geo targets. + * + * Generated from protobuf field .google.ads.admanager.v1.GeoTargeting geo_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $geo_targeting = null; + /** + * Optional. Used to target various technology targeting dimensions. + * + * Generated from protobuf field .google.ads.admanager.v1.TechnologyTargeting technology_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $technology_targeting = null; + /** + * Optional. Used to target/exclude various ad units and/or placements. + * + * Generated from protobuf field .google.ads.admanager.v1.InventoryTargeting inventory_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $inventory_targeting = null; + /** + * Optional. Used to target specific request platforms. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestPlatformTargeting request_platform_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $request_platform_targeting = null; + /** + * Optional. Used to target key/values, audience segments, and/or CMS + * metadata. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargeting custom_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_targeting = null; + /** + * Optional. Used to target user domains. + * + * Generated from protobuf field .google.ads.admanager.v1.UserDomainTargeting user_domain_targeting = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $user_domain_targeting = null; + /** + * Optional. Used to target video positions. + * + * Generated from protobuf field .google.ads.admanager.v1.VideoPositionTargeting video_position_targeting = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $video_position_targeting = null; + /** + * Optional. Used to target data segments. + * + * Generated from protobuf field .google.ads.admanager.v1.DataSegmentTargeting data_segment_targeting = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $data_segment_targeting = null; + /** + * Optional. Used to target inventory formats. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestFormatTargeting request_format_targeting = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $request_format_targeting = null; + /** + * Optional. Used to target content. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentTargeting content_targeting = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $content_targeting = null; + /** + * Optional. Used to target mobile applications. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileApplicationTargeting mobile_application_targeting = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $mobile_application_targeting = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\GeoTargeting $geo_targeting + * Optional. Used to target/exclude various geo targets. + * @type \Google\Ads\AdManager\V1\TechnologyTargeting $technology_targeting + * Optional. Used to target various technology targeting dimensions. + * @type \Google\Ads\AdManager\V1\InventoryTargeting $inventory_targeting + * Optional. Used to target/exclude various ad units and/or placements. + * @type \Google\Ads\AdManager\V1\RequestPlatformTargeting $request_platform_targeting + * Optional. Used to target specific request platforms. + * @type \Google\Ads\AdManager\V1\CustomTargeting $custom_targeting + * Optional. Used to target key/values, audience segments, and/or CMS + * metadata. + * @type \Google\Ads\AdManager\V1\UserDomainTargeting $user_domain_targeting + * Optional. Used to target user domains. + * @type \Google\Ads\AdManager\V1\VideoPositionTargeting $video_position_targeting + * Optional. Used to target video positions. + * @type \Google\Ads\AdManager\V1\DataSegmentTargeting $data_segment_targeting + * Optional. Used to target data segments. + * @type \Google\Ads\AdManager\V1\RequestFormatTargeting $request_format_targeting + * Optional. Used to target inventory formats. + * @type \Google\Ads\AdManager\V1\ContentTargeting $content_targeting + * Optional. Used to target content. + * @type \Google\Ads\AdManager\V1\MobileApplicationTargeting $mobile_application_targeting + * Optional. Used to target mobile applications. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Used to target/exclude various geo targets. + * + * Generated from protobuf field .google.ads.admanager.v1.GeoTargeting geo_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\GeoTargeting|null + */ + public function getGeoTargeting() + { + return $this->geo_targeting; + } + + public function hasGeoTargeting() + { + return isset($this->geo_targeting); + } + + public function clearGeoTargeting() + { + unset($this->geo_targeting); + } + + /** + * Optional. Used to target/exclude various geo targets. + * + * Generated from protobuf field .google.ads.admanager.v1.GeoTargeting geo_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\GeoTargeting $var + * @return $this + */ + public function setGeoTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\GeoTargeting::class); + $this->geo_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target various technology targeting dimensions. + * + * Generated from protobuf field .google.ads.admanager.v1.TechnologyTargeting technology_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\TechnologyTargeting|null + */ + public function getTechnologyTargeting() + { + return $this->technology_targeting; + } + + public function hasTechnologyTargeting() + { + return isset($this->technology_targeting); + } + + public function clearTechnologyTargeting() + { + unset($this->technology_targeting); + } + + /** + * Optional. Used to target various technology targeting dimensions. + * + * Generated from protobuf field .google.ads.admanager.v1.TechnologyTargeting technology_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\TechnologyTargeting $var + * @return $this + */ + public function setTechnologyTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\TechnologyTargeting::class); + $this->technology_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target/exclude various ad units and/or placements. + * + * Generated from protobuf field .google.ads.admanager.v1.InventoryTargeting inventory_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\InventoryTargeting|null + */ + public function getInventoryTargeting() + { + return $this->inventory_targeting; + } + + public function hasInventoryTargeting() + { + return isset($this->inventory_targeting); + } + + public function clearInventoryTargeting() + { + unset($this->inventory_targeting); + } + + /** + * Optional. Used to target/exclude various ad units and/or placements. + * + * Generated from protobuf field .google.ads.admanager.v1.InventoryTargeting inventory_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\InventoryTargeting $var + * @return $this + */ + public function setInventoryTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\InventoryTargeting::class); + $this->inventory_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target specific request platforms. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestPlatformTargeting request_platform_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\RequestPlatformTargeting|null + */ + public function getRequestPlatformTargeting() + { + return $this->request_platform_targeting; + } + + public function hasRequestPlatformTargeting() + { + return isset($this->request_platform_targeting); + } + + public function clearRequestPlatformTargeting() + { + unset($this->request_platform_targeting); + } + + /** + * Optional. Used to target specific request platforms. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestPlatformTargeting request_platform_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\RequestPlatformTargeting $var + * @return $this + */ + public function setRequestPlatformTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\RequestPlatformTargeting::class); + $this->request_platform_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target key/values, audience segments, and/or CMS + * metadata. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargeting custom_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\CustomTargeting|null + */ + public function getCustomTargeting() + { + return $this->custom_targeting; + } + + public function hasCustomTargeting() + { + return isset($this->custom_targeting); + } + + public function clearCustomTargeting() + { + unset($this->custom_targeting); + } + + /** + * Optional. Used to target key/values, audience segments, and/or CMS + * metadata. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargeting custom_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\CustomTargeting $var + * @return $this + */ + public function setCustomTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomTargeting::class); + $this->custom_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target user domains. + * + * Generated from protobuf field .google.ads.admanager.v1.UserDomainTargeting user_domain_targeting = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\UserDomainTargeting|null + */ + public function getUserDomainTargeting() + { + return $this->user_domain_targeting; + } + + public function hasUserDomainTargeting() + { + return isset($this->user_domain_targeting); + } + + public function clearUserDomainTargeting() + { + unset($this->user_domain_targeting); + } + + /** + * Optional. Used to target user domains. + * + * Generated from protobuf field .google.ads.admanager.v1.UserDomainTargeting user_domain_targeting = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\UserDomainTargeting $var + * @return $this + */ + public function setUserDomainTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\UserDomainTargeting::class); + $this->user_domain_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target video positions. + * + * Generated from protobuf field .google.ads.admanager.v1.VideoPositionTargeting video_position_targeting = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\VideoPositionTargeting|null + */ + public function getVideoPositionTargeting() + { + return $this->video_position_targeting; + } + + public function hasVideoPositionTargeting() + { + return isset($this->video_position_targeting); + } + + public function clearVideoPositionTargeting() + { + unset($this->video_position_targeting); + } + + /** + * Optional. Used to target video positions. + * + * Generated from protobuf field .google.ads.admanager.v1.VideoPositionTargeting video_position_targeting = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\VideoPositionTargeting $var + * @return $this + */ + public function setVideoPositionTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\VideoPositionTargeting::class); + $this->video_position_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target data segments. + * + * Generated from protobuf field .google.ads.admanager.v1.DataSegmentTargeting data_segment_targeting = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\DataSegmentTargeting|null + */ + public function getDataSegmentTargeting() + { + return $this->data_segment_targeting; + } + + public function hasDataSegmentTargeting() + { + return isset($this->data_segment_targeting); + } + + public function clearDataSegmentTargeting() + { + unset($this->data_segment_targeting); + } + + /** + * Optional. Used to target data segments. + * + * Generated from protobuf field .google.ads.admanager.v1.DataSegmentTargeting data_segment_targeting = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\DataSegmentTargeting $var + * @return $this + */ + public function setDataSegmentTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DataSegmentTargeting::class); + $this->data_segment_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target inventory formats. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestFormatTargeting request_format_targeting = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\RequestFormatTargeting|null + */ + public function getRequestFormatTargeting() + { + return $this->request_format_targeting; + } + + public function hasRequestFormatTargeting() + { + return isset($this->request_format_targeting); + } + + public function clearRequestFormatTargeting() + { + unset($this->request_format_targeting); + } + + /** + * Optional. Used to target inventory formats. + * + * Generated from protobuf field .google.ads.admanager.v1.RequestFormatTargeting request_format_targeting = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\RequestFormatTargeting $var + * @return $this + */ + public function setRequestFormatTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\RequestFormatTargeting::class); + $this->request_format_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target content. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentTargeting content_targeting = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\ContentTargeting|null + */ + public function getContentTargeting() + { + return $this->content_targeting; + } + + public function hasContentTargeting() + { + return isset($this->content_targeting); + } + + public function clearContentTargeting() + { + unset($this->content_targeting); + } + + /** + * Optional. Used to target content. + * + * Generated from protobuf field .google.ads.admanager.v1.ContentTargeting content_targeting = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\ContentTargeting $var + * @return $this + */ + public function setContentTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\ContentTargeting::class); + $this->content_targeting = $var; + + return $this; + } + + /** + * Optional. Used to target mobile applications. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileApplicationTargeting mobile_application_targeting = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\MobileApplicationTargeting|null + */ + public function getMobileApplicationTargeting() + { + return $this->mobile_application_targeting; + } + + public function hasMobileApplicationTargeting() + { + return isset($this->mobile_application_targeting); + } + + public function clearMobileApplicationTargeting() + { + unset($this->mobile_application_targeting); + } + + /** + * Optional. Used to target mobile applications. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileApplicationTargeting mobile_application_targeting = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\MobileApplicationTargeting $var + * @return $this + */ + public function setMobileApplicationTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MobileApplicationTargeting::class); + $this->mobile_application_targeting = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPreset.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPreset.php new file mode 100644 index 000000000000..940dbe78dccd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPreset.php @@ -0,0 +1,211 @@ +google.ads.admanager.v1.TargetingPreset + */ +class TargetingPreset extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `TargetingPreset`. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the TargetingPreset. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. Contains the targeting criteria for the TargetingPreset. If not + * provided, empty targeting will be used as a default. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting = null; + /** + * Output only. The status of the TargetingPreset. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetingPresetStatusEnum.TargetingPresetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `TargetingPreset`. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * @type string $display_name + * Required. The name of the TargetingPreset. This attribute has a maximum + * length of 255 characters. + * @type \Google\Ads\AdManager\V1\Targeting $targeting + * Required. Contains the targeting criteria for the TargetingPreset. If not + * provided, empty targeting will be used as a default. + * @type int $status + * Output only. The status of the TargetingPreset. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `TargetingPreset`. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `TargetingPreset`. + * Format: `networks/{network_code}/targetingPresets/{targeting_preset_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the TargetingPreset. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the TargetingPreset. This attribute has a maximum + * length of 255 characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. Contains the targeting criteria for the TargetingPreset. If not + * provided, empty targeting will be used as a default. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Targeting|null + */ + public function getTargeting() + { + return $this->targeting; + } + + public function hasTargeting() + { + return isset($this->targeting); + } + + public function clearTargeting() + { + unset($this->targeting); + } + + /** + * Required. Contains the targeting criteria for the TargetingPreset. If not + * provided, empty targeting will be used as a default. + * + * Generated from protobuf field optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Targeting $var + * @return $this + */ + public function setTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Targeting::class); + $this->targeting = $var; + + return $this; + } + + /** + * Output only. The status of the TargetingPreset. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetingPresetStatusEnum.TargetingPresetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the TargetingPreset. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetingPresetStatusEnum.TargetingPresetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetingPresetStatusEnum\TargetingPresetStatus::class); + $this->status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum.php new file mode 100644 index 000000000000..96750a617fad --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TargetingPresetStatusEnum + */ +class TargetingPresetStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum/TargetingPresetStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum/TargetingPresetStatus.php new file mode 100644 index 000000000000..15113c829eba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TargetingPresetStatusEnum/TargetingPresetStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.TargetingPresetStatusEnum.TargetingPresetStatus + */ +class TargetingPresetStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TARGETING_PRESET_STATUS_UNSPECIFIED = 0; + */ + const TARGETING_PRESET_STATUS_UNSPECIFIED = 0; + /** + * The targeting preset is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The targeting preset is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::TARGETING_PRESET_STATUS_UNSPECIFIED => 'TARGETING_PRESET_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyCategory.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyCategory.php new file mode 100644 index 000000000000..98202f954e30 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyCategory.php @@ -0,0 +1,378 @@ +google.ads.admanager.v1.TaxonomyCategory + */ +class TaxonomyCategory extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `TaxonomyCategory`. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `TaxonomyCategory` ID. + * + * Generated from protobuf field optional int64 taxonomy_category_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $taxonomy_category_id = null; + /** + * Output only. Display name of the `TaxonomyCategory`. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. Whether this `TaxonomyCategory` only serves to group its + * children. + * + * Generated from protobuf field optional bool grouping_only = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $grouping_only = null; + /** + * Output only. The ID of the parent category this `TaxonomyCategory` descends + * from. + * + * Generated from protobuf field optional int64 parent_taxonomy_category_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $parent_taxonomy_category_id = null; + /** + * Output only. The taxonomy that this `TaxonomyCategory` belongs to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType taxonomy_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $taxonomy_type = null; + /** + * Output only. The list of names of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $ancestor_names; + /** + * Output only. The list of IDs of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $ancestor_taxonomy_category_ids; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `TaxonomyCategory`. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * @type int|string $taxonomy_category_id + * Output only. Deprecated: `TaxonomyCategory` ID. + * @type string $display_name + * Output only. Display name of the `TaxonomyCategory`. + * @type bool $grouping_only + * Output only. Whether this `TaxonomyCategory` only serves to group its + * children. + * @type int|string $parent_taxonomy_category_id + * Output only. The ID of the parent category this `TaxonomyCategory` descends + * from. + * @type int $taxonomy_type + * Output only. The taxonomy that this `TaxonomyCategory` belongs to. + * @type string[] $ancestor_names + * Output only. The list of names of the ancestors of this `TaxonomyCategory`. + * @type int[]|string[] $ancestor_taxonomy_category_ids + * Output only. The list of IDs of the ancestors of this `TaxonomyCategory`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TaxonomyCategoryMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `TaxonomyCategory`. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `TaxonomyCategory`. + * Format: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `TaxonomyCategory` ID. + * + * Generated from protobuf field optional int64 taxonomy_category_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getTaxonomyCategoryId() + { + if (isset($this->taxonomy_category_id)) { + @trigger_error('taxonomy_category_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->taxonomy_category_id) ? $this->taxonomy_category_id : 0; + } + + public function hasTaxonomyCategoryId() + { + if (isset($this->taxonomy_category_id)) { + @trigger_error('taxonomy_category_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->taxonomy_category_id); + } + + public function clearTaxonomyCategoryId() + { + @trigger_error('taxonomy_category_id is deprecated.', E_USER_DEPRECATED); + unset($this->taxonomy_category_id); + } + + /** + * Output only. Deprecated: `TaxonomyCategory` ID. + * + * Generated from protobuf field optional int64 taxonomy_category_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setTaxonomyCategoryId($var) + { + @trigger_error('taxonomy_category_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->taxonomy_category_id = $var; + + return $this; + } + + /** + * Output only. Display name of the `TaxonomyCategory`. + * + * Generated from protobuf field optional string display_name = 3 [(.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. Display name of the `TaxonomyCategory`. + * + * Generated from protobuf field optional string display_name = 3 [(.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. Whether this `TaxonomyCategory` only serves to group its + * children. + * + * Generated from protobuf field optional bool grouping_only = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getGroupingOnly() + { + return isset($this->grouping_only) ? $this->grouping_only : false; + } + + public function hasGroupingOnly() + { + return isset($this->grouping_only); + } + + public function clearGroupingOnly() + { + unset($this->grouping_only); + } + + /** + * Output only. Whether this `TaxonomyCategory` only serves to group its + * children. + * + * Generated from protobuf field optional bool grouping_only = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setGroupingOnly($var) + { + GPBUtil::checkBool($var); + $this->grouping_only = $var; + + return $this; + } + + /** + * Output only. The ID of the parent category this `TaxonomyCategory` descends + * from. + * + * Generated from protobuf field optional int64 parent_taxonomy_category_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getParentTaxonomyCategoryId() + { + return isset($this->parent_taxonomy_category_id) ? $this->parent_taxonomy_category_id : 0; + } + + public function hasParentTaxonomyCategoryId() + { + return isset($this->parent_taxonomy_category_id); + } + + public function clearParentTaxonomyCategoryId() + { + unset($this->parent_taxonomy_category_id); + } + + /** + * Output only. The ID of the parent category this `TaxonomyCategory` descends + * from. + * + * Generated from protobuf field optional int64 parent_taxonomy_category_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setParentTaxonomyCategoryId($var) + { + GPBUtil::checkInt64($var); + $this->parent_taxonomy_category_id = $var; + + return $this; + } + + /** + * Output only. The taxonomy that this `TaxonomyCategory` belongs to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType taxonomy_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTaxonomyType() + { + return isset($this->taxonomy_type) ? $this->taxonomy_type : 0; + } + + public function hasTaxonomyType() + { + return isset($this->taxonomy_type); + } + + public function clearTaxonomyType() + { + unset($this->taxonomy_type); + } + + /** + * Output only. The taxonomy that this `TaxonomyCategory` belongs to. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType taxonomy_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTaxonomyType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TaxonomyTypeEnum\TaxonomyType::class); + $this->taxonomy_type = $var; + + return $this; + } + + /** + * Output only. The list of names of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField + */ + public function getAncestorNames() + { + return $this->ancestor_names; + } + + /** + * Output only. The list of names of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string[] $var + * @return $this + */ + public function setAncestorNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->ancestor_names = $arr; + + return $this; + } + + /** + * Output only. The list of IDs of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField|RepeatedField + */ + public function getAncestorTaxonomyCategoryIds() + { + return $this->ancestor_taxonomy_category_ids; + } + + /** + * Output only. The list of IDs of the ancestors of this `TaxonomyCategory`. + * + * Generated from protobuf field repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int[]|string[] $var + * @return $this + */ + public function setAncestorTaxonomyCategoryIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->ancestor_taxonomy_category_ids = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum.php new file mode 100644 index 000000000000..818b2f59a646 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TaxonomyTypeEnum + */ +class TaxonomyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TaxonomyTypeEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum/TaxonomyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum/TaxonomyType.php new file mode 100644 index 000000000000..3d8993c249cd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TaxonomyTypeEnum/TaxonomyType.php @@ -0,0 +1,90 @@ +google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType + */ +class TaxonomyType +{ + /** + * Unspecified/not present + * + * Generated from protobuf enum TAXONOMY_TYPE_UNSPECIFIED = 0; + */ + const TAXONOMY_TYPE_UNSPECIFIED = 0; + /** + * The IAB Audience Taxonomy v1.1. + * + * Generated from protobuf enum TAXONOMY_IAB_AUDIENCE_1_1 = 3; + */ + const TAXONOMY_IAB_AUDIENCE_1_1 = 3; + /** + * The IAB Content Taxonomy v1.0. + * + * Generated from protobuf enum TAXONOMY_IAB_CONTENT_1_0 = 8; + */ + const TAXONOMY_IAB_CONTENT_1_0 = 8; + /** + * The IAB Content Taxonomy v2.1. + * + * Generated from protobuf enum TAXONOMY_IAB_CONTENT_2_1 = 4; + */ + const TAXONOMY_IAB_CONTENT_2_1 = 4; + /** + * The IAB Content Taxonomy v2.2. + * + * Generated from protobuf enum TAXONOMY_IAB_CONTENT_2_2 = 6; + */ + const TAXONOMY_IAB_CONTENT_2_2 = 6; + /** + * The IAB Content Taxonomy v3.0. + * + * Generated from protobuf enum TAXONOMY_IAB_CONTENT_3_0 = 5; + */ + const TAXONOMY_IAB_CONTENT_3_0 = 5; + /** + * The PPS structured video signals taxonomy. + * + * Generated from protobuf enum TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0 = 7; + */ + const TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0 = 7; + + private static $valueToName = [ + self::TAXONOMY_TYPE_UNSPECIFIED => 'TAXONOMY_TYPE_UNSPECIFIED', + self::TAXONOMY_IAB_AUDIENCE_1_1 => 'TAXONOMY_IAB_AUDIENCE_1_1', + self::TAXONOMY_IAB_CONTENT_1_0 => 'TAXONOMY_IAB_CONTENT_1_0', + self::TAXONOMY_IAB_CONTENT_2_1 => 'TAXONOMY_IAB_CONTENT_2_1', + self::TAXONOMY_IAB_CONTENT_2_2 => 'TAXONOMY_IAB_CONTENT_2_2', + self::TAXONOMY_IAB_CONTENT_3_0 => 'TAXONOMY_IAB_CONTENT_3_0', + self::TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0 => 'TAXONOMY_GOOGLE_STRUCTURED_VIDEO_1_0', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Team.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Team.php new file mode 100644 index 000000000000..3f50c8b26b0b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/Team.php @@ -0,0 +1,363 @@ +google.ads.admanager.v1.Team + */ +class Team extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `Team`. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The name of the Team. This value has a maximum length of 127 + * characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Optional. The description of the Team. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = null; + /** + * Output only. The status of the Team. This value determines the visibility + * of the team in the UI. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Optional. Whether or not users on this team have access to all companies. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with a Company. + * + * Generated from protobuf field optional bool all_companies_access = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $all_companies_access = null; + /** + * Optional. Whether or not users on this team have access to all inventory. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with an AdUnit. + * + * Generated from protobuf field optional bool all_inventory_access = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $all_inventory_access = null; + /** + * Optional. The default access to orders for users on this team. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $access_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `Team`. + * Format: `networks/{network_code}/teams/{team_id}` + * @type string $display_name + * Required. The name of the Team. This value has a maximum length of 127 + * characters. + * @type string $description + * Optional. The description of the Team. This value has a maximum length of + * 255 characters. + * @type int $status + * Output only. The status of the Team. This value determines the visibility + * of the team in the UI. + * @type bool $all_companies_access + * Optional. Whether or not users on this team have access to all companies. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with a Company. + * @type bool $all_inventory_access + * Optional. Whether or not users on this team have access to all inventory. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with an AdUnit. + * @type int $access_type + * Optional. The default access to orders for users on this team. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `Team`. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `Team`. + * Format: `networks/{network_code}/teams/{team_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The name of the Team. This value has a maximum length of 127 + * characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the Team. This value has a maximum length of 127 + * characters. + * + * Generated from protobuf field optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. The description of the Team. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return isset($this->description) ? $this->description : ''; + } + + public function hasDescription() + { + return isset($this->description); + } + + public function clearDescription() + { + unset($this->description); + } + + /** + * Optional. The description of the Team. This value has a maximum length of + * 255 characters. + * + * Generated from protobuf field optional string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Output only. The status of the Team. This value determines the visibility + * of the team in the UI. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the Team. This value determines the visibility + * of the team in the UI. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamStatusEnum.TeamStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TeamStatusEnum\TeamStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Optional. Whether or not users on this team have access to all companies. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with a Company. + * + * Generated from protobuf field optional bool all_companies_access = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllCompaniesAccess() + { + return isset($this->all_companies_access) ? $this->all_companies_access : false; + } + + public function hasAllCompaniesAccess() + { + return isset($this->all_companies_access); + } + + public function clearAllCompaniesAccess() + { + unset($this->all_companies_access); + } + + /** + * Optional. Whether or not users on this team have access to all companies. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with a Company. + * + * Generated from protobuf field optional bool all_companies_access = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllCompaniesAccess($var) + { + GPBUtil::checkBool($var); + $this->all_companies_access = $var; + + return $this; + } + + /** + * Optional. Whether or not users on this team have access to all inventory. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with an AdUnit. + * + * Generated from protobuf field optional bool all_inventory_access = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllInventoryAccess() + { + return isset($this->all_inventory_access) ? $this->all_inventory_access : false; + } + + public function hasAllInventoryAccess() + { + return isset($this->all_inventory_access); + } + + public function clearAllInventoryAccess() + { + unset($this->all_inventory_access); + } + + /** + * Optional. Whether or not users on this team have access to all inventory. + * If this value is true, then an error will be thrown if an attempt is made + * to associate this team with an AdUnit. + * + * Generated from protobuf field optional bool all_inventory_access = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllInventoryAccess($var) + { + GPBUtil::checkBool($var); + $this->all_inventory_access = $var; + + return $this; + } + + /** + * Optional. The default access to orders for users on this team. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getAccessType() + { + return isset($this->access_type) ? $this->access_type : 0; + } + + public function hasAccessType() + { + return isset($this->access_type); + } + + public function clearAccessType() + { + unset($this->access_type); + } + + /** + * Optional. The default access to orders for users on this team. + * + * Generated from protobuf field optional .google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType access_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setAccessType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TeamAccessTypeEnum\TeamAccessType::class); + $this->access_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum.php new file mode 100644 index 000000000000..759235f84e21 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TeamAccessTypeEnum + */ +class TeamAccessTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum/TeamAccessType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum/TeamAccessType.php new file mode 100644 index 000000000000..07f0ade1e1d5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamAccessTypeEnum/TeamAccessType.php @@ -0,0 +1,70 @@ +google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType + */ +class TeamAccessType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TEAM_ACCESS_TYPE_UNSPECIFIED = 0; + */ + const TEAM_ACCESS_TYPE_UNSPECIFIED = 0; + /** + * The level of access in which team members can't view or edit a team's + * orders. + * + * Generated from protobuf enum NONE = 1; + */ + const NONE = 1; + /** + * The level of access in which team members can only view a team's orders. + * + * Generated from protobuf enum READ_ONLY = 2; + */ + const READ_ONLY = 2; + /** + * The level of access in which team members can view and edit a team's + * orders. + * + * Generated from protobuf enum READ_WRITE = 3; + */ + const READ_WRITE = 3; + + private static $valueToName = [ + self::TEAM_ACCESS_TYPE_UNSPECIFIED => 'TEAM_ACCESS_TYPE_UNSPECIFIED', + self::NONE => 'NONE', + self::READ_ONLY => 'READ_ONLY', + self::READ_WRITE => 'READ_WRITE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum.php new file mode 100644 index 000000000000..a6604314a650 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.TeamStatusEnum + */ +class TeamStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum/TeamStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum/TeamStatus.php new file mode 100644 index 000000000000..527144099baa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TeamStatusEnum/TeamStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.TeamStatusEnum.TeamStatus + */ +class TeamStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TEAM_STATUS_UNSPECIFIED = 0; + */ + const TEAM_STATUS_UNSPECIFIED = 0; + /** + * The status of an active team. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The status of an inactive team. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::TEAM_STATUS_UNSPECIFIED => 'TEAM_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TechnologyTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TechnologyTargeting.php new file mode 100644 index 000000000000..7b93864e390c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TechnologyTargeting.php @@ -0,0 +1,386 @@ +google.ads.admanager.v1.TechnologyTargeting + */ +class TechnologyTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Bandwidth targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BandwidthTargeting bandwidth_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $bandwidth_targeting = null; + /** + * Optional. Browser targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserTargeting browser_targeting = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $browser_targeting = null; + /** + * Optional. Browser language targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserLanguageTargeting browser_language_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $browser_language_targeting = null; + /** + * Optional. Device capability targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCapabilityTargeting device_capability_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $device_capability_targeting = null; + /** + * Optional. Device category targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCategoryTargeting device_category_targeting = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $device_category_targeting = null; + /** + * Optional. Device manufacturer targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceManufacturerTargeting device_manufacturer_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $device_manufacturer_targeting = null; + /** + * Optional. Mobile carrier targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileCarrierTargeting mobile_carrier_targeting = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $mobile_carrier_targeting = null; + /** + * Optional. Operating system targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.OperatingSystemTargeting operating_system_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $operating_system_targeting = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\BandwidthTargeting $bandwidth_targeting + * Optional. Bandwidth targeting dimension. + * @type \Google\Ads\AdManager\V1\BrowserTargeting $browser_targeting + * Optional. Browser targeting dimension. + * @type \Google\Ads\AdManager\V1\BrowserLanguageTargeting $browser_language_targeting + * Optional. Browser language targeting dimension. + * @type \Google\Ads\AdManager\V1\DeviceCapabilityTargeting $device_capability_targeting + * Optional. Device capability targeting dimension. + * @type \Google\Ads\AdManager\V1\DeviceCategoryTargeting $device_category_targeting + * Optional. Device category targeting dimension. + * @type \Google\Ads\AdManager\V1\DeviceManufacturerTargeting $device_manufacturer_targeting + * Optional. Device manufacturer targeting dimension. + * @type \Google\Ads\AdManager\V1\MobileCarrierTargeting $mobile_carrier_targeting + * Optional. Mobile carrier targeting dimension. + * @type \Google\Ads\AdManager\V1\OperatingSystemTargeting $operating_system_targeting + * Optional. Operating system targeting dimension. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Bandwidth targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BandwidthTargeting bandwidth_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\BandwidthTargeting|null + */ + public function getBandwidthTargeting() + { + return $this->bandwidth_targeting; + } + + public function hasBandwidthTargeting() + { + return isset($this->bandwidth_targeting); + } + + public function clearBandwidthTargeting() + { + unset($this->bandwidth_targeting); + } + + /** + * Optional. Bandwidth targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BandwidthTargeting bandwidth_targeting = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\BandwidthTargeting $var + * @return $this + */ + public function setBandwidthTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\BandwidthTargeting::class); + $this->bandwidth_targeting = $var; + + return $this; + } + + /** + * Optional. Browser targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserTargeting browser_targeting = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\BrowserTargeting|null + */ + public function getBrowserTargeting() + { + return $this->browser_targeting; + } + + public function hasBrowserTargeting() + { + return isset($this->browser_targeting); + } + + public function clearBrowserTargeting() + { + unset($this->browser_targeting); + } + + /** + * Optional. Browser targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserTargeting browser_targeting = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\BrowserTargeting $var + * @return $this + */ + public function setBrowserTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\BrowserTargeting::class); + $this->browser_targeting = $var; + + return $this; + } + + /** + * Optional. Browser language targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserLanguageTargeting browser_language_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\BrowserLanguageTargeting|null + */ + public function getBrowserLanguageTargeting() + { + return $this->browser_language_targeting; + } + + public function hasBrowserLanguageTargeting() + { + return isset($this->browser_language_targeting); + } + + public function clearBrowserLanguageTargeting() + { + unset($this->browser_language_targeting); + } + + /** + * Optional. Browser language targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.BrowserLanguageTargeting browser_language_targeting = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\BrowserLanguageTargeting $var + * @return $this + */ + public function setBrowserLanguageTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\BrowserLanguageTargeting::class); + $this->browser_language_targeting = $var; + + return $this; + } + + /** + * Optional. Device capability targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCapabilityTargeting device_capability_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\DeviceCapabilityTargeting|null + */ + public function getDeviceCapabilityTargeting() + { + return $this->device_capability_targeting; + } + + public function hasDeviceCapabilityTargeting() + { + return isset($this->device_capability_targeting); + } + + public function clearDeviceCapabilityTargeting() + { + unset($this->device_capability_targeting); + } + + /** + * Optional. Device capability targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCapabilityTargeting device_capability_targeting = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\DeviceCapabilityTargeting $var + * @return $this + */ + public function setDeviceCapabilityTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DeviceCapabilityTargeting::class); + $this->device_capability_targeting = $var; + + return $this; + } + + /** + * Optional. Device category targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCategoryTargeting device_category_targeting = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\DeviceCategoryTargeting|null + */ + public function getDeviceCategoryTargeting() + { + return $this->device_category_targeting; + } + + public function hasDeviceCategoryTargeting() + { + return isset($this->device_category_targeting); + } + + public function clearDeviceCategoryTargeting() + { + unset($this->device_category_targeting); + } + + /** + * Optional. Device category targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceCategoryTargeting device_category_targeting = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\DeviceCategoryTargeting $var + * @return $this + */ + public function setDeviceCategoryTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DeviceCategoryTargeting::class); + $this->device_category_targeting = $var; + + return $this; + } + + /** + * Optional. Device manufacturer targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceManufacturerTargeting device_manufacturer_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\DeviceManufacturerTargeting|null + */ + public function getDeviceManufacturerTargeting() + { + return $this->device_manufacturer_targeting; + } + + public function hasDeviceManufacturerTargeting() + { + return isset($this->device_manufacturer_targeting); + } + + public function clearDeviceManufacturerTargeting() + { + unset($this->device_manufacturer_targeting); + } + + /** + * Optional. Device manufacturer targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.DeviceManufacturerTargeting device_manufacturer_targeting = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\DeviceManufacturerTargeting $var + * @return $this + */ + public function setDeviceManufacturerTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\DeviceManufacturerTargeting::class); + $this->device_manufacturer_targeting = $var; + + return $this; + } + + /** + * Optional. Mobile carrier targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileCarrierTargeting mobile_carrier_targeting = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\MobileCarrierTargeting|null + */ + public function getMobileCarrierTargeting() + { + return $this->mobile_carrier_targeting; + } + + public function hasMobileCarrierTargeting() + { + return isset($this->mobile_carrier_targeting); + } + + public function clearMobileCarrierTargeting() + { + unset($this->mobile_carrier_targeting); + } + + /** + * Optional. Mobile carrier targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.MobileCarrierTargeting mobile_carrier_targeting = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\MobileCarrierTargeting $var + * @return $this + */ + public function setMobileCarrierTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\MobileCarrierTargeting::class); + $this->mobile_carrier_targeting = $var; + + return $this; + } + + /** + * Optional. Operating system targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.OperatingSystemTargeting operating_system_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\AdManager\V1\OperatingSystemTargeting|null + */ + public function getOperatingSystemTargeting() + { + return $this->operating_system_targeting; + } + + public function hasOperatingSystemTargeting() + { + return isset($this->operating_system_targeting); + } + + public function clearOperatingSystemTargeting() + { + unset($this->operating_system_targeting); + } + + /** + * Optional. Operating system targeting dimension. + * + * Generated from protobuf field .google.ads.admanager.v1.OperatingSystemTargeting operating_system_targeting = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\OperatingSystemTargeting $var + * @return $this + */ + public function setOperatingSystemTargeting($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\OperatingSystemTargeting::class); + $this->operating_system_targeting = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompany.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompany.php new file mode 100644 index 000000000000..7623e97cf960 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompany.php @@ -0,0 +1,216 @@ +google.ads.admanager.v1.ThirdPartyCompany + */ +class ThirdPartyCompany extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the `ThirdPartyCompany`. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. The display name of the ThirdPartyCompany. This field must be + * unique among all ThirdPartyCompanies for this network. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $display_name = null; + /** + * Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are + * set to inactive rather than deleting them. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * Output only. The type of the ThirdPartyCompany. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the `ThirdPartyCompany`. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * @type string $display_name + * Output only. The display name of the ThirdPartyCompany. This field must be + * unique among all ThirdPartyCompanies for this network. + * @type int $status + * Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are + * set to inactive rather than deleting them. + * @type int $type + * Output only. The type of the ThirdPartyCompany. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the `ThirdPartyCompany`. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the `ThirdPartyCompany`. + * Format: + * `networks/{network_code}/thirdPartyCompanies/{third_party_company_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The display name of the ThirdPartyCompany. This field must be + * unique among all ThirdPartyCompanies for this network. + * + * Generated from protobuf field optional string display_name = 2 [(.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 ThirdPartyCompany. This field must be + * unique among all ThirdPartyCompanies for this network. + * + * Generated from protobuf field optional string display_name = 2 [(.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. The status of the ThirdPartyCompany. ThirdPartyCompanies are + * set to inactive rather than deleting them. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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); + } + + /** + * Output only. The status of the ThirdPartyCompany. ThirdPartyCompanies are + * set to inactive rather than deleting them. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ThirdPartyCompanyStatusEnum\ThirdPartyCompanyStatus::class); + $this->status = $var; + + return $this; + } + + /** + * Output only. The type of the ThirdPartyCompany. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getType() + { + return isset($this->type) ? $this->type : 0; + } + + public function hasType() + { + return isset($this->type); + } + + public function clearType() + { + unset($this->type); + } + + /** + * Output only. The type of the ThirdPartyCompany. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ThirdPartyCompanyTypeEnum\ThirdPartyCompanyType::class); + $this->type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum.php new file mode 100644 index 000000000000..b9b170ee4373 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ThirdPartyCompanyStatusEnum + */ +class ThirdPartyCompanyStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum/ThirdPartyCompanyStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum/ThirdPartyCompanyStatus.php new file mode 100644 index 000000000000..3dc3ffdcce39 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyStatusEnum/ThirdPartyCompanyStatus.php @@ -0,0 +1,61 @@ +google.ads.admanager.v1.ThirdPartyCompanyStatusEnum.ThirdPartyCompanyStatus + */ +class ThirdPartyCompanyStatus +{ + /** + * No value specified + * + * Generated from protobuf enum THIRD_PARTY_COMPANY_STATUS_UNSPECIFIED = 0; + */ + const THIRD_PARTY_COMPANY_STATUS_UNSPECIFIED = 0; + /** + * The third party company is active. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * The third party company is inactive. + * + * Generated from protobuf enum INACTIVE = 2; + */ + const INACTIVE = 2; + + private static $valueToName = [ + self::THIRD_PARTY_COMPANY_STATUS_UNSPECIFIED => 'THIRD_PARTY_COMPANY_STATUS_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::INACTIVE => 'INACTIVE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum.php new file mode 100644 index 000000000000..fb96c4c84f2a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ThirdPartyCompanyTypeEnum + */ +class ThirdPartyCompanyTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyCompanyEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum/ThirdPartyCompanyType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum/ThirdPartyCompanyType.php new file mode 100644 index 000000000000..47397f3504e1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyCompanyTypeEnum/ThirdPartyCompanyType.php @@ -0,0 +1,68 @@ +google.ads.admanager.v1.ThirdPartyCompanyTypeEnum.ThirdPartyCompanyType + */ +class ThirdPartyCompanyType +{ + /** + * No value specified + * + * Generated from protobuf enum THIRD_PARTY_COMPANY_TYPE_UNSPECIFIED = 0; + */ + const THIRD_PARTY_COMPANY_TYPE_UNSPECIFIED = 0; + /** + * A company representing multiple advertisers and agencies. + * + * Generated from protobuf enum AD_NETWORK = 1; + */ + const AD_NETWORK = 1; + /** + * An organization that provides ad serving technology. + * + * Generated from protobuf enum AD_SERVER = 2; + */ + const AD_SERVER = 2; + /** + * A company that provides video technology. + * + * Generated from protobuf enum VIDEO_TECHNOLOGY_PARTNER = 3; + */ + const VIDEO_TECHNOLOGY_PARTNER = 3; + + private static $valueToName = [ + self::THIRD_PARTY_COMPANY_TYPE_UNSPECIFIED => 'THIRD_PARTY_COMPANY_TYPE_UNSPECIFIED', + self::AD_NETWORK => 'AD_NETWORK', + self::AD_SERVER => 'AD_SERVER', + self::VIDEO_TECHNOLOGY_PARTNER => 'VIDEO_TECHNOLOGY_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); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyMeasurementSettings.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyMeasurementSettings.php new file mode 100644 index 000000000000..aad14d1c52f0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ThirdPartyMeasurementSettings.php @@ -0,0 +1,745 @@ +google.ads.admanager.v1.ThirdPartyMeasurementSettings + */ +class ThirdPartyMeasurementSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A field to determine the type of ViewabilityPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner viewability_partner = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $viewability_partner = null; + /** + * Optional. The third party partner ID for YouTube viewability verification. + * + * Generated from protobuf field optional string viewability_client_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $viewability_client_id = null; + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string viewability_reporting_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $viewability_reporting_id = null; + /** + * Optional. A field to determine the type of publisher's viewability partner. + * This field default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner publisher_viewability_partner = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_viewability_partner = null; + /** + * Optional. The third party partner ID for YouTube viewability verification + * for publisher. + * + * Generated from protobuf field optional string publisher_viewability_client_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_viewability_client_id = null; + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_viewability_reporting_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_viewability_reporting_id = null; + /** + * Optional. A field to determine the type of BrandLiftPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.BrandLiftPartnerEnum.BrandLiftPartner brand_lift_partner = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $brand_lift_partner = null; + /** + * Optional. The third party partner ID for YouTube brand lift verification. + * + * Generated from protobuf field optional string brand_lift_client_id = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $brand_lift_client_id = null; + /** + * Optional. The reporting ID that maps brand lift partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string brand_lift_reporting_id = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $brand_lift_reporting_id = null; + /** + * Optional. A field to determine the type of advertiser's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner reach_partner = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $reach_partner = null; + /** + * Optional. The third party partner ID for YouTube reach verification for + * advertiser. + * + * Generated from protobuf field optional string reach_client_id = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $reach_client_id = null; + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for advertiser. + * + * Generated from protobuf field optional string reach_reporting_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $reach_reporting_id = null; + /** + * Optional. A field to determine the type of publisher's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner publisher_reach_partner = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_reach_partner = null; + /** + * Optional. The third party partner ID for YouTube reach verification for + * publisher. + * + * Generated from protobuf field optional string publisher_reach_client_id = 17 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_reach_client_id = null; + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_reach_reporting_id = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $publisher_reach_reporting_id = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $viewability_partner + * Optional. A field to determine the type of ViewabilityPartner. This field + * default is NONE. + * @type string $viewability_client_id + * Optional. The third party partner ID for YouTube viewability verification. + * @type string $viewability_reporting_id + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data. + * @type int $publisher_viewability_partner + * Optional. A field to determine the type of publisher's viewability partner. + * This field default is NONE. + * @type string $publisher_viewability_client_id + * Optional. The third party partner ID for YouTube viewability verification + * for publisher. + * @type string $publisher_viewability_reporting_id + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data for publisher. + * @type int $brand_lift_partner + * Optional. A field to determine the type of BrandLiftPartner. This field + * default is NONE. + * @type string $brand_lift_client_id + * Optional. The third party partner ID for YouTube brand lift verification. + * @type string $brand_lift_reporting_id + * Optional. The reporting ID that maps brand lift partner data with a + * campaign (or a group of related campaigns) specific data. + * @type int $reach_partner + * Optional. A field to determine the type of advertiser's ReachPartner. This + * field default is UNKNOWN. + * @type string $reach_client_id + * Optional. The third party partner ID for YouTube reach verification for + * advertiser. + * @type string $reach_reporting_id + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for advertiser. + * @type int $publisher_reach_partner + * Optional. A field to determine the type of publisher's ReachPartner. This + * field default is UNKNOWN. + * @type string $publisher_reach_client_id + * Optional. The third party partner ID for YouTube reach verification for + * publisher. + * @type string $publisher_reach_reporting_id + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for publisher. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ThirdPartyMeasurementSettings::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A field to determine the type of ViewabilityPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner viewability_partner = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getViewabilityPartner() + { + return isset($this->viewability_partner) ? $this->viewability_partner : 0; + } + + public function hasViewabilityPartner() + { + return isset($this->viewability_partner); + } + + public function clearViewabilityPartner() + { + unset($this->viewability_partner); + } + + /** + * Optional. A field to determine the type of ViewabilityPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner viewability_partner = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setViewabilityPartner($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ViewabilityPartnerEnum\ViewabilityPartner::class); + $this->viewability_partner = $var; + + return $this; + } + + /** + * Optional. The third party partner ID for YouTube viewability verification. + * + * Generated from protobuf field optional string viewability_client_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getViewabilityClientId() + { + return isset($this->viewability_client_id) ? $this->viewability_client_id : ''; + } + + public function hasViewabilityClientId() + { + return isset($this->viewability_client_id); + } + + public function clearViewabilityClientId() + { + unset($this->viewability_client_id); + } + + /** + * Optional. The third party partner ID for YouTube viewability verification. + * + * Generated from protobuf field optional string viewability_client_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setViewabilityClientId($var) + { + GPBUtil::checkString($var, True); + $this->viewability_client_id = $var; + + return $this; + } + + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string viewability_reporting_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getViewabilityReportingId() + { + return isset($this->viewability_reporting_id) ? $this->viewability_reporting_id : ''; + } + + public function hasViewabilityReportingId() + { + return isset($this->viewability_reporting_id); + } + + public function clearViewabilityReportingId() + { + unset($this->viewability_reporting_id); + } + + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string viewability_reporting_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setViewabilityReportingId($var) + { + GPBUtil::checkString($var, True); + $this->viewability_reporting_id = $var; + + return $this; + } + + /** + * Optional. A field to determine the type of publisher's viewability partner. + * This field default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner publisher_viewability_partner = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPublisherViewabilityPartner() + { + return isset($this->publisher_viewability_partner) ? $this->publisher_viewability_partner : 0; + } + + public function hasPublisherViewabilityPartner() + { + return isset($this->publisher_viewability_partner); + } + + public function clearPublisherViewabilityPartner() + { + unset($this->publisher_viewability_partner); + } + + /** + * Optional. A field to determine the type of publisher's viewability partner. + * This field default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner publisher_viewability_partner = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPublisherViewabilityPartner($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ViewabilityPartnerEnum\ViewabilityPartner::class); + $this->publisher_viewability_partner = $var; + + return $this; + } + + /** + * Optional. The third party partner ID for YouTube viewability verification + * for publisher. + * + * Generated from protobuf field optional string publisher_viewability_client_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPublisherViewabilityClientId() + { + return isset($this->publisher_viewability_client_id) ? $this->publisher_viewability_client_id : ''; + } + + public function hasPublisherViewabilityClientId() + { + return isset($this->publisher_viewability_client_id); + } + + public function clearPublisherViewabilityClientId() + { + unset($this->publisher_viewability_client_id); + } + + /** + * Optional. The third party partner ID for YouTube viewability verification + * for publisher. + * + * Generated from protobuf field optional string publisher_viewability_client_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPublisherViewabilityClientId($var) + { + GPBUtil::checkString($var, True); + $this->publisher_viewability_client_id = $var; + + return $this; + } + + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_viewability_reporting_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPublisherViewabilityReportingId() + { + return isset($this->publisher_viewability_reporting_id) ? $this->publisher_viewability_reporting_id : ''; + } + + public function hasPublisherViewabilityReportingId() + { + return isset($this->publisher_viewability_reporting_id); + } + + public function clearPublisherViewabilityReportingId() + { + unset($this->publisher_viewability_reporting_id); + } + + /** + * Optional. The reporting ID that maps viewability partner data with a + * campaign (or a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_viewability_reporting_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPublisherViewabilityReportingId($var) + { + GPBUtil::checkString($var, True); + $this->publisher_viewability_reporting_id = $var; + + return $this; + } + + /** + * Optional. A field to determine the type of BrandLiftPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.BrandLiftPartnerEnum.BrandLiftPartner brand_lift_partner = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getBrandLiftPartner() + { + return isset($this->brand_lift_partner) ? $this->brand_lift_partner : 0; + } + + public function hasBrandLiftPartner() + { + return isset($this->brand_lift_partner); + } + + public function clearBrandLiftPartner() + { + unset($this->brand_lift_partner); + } + + /** + * Optional. A field to determine the type of BrandLiftPartner. This field + * default is NONE. + * + * Generated from protobuf field optional .google.ads.admanager.v1.BrandLiftPartnerEnum.BrandLiftPartner brand_lift_partner = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setBrandLiftPartner($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\BrandLiftPartnerEnum\BrandLiftPartner::class); + $this->brand_lift_partner = $var; + + return $this; + } + + /** + * Optional. The third party partner ID for YouTube brand lift verification. + * + * Generated from protobuf field optional string brand_lift_client_id = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBrandLiftClientId() + { + return isset($this->brand_lift_client_id) ? $this->brand_lift_client_id : ''; + } + + public function hasBrandLiftClientId() + { + return isset($this->brand_lift_client_id); + } + + public function clearBrandLiftClientId() + { + unset($this->brand_lift_client_id); + } + + /** + * Optional. The third party partner ID for YouTube brand lift verification. + * + * Generated from protobuf field optional string brand_lift_client_id = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBrandLiftClientId($var) + { + GPBUtil::checkString($var, True); + $this->brand_lift_client_id = $var; + + return $this; + } + + /** + * Optional. The reporting ID that maps brand lift partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string brand_lift_reporting_id = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBrandLiftReportingId() + { + return isset($this->brand_lift_reporting_id) ? $this->brand_lift_reporting_id : ''; + } + + public function hasBrandLiftReportingId() + { + return isset($this->brand_lift_reporting_id); + } + + public function clearBrandLiftReportingId() + { + unset($this->brand_lift_reporting_id); + } + + /** + * Optional. The reporting ID that maps brand lift partner data with a + * campaign (or a group of related campaigns) specific data. + * + * Generated from protobuf field optional string brand_lift_reporting_id = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBrandLiftReportingId($var) + { + GPBUtil::checkString($var, True); + $this->brand_lift_reporting_id = $var; + + return $this; + } + + /** + * Optional. A field to determine the type of advertiser's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner reach_partner = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getReachPartner() + { + return isset($this->reach_partner) ? $this->reach_partner : 0; + } + + public function hasReachPartner() + { + return isset($this->reach_partner); + } + + public function clearReachPartner() + { + unset($this->reach_partner); + } + + /** + * Optional. A field to determine the type of advertiser's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner reach_partner = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setReachPartner($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReachPartnerEnum\ReachPartner::class); + $this->reach_partner = $var; + + return $this; + } + + /** + * Optional. The third party partner ID for YouTube reach verification for + * advertiser. + * + * Generated from protobuf field optional string reach_client_id = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getReachClientId() + { + return isset($this->reach_client_id) ? $this->reach_client_id : ''; + } + + public function hasReachClientId() + { + return isset($this->reach_client_id); + } + + public function clearReachClientId() + { + unset($this->reach_client_id); + } + + /** + * Optional. The third party partner ID for YouTube reach verification for + * advertiser. + * + * Generated from protobuf field optional string reach_client_id = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setReachClientId($var) + { + GPBUtil::checkString($var, True); + $this->reach_client_id = $var; + + return $this; + } + + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for advertiser. + * + * Generated from protobuf field optional string reach_reporting_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getReachReportingId() + { + return isset($this->reach_reporting_id) ? $this->reach_reporting_id : ''; + } + + public function hasReachReportingId() + { + return isset($this->reach_reporting_id); + } + + public function clearReachReportingId() + { + unset($this->reach_reporting_id); + } + + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for advertiser. + * + * Generated from protobuf field optional string reach_reporting_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setReachReportingId($var) + { + GPBUtil::checkString($var, True); + $this->reach_reporting_id = $var; + + return $this; + } + + /** + * Optional. A field to determine the type of publisher's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner publisher_reach_partner = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPublisherReachPartner() + { + return isset($this->publisher_reach_partner) ? $this->publisher_reach_partner : 0; + } + + public function hasPublisherReachPartner() + { + return isset($this->publisher_reach_partner); + } + + public function clearPublisherReachPartner() + { + unset($this->publisher_reach_partner); + } + + /** + * Optional. A field to determine the type of publisher's ReachPartner. This + * field default is UNKNOWN. + * + * Generated from protobuf field optional .google.ads.admanager.v1.ReachPartnerEnum.ReachPartner publisher_reach_partner = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPublisherReachPartner($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ReachPartnerEnum\ReachPartner::class); + $this->publisher_reach_partner = $var; + + return $this; + } + + /** + * Optional. The third party partner ID for YouTube reach verification for + * publisher. + * + * Generated from protobuf field optional string publisher_reach_client_id = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPublisherReachClientId() + { + return isset($this->publisher_reach_client_id) ? $this->publisher_reach_client_id : ''; + } + + public function hasPublisherReachClientId() + { + return isset($this->publisher_reach_client_id); + } + + public function clearPublisherReachClientId() + { + unset($this->publisher_reach_client_id); + } + + /** + * Optional. The third party partner ID for YouTube reach verification for + * publisher. + * + * Generated from protobuf field optional string publisher_reach_client_id = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPublisherReachClientId($var) + { + GPBUtil::checkString($var, True); + $this->publisher_reach_client_id = $var; + + return $this; + } + + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_reach_reporting_id = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPublisherReachReportingId() + { + return isset($this->publisher_reach_reporting_id) ? $this->publisher_reach_reporting_id : ''; + } + + public function hasPublisherReachReportingId() + { + return isset($this->publisher_reach_reporting_id); + } + + public function clearPublisherReachReportingId() + { + unset($this->publisher_reach_reporting_id); + } + + /** + * Optional. The reporting ID that maps reach partner data with a campaign (or + * a group of related campaigns) specific data for publisher. + * + * Generated from protobuf field optional string publisher_reach_reporting_id = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPublisherReachReportingId($var) + { + GPBUtil::checkString($var, True); + $this->publisher_reach_reporting_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum.php new file mode 100644 index 000000000000..ac3c611971de --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum.php @@ -0,0 +1,33 @@ +google.ads.admanager.v1.TimeUnitEnum + */ +class TimeUnitEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TimeUnitEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum/TimeUnit.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum/TimeUnit.php new file mode 100644 index 000000000000..e204a5d3addb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/TimeUnitEnum/TimeUnit.php @@ -0,0 +1,104 @@ +google.ads.admanager.v1.TimeUnitEnum.TimeUnit + */ +class TimeUnit +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum TIME_UNIT_UNSPECIFIED = 0; + */ + const TIME_UNIT_UNSPECIFIED = 0; + /** + * Minute + * + * Generated from protobuf enum MINUTE = 1; + */ + const MINUTE = 1; + /** + * Hour + * + * Generated from protobuf enum HOUR = 2; + */ + const HOUR = 2; + /** + * Day + * + * Generated from protobuf enum DAY = 3; + */ + const DAY = 3; + /** + * Week + * + * Generated from protobuf enum WEEK = 4; + */ + const WEEK = 4; + /** + * Month + * + * Generated from protobuf enum MONTH = 5; + */ + const MONTH = 5; + /** + * Lifetime + * + * Generated from protobuf enum LIFETIME = 6; + */ + const LIFETIME = 6; + /** + * Per pod of ads in a video stream. Only valid for entities in a + * VIDEO_PLAYER environment. + * + * Generated from protobuf enum POD = 7; + */ + const POD = 7; + /** + * Per video stream. Only valid for entities in a VIDEO_PLAYER environment. + * + * Generated from protobuf enum STREAM = 8; + */ + const STREAM = 8; + + private static $valueToName = [ + self::TIME_UNIT_UNSPECIFIED => 'TIME_UNIT_UNSPECIFIED', + self::MINUTE => 'MINUTE', + self::HOUR => 'HOUR', + self::DAY => 'DAY', + self::WEEK => 'WEEK', + self::MONTH => 'MONTH', + self::LIFETIME => 'LIFETIME', + self::POD => 'POD', + self::STREAM => 'STREAM', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum.php new file mode 100644 index 000000000000..920ad2694aab --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.UnitTypeEnum + */ +class UnitTypeEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\GoalEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum/UnitType.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum/UnitType.php new file mode 100644 index 000000000000..bba7d52d4579 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UnitTypeEnum/UnitType.php @@ -0,0 +1,136 @@ +google.ads.admanager.v1.UnitTypeEnum.UnitType + */ +class UnitType +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum UNIT_TYPE_UNSPECIFIED = 0; + */ + const UNIT_TYPE_UNSPECIFIED = 0; + /** + * The number of impressions served by creatives associated with the line + * item. + * + * Generated from protobuf enum IMPRESSIONS = 1; + */ + const IMPRESSIONS = 1; + /** + * The number of clicks reported by creatives associated with the line item. + * The line item [type][google.ads.admanager.v1.LineItem.line_item_type] + * must be one of: + * * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD] + * * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK] + * * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY] + * + * Generated from protobuf enum CLICKS = 2; + */ + const CLICKS = 2; + /** + * The number of click-through Cost-Per-Action (CPA) conversions from + * creatives associated with the line item. This is only supported as + * secondary goal and the + * [LineItem.cost_type][google.ads.admanager.v1.LineItem.cost_type] must be + * [CostTypeEnum.CostType.CPA][]. + * + * Generated from protobuf enum CLICK_THROUGH_CPA_CONVERSIONS = 3; + */ + const CLICK_THROUGH_CPA_CONVERSIONS = 3; + /** + * The number of view-through Cost-Per-Action (CPA) conversions from + * creatives associated with the line item. This is only supported as + * secondary goal and the + * [LineItem.cost_type][google.ads.admanager.v1.LineItem.cost_type] must be + * [CostTypeEnum.CostType.CPA}. + * + * Generated from protobuf enum VIEW_THROUGH_CPA_CONVERSIONS = 4; + */ + const VIEW_THROUGH_CPA_CONVERSIONS = 4; + /** + * The number of total Cost-Per-Action (CPA) conversions from creatives + * associated with the line item. This is only supported as secondary goal + * and the [LineItem.cost_type} must be [CostTypeEnum.CostType.CPA}. + * + * Generated from protobuf enum TOTAL_CPA_CONVERSIONS = 5; + */ + const TOTAL_CPA_CONVERSIONS = 5; + /** + * The number of viewable impressions reported by creatives associated with + * the line item. The + * [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type] + * must be + * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]. + * + * Generated from protobuf enum VIEWABLE_IMPRESSIONS = 6; + */ + const VIEWABLE_IMPRESSIONS = 6; + /** + * The number of in-target impressions reported by third party measurements. + * The + * [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type] + * must be + * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]. + * + * Generated from protobuf enum IN_TARGET_IMPRESSIONS = 7; + */ + const IN_TARGET_IMPRESSIONS = 7; + /** + * The number of completed views reported by creatives associated with the + * line item. A completed view is defined as having watched the entirety of + * the in-stream video ad and is only supported for standard reservation + * video line items. The + * [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type] + * must be + * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]. + * + * Generated from protobuf enum COMPLETED_VIEWS = 8; + */ + const COMPLETED_VIEWS = 8; + + private static $valueToName = [ + self::UNIT_TYPE_UNSPECIFIED => 'UNIT_TYPE_UNSPECIFIED', + self::IMPRESSIONS => 'IMPRESSIONS', + self::CLICKS => 'CLICKS', + self::CLICK_THROUGH_CPA_CONVERSIONS => 'CLICK_THROUGH_CPA_CONVERSIONS', + self::VIEW_THROUGH_CPA_CONVERSIONS => 'VIEW_THROUGH_CPA_CONVERSIONS', + self::TOTAL_CPA_CONVERSIONS => 'TOTAL_CPA_CONVERSIONS', + self::VIEWABLE_IMPRESSIONS => 'VIEWABLE_IMPRESSIONS', + self::IN_TARGET_IMPRESSIONS => 'IN_TARGET_IMPRESSIONS', + self::COMPLETED_VIEWS => 'COMPLETED_VIEWS', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdBreakRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdBreakRequest.php new file mode 100644 index 000000000000..7ef1e351a530 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdBreakRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateAdBreakRequest + */ +class UpdateAdBreakRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `AdBreak` to update. + * The `AdBreak`'s `name` is used to identify the `AdBreak` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_break = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\AdBreak $adBreak Required. The `AdBreak` to update. + * + * The `AdBreak`'s `name` is used to identify the `AdBreak` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateAdBreakRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\AdBreak $adBreak, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAdBreak($adBreak) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdBreak $ad_break + * Required. The `AdBreak` to update. + * The `AdBreak`'s `name` is used to identify the `AdBreak` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdBreakService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `AdBreak` to update. + * The `AdBreak`'s `name` is used to identify the `AdBreak` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdBreak|null + */ + public function getAdBreak() + { + return $this->ad_break; + } + + public function hasAdBreak() + { + return isset($this->ad_break); + } + + public function clearAdBreak() + { + unset($this->ad_break); + } + + /** + * Required. The `AdBreak` to update. + * The `AdBreak`'s `name` is used to identify the `AdBreak` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdBreak ad_break = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdBreak $var + * @return $this + */ + public function setAdBreak($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdBreak::class); + $this->ad_break = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdRuleRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdRuleRequest.php new file mode 100644 index 000000000000..ce834bb36224 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdRuleRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateAdRuleRequest + */ +class UpdateAdRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `AdRule` to update. + * The `AdRule`'s `name` is used to identify the `AdRule` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_rule = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\AdRule $adRule Required. The `AdRule` to update. + * + * The `AdRule`'s `name` is used to identify the `AdRule` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateAdRuleRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\AdRule $adRule, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAdRule($adRule) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdRule $ad_rule + * Required. The `AdRule` to update. + * The `AdRule`'s `name` is used to identify the `AdRule` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdRuleService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `AdRule` to update. + * The `AdRule`'s `name` is used to identify the `AdRule` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdRule|null + */ + public function getAdRule() + { + return $this->ad_rule; + } + + public function hasAdRule() + { + return isset($this->ad_rule); + } + + public function clearAdRule() + { + unset($this->ad_rule); + } + + /** + * Required. The `AdRule` to update. + * The `AdRule`'s `name` is used to identify the `AdRule` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdRule ad_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdRule $var + * @return $this + */ + public function setAdRule($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdRule::class); + $this->ad_rule = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdSpotRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdSpotRequest.php new file mode 100644 index 000000000000..5c6310b71c24 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdSpotRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateAdSpotRequest + */ +class UpdateAdSpotRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `AdSpot` to update. + * The `AdSpot`'s `name` is used to identify the `AdSpot` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_spot = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\AdSpot $adSpot Required. The `AdSpot` to update. + * + * The `AdSpot`'s `name` is used to identify the `AdSpot` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateAdSpotRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\AdSpot $adSpot, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAdSpot($adSpot) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdSpot $ad_spot + * Required. The `AdSpot` to update. + * The `AdSpot`'s `name` is used to identify the `AdSpot` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdSpotService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `AdSpot` to update. + * The `AdSpot`'s `name` is used to identify the `AdSpot` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdSpot|null + */ + public function getAdSpot() + { + return $this->ad_spot; + } + + public function hasAdSpot() + { + return isset($this->ad_spot); + } + + public function clearAdSpot() + { + unset($this->ad_spot); + } + + /** + * Required. The `AdSpot` to update. + * The `AdSpot`'s `name` is used to identify the `AdSpot` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.AdSpot ad_spot = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdSpot $var + * @return $this + */ + public function setAdSpot($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdSpot::class); + $this->ad_spot = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdUnitRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdUnitRequest.php new file mode 100644 index 000000000000..25c69b89a1a1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateAdUnitRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdateAdUnitRequest + */ +class UpdateAdUnitRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `AdUnit` to update. + * The `AdUnit`'s name is used to identify the `AdUnit` to update. Format: + * `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ad_unit = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\AdUnit $adUnit Required. The `AdUnit` to update. + * + * The `AdUnit`'s name is used to identify the `AdUnit` to update. Format: + * `networks/{network_code}/adUnits/{ad_unit_id}` + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateAdUnitRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\AdUnit $adUnit, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAdUnit($adUnit) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\AdUnit $ad_unit + * Required. The `AdUnit` to update. + * The `AdUnit`'s name is used to identify the `AdUnit` to update. Format: + * `networks/{network_code}/adUnits/{ad_unit_id}` + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\AdUnitService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `AdUnit` to update. + * The `AdUnit`'s name is used to identify the `AdUnit` to update. Format: + * `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\AdUnit|null + */ + public function getAdUnit() + { + return $this->ad_unit; + } + + public function hasAdUnit() + { + return isset($this->ad_unit); + } + + public function clearAdUnit() + { + unset($this->ad_unit); + } + + /** + * Required. The `AdUnit` to update. + * The `AdUnit`'s name is used to identify the `AdUnit` to update. Format: + * `networks/{network_code}/adUnits/{ad_unit_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.AdUnit ad_unit = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\AdUnit $var + * @return $this + */ + public function setAdUnit($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\AdUnit::class); + $this->ad_unit = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateApplicationRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateApplicationRequest.php new file mode 100644 index 000000000000..372b0f10e69f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateApplicationRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateApplicationRequest + */ +class UpdateApplicationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Application` to update. + * The `Application`'s `name` is used to identify the `Application` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $application = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Application $application Required. The `Application` to update. + * + * The `Application`'s `name` is used to identify the `Application` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateApplicationRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Application $application, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setApplication($application) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Application $application + * Required. The `Application` to update. + * The `Application`'s `name` is used to identify the `Application` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Application` to update. + * The `Application`'s `name` is used to identify the `Application` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Application|null + */ + public function getApplication() + { + return $this->application; + } + + public function hasApplication() + { + return isset($this->application); + } + + public function clearApplication() + { + unset($this->application); + } + + /** + * Required. The `Application` to update. + * The `Application`'s `name` is used to identify the `Application` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Application application = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Application $var + * @return $this + */ + public function setApplication($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Application::class); + $this->application = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCdnConfigRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCdnConfigRequest.php new file mode 100644 index 000000000000..78442fe56aba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCdnConfigRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdateCdnConfigRequest + */ +class UpdateCdnConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `CdnConfig` to update. + * The `CdnConfig`'s `name` is used to identify the `CdnConfig` + * to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $cdn_config = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\CdnConfig $cdnConfig Required. The `CdnConfig` to update. + * + * The `CdnConfig`'s `name` is used to identify the `CdnConfig` + * to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateCdnConfigRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\CdnConfig $cdnConfig, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCdnConfig($cdnConfig) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CdnConfig $cdn_config + * Required. The `CdnConfig` to update. + * The `CdnConfig`'s `name` is used to identify the `CdnConfig` + * to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CdnConfigService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `CdnConfig` to update. + * The `CdnConfig`'s `name` is used to identify the `CdnConfig` + * to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CdnConfig|null + */ + public function getCdnConfig() + { + return $this->cdn_config; + } + + public function hasCdnConfig() + { + return isset($this->cdn_config); + } + + public function clearCdnConfig() + { + unset($this->cdn_config); + } + + /** + * Required. The `CdnConfig` to update. + * The `CdnConfig`'s `name` is used to identify the `CdnConfig` + * to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CdnConfig cdn_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CdnConfig $var + * @return $this + */ + public function setCdnConfig($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CdnConfig::class); + $this->cdn_config = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateContactRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateContactRequest.php new file mode 100644 index 000000000000..d8495a3e7169 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateContactRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateContactRequest + */ +class UpdateContactRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Contact` to update. + * The `Contact`'s `name` is used to identify the `Contact` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $contact = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Contact $contact Required. The `Contact` to update. + * + * The `Contact`'s `name` is used to identify the `Contact` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateContactRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Contact $contact, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setContact($contact) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Contact $contact + * Required. The `Contact` to update. + * The `Contact`'s `name` is used to identify the `Contact` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ContactService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Contact` to update. + * The `Contact`'s `name` is used to identify the `Contact` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Contact|null + */ + public function getContact() + { + return $this->contact; + } + + public function hasContact() + { + return isset($this->contact); + } + + public function clearContact() + { + unset($this->contact); + } + + /** + * Required. The `Contact` to update. + * The `Contact`'s `name` is used to identify the `Contact` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Contact contact = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Contact $var + * @return $this + */ + public function setContact($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Contact::class); + $this->contact = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCreativeSetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCreativeSetRequest.php new file mode 100644 index 000000000000..1fa9ec99c377 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCreativeSetRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateCreativeSetRequest + */ +class UpdateCreativeSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `CreativeSet` to update. + * The `CreativeSet`'s `name` is used to identify the `CreativeSet` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $creative_set = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\CreativeSet $creativeSet Required. The `CreativeSet` to update. + * + * The `CreativeSet`'s `name` is used to identify the `CreativeSet` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateCreativeSetRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\CreativeSet $creativeSet, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCreativeSet($creativeSet) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CreativeSet $creative_set + * Required. The `CreativeSet` to update. + * The `CreativeSet`'s `name` is used to identify the `CreativeSet` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CreativeSetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `CreativeSet` to update. + * The `CreativeSet`'s `name` is used to identify the `CreativeSet` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CreativeSet|null + */ + public function getCreativeSet() + { + return $this->creative_set; + } + + public function hasCreativeSet() + { + return isset($this->creative_set); + } + + public function clearCreativeSet() + { + unset($this->creative_set); + } + + /** + * Required. The `CreativeSet` to update. + * The `CreativeSet`'s `name` is used to identify the `CreativeSet` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CreativeSet creative_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CreativeSet $var + * @return $this + */ + public function setCreativeSet($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CreativeSet::class); + $this->creative_set = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomFieldRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomFieldRequest.php new file mode 100644 index 000000000000..fb57659bdbec --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomFieldRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateCustomFieldRequest + */ +class UpdateCustomFieldRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `CustomField` to update. + * The `CustomField`'s `name` is used to identify the `CustomField` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_field = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\CustomField $customField Required. The `CustomField` to update. + * + * The `CustomField`'s `name` is used to identify the `CustomField` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateCustomFieldRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\CustomField $customField, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomField($customField) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomField $custom_field + * Required. The `CustomField` to update. + * The `CustomField`'s `name` is used to identify the `CustomField` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomFieldService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `CustomField` to update. + * The `CustomField`'s `name` is used to identify the `CustomField` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomField|null + */ + public function getCustomField() + { + return $this->custom_field; + } + + public function hasCustomField() + { + return isset($this->custom_field); + } + + public function clearCustomField() + { + unset($this->custom_field); + } + + /** + * Required. The `CustomField` to update. + * The `CustomField`'s `name` is used to identify the `CustomField` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomField custom_field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomField $var + * @return $this + */ + public function setCustomField($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomField::class); + $this->custom_field = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingKeyRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingKeyRequest.php new file mode 100644 index 000000000000..3640159f121f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingKeyRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdateCustomTargetingKeyRequest + */ +class UpdateCustomTargetingKeyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `CustomTargetingKey` to update. + * The `CustomTargetingKey`'s `name` is used to identify the + * `CustomTargetingKey` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_targeting_key = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\CustomTargetingKey $customTargetingKey Required. The `CustomTargetingKey` to update. + * + * The `CustomTargetingKey`'s `name` is used to identify the + * `CustomTargetingKey` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateCustomTargetingKeyRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\CustomTargetingKey $customTargetingKey, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomTargetingKey($customTargetingKey) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingKey $custom_targeting_key + * Required. The `CustomTargetingKey` to update. + * The `CustomTargetingKey`'s `name` is used to identify the + * `CustomTargetingKey` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingKeyService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `CustomTargetingKey` to update. + * The `CustomTargetingKey`'s `name` is used to identify the + * `CustomTargetingKey` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomTargetingKey|null + */ + public function getCustomTargetingKey() + { + return $this->custom_targeting_key; + } + + public function hasCustomTargetingKey() + { + return isset($this->custom_targeting_key); + } + + public function clearCustomTargetingKey() + { + unset($this->custom_targeting_key); + } + + /** + * Required. The `CustomTargetingKey` to update. + * The `CustomTargetingKey`'s `name` is used to identify the + * `CustomTargetingKey` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomTargetingKey $var + * @return $this + */ + public function setCustomTargetingKey($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomTargetingKey::class); + $this->custom_targeting_key = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingValueRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingValueRequest.php new file mode 100644 index 000000000000..c156e814b73a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateCustomTargetingValueRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdateCustomTargetingValueRequest + */ +class UpdateCustomTargetingValueRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `CustomTargetingValue` to update. + * The `CustomTargetingValue`'s `name` is used to identify the + * `CustomTargetingValue` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_targeting_value = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\CustomTargetingValue $customTargetingValue Required. The `CustomTargetingValue` to update. + * + * The `CustomTargetingValue`'s `name` is used to identify the + * `CustomTargetingValue` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateCustomTargetingValueRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\CustomTargetingValue $customTargetingValue, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomTargetingValue($customTargetingValue) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\CustomTargetingValue $custom_targeting_value + * Required. The `CustomTargetingValue` to update. + * The `CustomTargetingValue`'s `name` is used to identify the + * `CustomTargetingValue` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\CustomTargetingValueService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `CustomTargetingValue` to update. + * The `CustomTargetingValue`'s `name` is used to identify the + * `CustomTargetingValue` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\CustomTargetingValue|null + */ + public function getCustomTargetingValue() + { + return $this->custom_targeting_value; + } + + public function hasCustomTargetingValue() + { + return isset($this->custom_targeting_value); + } + + public function clearCustomTargetingValue() + { + unset($this->custom_targeting_value); + } + + /** + * Required. The `CustomTargetingValue` to update. + * The `CustomTargetingValue`'s `name` is used to identify the + * `CustomTargetingValue` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\CustomTargetingValue $var + * @return $this + */ + public function setCustomTargetingValue($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\CustomTargetingValue::class); + $this->custom_targeting_value = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateEntitySignalsMappingRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateEntitySignalsMappingRequest.php new file mode 100644 index 000000000000..93c38d449542 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateEntitySignalsMappingRequest.php @@ -0,0 +1,157 @@ +google.ads.admanager.v1.UpdateEntitySignalsMappingRequest + */ +class UpdateEntitySignalsMappingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `EntitySignalsMapping` to update. + * The EntitySignalsMapping's name is used to identify the + * EntitySignalsMapping to update. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}` + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $entity_signals_mapping = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping $entitySignalsMapping Required. The `EntitySignalsMapping` to update. + * + * The EntitySignalsMapping's name is used to identify the + * EntitySignalsMapping to update. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}` + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateEntitySignalsMappingRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\EntitySignalsMapping $entitySignalsMapping, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setEntitySignalsMapping($entitySignalsMapping) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\EntitySignalsMapping $entity_signals_mapping + * Required. The `EntitySignalsMapping` to update. + * The EntitySignalsMapping's name is used to identify the + * EntitySignalsMapping to update. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}` + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\EntitySignalsMappingService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `EntitySignalsMapping` to update. + * The EntitySignalsMapping's name is used to identify the + * EntitySignalsMapping to update. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}` + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\EntitySignalsMapping|null + */ + public function getEntitySignalsMapping() + { + return $this->entity_signals_mapping; + } + + public function hasEntitySignalsMapping() + { + return isset($this->entity_signals_mapping); + } + + public function clearEntitySignalsMapping() + { + unset($this->entity_signals_mapping); + } + + /** + * Required. The `EntitySignalsMapping` to update. + * The EntitySignalsMapping's name is used to identify the + * EntitySignalsMapping to update. + * Format: + * `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}` + * + * Generated from protobuf field .google.ads.admanager.v1.EntitySignalsMapping entity_signals_mapping = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\EntitySignalsMapping $var + * @return $this + */ + public function setEntitySignalsMapping($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\EntitySignalsMapping::class); + $this->entity_signals_mapping = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLabelRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLabelRequest.php new file mode 100644 index 000000000000..8a74a05084c8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLabelRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateLabelRequest + */ +class UpdateLabelRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Label` to update. + * The `Label`'s `name` is used to identify the `Label` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $label = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Label $label Required. The `Label` to update. + * + * The `Label`'s `name` is used to identify the `Label` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateLabelRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Label $label, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setLabel($label) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Label $label + * Required. The `Label` to update. + * The `Label`'s `name` is used to identify the `Label` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LabelService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Label` to update. + * The `Label`'s `name` is used to identify the `Label` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Label|null + */ + public function getLabel() + { + return $this->label; + } + + public function hasLabel() + { + return isset($this->label); + } + + public function clearLabel() + { + unset($this->label); + } + + /** + * Required. The `Label` to update. + * The `Label`'s `name` is used to identify the `Label` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Label $var + * @return $this + */ + public function setLabel($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Label::class); + $this->label = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLiveStreamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLiveStreamRequest.php new file mode 100644 index 000000000000..1de6db4d3611 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateLiveStreamRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateLiveStreamRequest + */ +class UpdateLiveStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `LiveStream` to update. + * The `LiveStream`'s `name` is used to identify the `LiveStream` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $live_stream = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\LiveStream $liveStream Required. The `LiveStream` to update. + * + * The `LiveStream`'s `name` is used to identify the `LiveStream` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateLiveStreamRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\LiveStream $liveStream, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setLiveStream($liveStream) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\LiveStream $live_stream + * Required. The `LiveStream` to update. + * The `LiveStream`'s `name` is used to identify the `LiveStream` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\LiveStreamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `LiveStream` to update. + * The `LiveStream`'s `name` is used to identify the `LiveStream` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\LiveStream|null + */ + public function getLiveStream() + { + return $this->live_stream; + } + + public function hasLiveStream() + { + return isset($this->live_stream); + } + + public function clearLiveStream() + { + unset($this->live_stream); + } + + /** + * Required. The `LiveStream` to update. + * The `LiveStream`'s `name` is used to identify the `LiveStream` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.LiveStream live_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\LiveStream $var + * @return $this + */ + public function setLiveStream($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\LiveStream::class); + $this->live_stream = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateOrderRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateOrderRequest.php new file mode 100644 index 000000000000..f2ddc051aeda --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateOrderRequest.php @@ -0,0 +1,129 @@ +google.ads.admanager.v1.UpdateOrderRequest + */ +class UpdateOrderRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Order` to update. + * The Order's name is used to identify the order to update. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $order = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Order $order + * Required. The `Order` to update. + * The Order's name is used to identify the order to update. + * Format: `networks/{network_code}/orders/{order_id}` + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\OrderService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Order` to update. + * The Order's name is used to identify the order to update. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Order|null + */ + public function getOrder() + { + return $this->order; + } + + public function hasOrder() + { + return isset($this->order); + } + + public function clearOrder() + { + unset($this->order); + } + + /** + * Required. The `Order` to update. + * The Order's name is used to identify the order to update. + * Format: `networks/{network_code}/orders/{order_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Order order = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Order $var + * @return $this + */ + public function setOrder($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Order::class); + $this->order = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePlacementRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePlacementRequest.php new file mode 100644 index 000000000000..fe02b62d12f6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePlacementRequest.php @@ -0,0 +1,152 @@ +google.ads.admanager.v1.UpdatePlacementRequest + */ +class UpdatePlacementRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Placement` to update. + * The `Placement`'s name is used to identify the `Placement` to + * update. Format: + * `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $placement = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Placement $placement Required. The `Placement` to update. + * + * The `Placement`'s name is used to identify the `Placement` to + * update. Format: + * `networks/{network_code}/placements/{placement_id}` + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdatePlacementRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Placement $placement, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setPlacement($placement) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Placement $placement + * Required. The `Placement` to update. + * The `Placement`'s name is used to identify the `Placement` to + * update. Format: + * `networks/{network_code}/placements/{placement_id}` + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PlacementService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Placement` to update. + * The `Placement`'s name is used to identify the `Placement` to + * update. Format: + * `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Placement|null + */ + public function getPlacement() + { + return $this->placement; + } + + public function hasPlacement() + { + return isset($this->placement); + } + + public function clearPlacement() + { + unset($this->placement); + } + + /** + * Required. The `Placement` to update. + * The `Placement`'s name is used to identify the `Placement` to + * update. Format: + * `networks/{network_code}/placements/{placement_id}` + * + * Generated from protobuf field .google.ads.admanager.v1.Placement placement = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Placement $var + * @return $this + */ + public function setPlacement($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Placement::class); + $this->placement = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionDealRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionDealRequest.php new file mode 100644 index 000000000000..d1a8248635c7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionDealRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdatePrivateAuctionDealRequest + */ +class UpdatePrivateAuctionDealRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `PrivateAuctionDeal` to update. + * The `PrivateAuctionDeal`'s `name` is used to identify the + * `PrivateAuctionDeal` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $private_auction_deal = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal $privateAuctionDeal Required. The `PrivateAuctionDeal` to update. + * + * The `PrivateAuctionDeal`'s `name` is used to identify the + * `PrivateAuctionDeal` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdatePrivateAuctionDealRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\PrivateAuctionDeal $privateAuctionDeal, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setPrivateAuctionDeal($privateAuctionDeal) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\PrivateAuctionDeal $private_auction_deal + * Required. The `PrivateAuctionDeal` to update. + * The `PrivateAuctionDeal`'s `name` is used to identify the + * `PrivateAuctionDeal` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionDealService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `PrivateAuctionDeal` to update. + * The `PrivateAuctionDeal`'s `name` is used to identify the + * `PrivateAuctionDeal` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\PrivateAuctionDeal|null + */ + public function getPrivateAuctionDeal() + { + return $this->private_auction_deal; + } + + public function hasPrivateAuctionDeal() + { + return isset($this->private_auction_deal); + } + + public function clearPrivateAuctionDeal() + { + unset($this->private_auction_deal); + } + + /** + * Required. The `PrivateAuctionDeal` to update. + * The `PrivateAuctionDeal`'s `name` is used to identify the + * `PrivateAuctionDeal` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuctionDeal private_auction_deal = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\PrivateAuctionDeal $var + * @return $this + */ + public function setPrivateAuctionDeal($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrivateAuctionDeal::class); + $this->private_auction_deal = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionRequest.php new file mode 100644 index 000000000000..a493c899cbd0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdatePrivateAuctionRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdatePrivateAuctionRequest + */ +class UpdatePrivateAuctionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `PrivateAuction` to update. + * The `PrivateAuction`'s `name` is used to identify the + * `PrivateAuction` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $private_auction = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\PrivateAuction $privateAuction Required. The `PrivateAuction` to update. + * + * The `PrivateAuction`'s `name` is used to identify the + * `PrivateAuction` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdatePrivateAuctionRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\PrivateAuction $privateAuction, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setPrivateAuction($privateAuction) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\PrivateAuction $private_auction + * Required. The `PrivateAuction` to update. + * The `PrivateAuction`'s `name` is used to identify the + * `PrivateAuction` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\PrivateAuctionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `PrivateAuction` to update. + * The `PrivateAuction`'s `name` is used to identify the + * `PrivateAuction` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\PrivateAuction|null + */ + public function getPrivateAuction() + { + return $this->private_auction; + } + + public function hasPrivateAuction() + { + return isset($this->private_auction); + } + + public function clearPrivateAuction() + { + unset($this->private_auction); + } + + /** + * Required. The `PrivateAuction` to update. + * The `PrivateAuction`'s `name` is used to identify the + * `PrivateAuction` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.PrivateAuction private_auction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\PrivateAuction $var + * @return $this + */ + public function setPrivateAuction($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\PrivateAuction::class); + $this->private_auction = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateReportRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateReportRequest.php new file mode 100644 index 000000000000..4ebb16eecda3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateReportRequest.php @@ -0,0 +1,136 @@ +google.ads.admanager.v1.UpdateReportRequest + */ +class UpdateReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Report` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $report = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Report $report Required. The `Report` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateReportRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Report $report, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setReport($report) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Report $report + * Required. The `Report` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Report` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Report|null + */ + public function getReport() + { + return $this->report; + } + + public function hasReport() + { + return isset($this->report); + } + + public function clearReport() + { + unset($this->report); + } + + /** + * Required. The `Report` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Report report = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Report $var + * @return $this + */ + public function setReport($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Report::class); + $this->report = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSiteRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSiteRequest.php new file mode 100644 index 000000000000..a00477020936 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSiteRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateSiteRequest + */ +class UpdateSiteRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Site` to update. + * The `Site`'s `name` is used to identify the `Site` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $site = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Site $site Required. The `Site` to update. + * + * The `Site`'s `name` is used to identify the `Site` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateSiteRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Site $site, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSite($site) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Site $site + * Required. The `Site` to update. + * The `Site`'s `name` is used to identify the `Site` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SiteService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Site` to update. + * The `Site`'s `name` is used to identify the `Site` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Site|null + */ + public function getSite() + { + return $this->site; + } + + public function hasSite() + { + return isset($this->site); + } + + public function clearSite() + { + unset($this->site); + } + + /** + * Required. The `Site` to update. + * The `Site`'s `name` is used to identify the `Site` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Site site = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Site $var + * @return $this + */ + public function setSite($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Site::class); + $this->site = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSlateRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSlateRequest.php new file mode 100644 index 000000000000..6f973dd5e5f0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateSlateRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateSlateRequest + */ +class UpdateSlateRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Slate` to update. + * The `Slate`'s `name` is used to identify the `Slate` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $slate = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Slate $slate Required. The `Slate` to update. + * + * The `Slate`'s `name` is used to identify the `Slate` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateSlateRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Slate $slate, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSlate($slate) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Slate $slate + * Required. The `Slate` to update. + * The `Slate`'s `name` is used to identify the `Slate` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\SlateService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Slate` to update. + * The `Slate`'s `name` is used to identify the `Slate` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Slate|null + */ + public function getSlate() + { + return $this->slate; + } + + public function hasSlate() + { + return isset($this->slate); + } + + public function clearSlate() + { + unset($this->slate); + } + + /** + * Required. The `Slate` to update. + * The `Slate`'s `name` is used to identify the `Slate` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Slate $var + * @return $this + */ + public function setSlate($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Slate::class); + $this->slate = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTargetingPresetRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTargetingPresetRequest.php new file mode 100644 index 000000000000..6388060c3b0c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTargetingPresetRequest.php @@ -0,0 +1,147 @@ +google.ads.admanager.v1.UpdateTargetingPresetRequest + */ +class UpdateTargetingPresetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `TargetingPreset` to update. + * The `TargetingPreset`'s `name` is used to identify the `TargetingPreset` to + * update. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $targeting_preset = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\TargetingPreset $targetingPreset Required. The `TargetingPreset` to update. + * + * The `TargetingPreset`'s `name` is used to identify the `TargetingPreset` to + * update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateTargetingPresetRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\TargetingPreset $targetingPreset, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setTargetingPreset($targetingPreset) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\TargetingPreset $targeting_preset + * Required. The `TargetingPreset` to update. + * The `TargetingPreset`'s `name` is used to identify the `TargetingPreset` to + * update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TargetingPresetService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `TargetingPreset` to update. + * The `TargetingPreset`'s `name` is used to identify the `TargetingPreset` to + * update. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\TargetingPreset|null + */ + public function getTargetingPreset() + { + return $this->targeting_preset; + } + + public function hasTargetingPreset() + { + return isset($this->targeting_preset); + } + + public function clearTargetingPreset() + { + unset($this->targeting_preset); + } + + /** + * Required. The `TargetingPreset` to update. + * The `TargetingPreset`'s `name` is used to identify the `TargetingPreset` to + * update. + * + * Generated from protobuf field .google.ads.admanager.v1.TargetingPreset targeting_preset = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\TargetingPreset $var + * @return $this + */ + public function setTargetingPreset($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\TargetingPreset::class); + $this->targeting_preset = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTeamRequest.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTeamRequest.php new file mode 100644 index 000000000000..0ded9bd6f03f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UpdateTeamRequest.php @@ -0,0 +1,142 @@ +google.ads.admanager.v1.UpdateTeamRequest + */ +class UpdateTeamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `Team` to update. + * The `Team`'s `name` is used to identify the `Team` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $team = null; + /** + * Optional. The list of fields to update. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Ads\AdManager\V1\Team $team Required. The `Team` to update. + * + * The `Team`'s `name` is used to identify the `Team` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. + * + * @return \Google\Ads\AdManager\V1\UpdateTeamRequest + * + * @experimental + */ + public static function build(\Google\Ads\AdManager\V1\Team $team, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setTeam($team) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\Team $team + * Required. The `Team` to update. + * The `Team`'s `name` is used to identify the `Team` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\TeamService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `Team` to update. + * The `Team`'s `name` is used to identify the `Team` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\AdManager\V1\Team|null + */ + public function getTeam() + { + return $this->team; + } + + public function hasTeam() + { + return isset($this->team); + } + + public function clearTeam() + { + unset($this->team); + } + + /** + * Required. The `Team` to update. + * The `Team`'s `name` is used to identify the `Team` to update. + * + * Generated from protobuf field .google.ads.admanager.v1.Team team = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\AdManager\V1\Team $var + * @return $this + */ + public function setTeam($var) + { + GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Team::class); + $this->team = $var; + + return $this; + } + + /** + * Optional. The list of fields to 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. The list of fields to 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; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/User.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/User.php new file mode 100644 index 000000000000..e9f9d4e64bf3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/User.php @@ -0,0 +1,470 @@ +google.ads.admanager.v1.User + */ +class User extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Deprecated: `User` ID. + * + * Generated from protobuf field optional int64 user_id = 10 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated + */ + protected $user_id = null; + /** + * Required. The name of the User. It has a maximum length of 128 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = null; + /** + * Required. The email or login of the User. In order to create a new user, + * you must already have a Google Account. + * + * Generated from protobuf field optional string email = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $email = null; + /** + * Required. The unique Role ID of the User. Roles that are created by Google + * will have negative IDs. + * + * Generated from protobuf field optional string role = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $role = null; + /** + * Output only. Specifies whether or not the User is active. An inactive user + * cannot log in to the system or perform any operations. + * + * Generated from protobuf field optional bool active = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $active = null; + /** + * Optional. An identifier for the User that is meaningful to the publisher. + * This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $external_id = null; + /** + * Output only. Whether the user is an OAuth2 service account user. + * Service account users can only be added through the UI. + * + * Generated from protobuf field optional bool service_account = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $service_account = null; + /** + * Optional. The IANA Time Zone Database time zone, e.g. "America/New_York", + * used in the orders and line items UI for this User. If not provided, the UI + * then defaults to using the Network's timezone. This setting only affects + * the UI for this user and does not affect the timezone of any dates and + * times returned in API responses. + * + * Generated from protobuf field optional string orders_ui_local_time_zone = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $orders_ui_local_time_zone = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * @type int|string $user_id + * Output only. Deprecated: `User` ID. + * @type string $display_name + * Required. The name of the User. It has a maximum length of 128 characters. + * @type string $email + * Required. The email or login of the User. In order to create a new user, + * you must already have a Google Account. + * @type string $role + * Required. The unique Role ID of the User. Roles that are created by Google + * will have negative IDs. + * @type bool $active + * Output only. Specifies whether or not the User is active. An inactive user + * cannot log in to the system or perform any operations. + * @type string $external_id + * Optional. An identifier for the User that is meaningful to the publisher. + * This attribute has a maximum length of 255 characters. + * @type bool $service_account + * Output only. Whether the user is an OAuth2 service account user. + * Service account users can only be added through the UI. + * @type string $orders_ui_local_time_zone + * Optional. The IANA Time Zone Database time zone, e.g. "America/New_York", + * used in the orders and line items UI for this User. If not provided, the UI + * then defaults to using the Network's timezone. This setting only affects + * the UI for this user and does not affect the timezone of any dates and + * times returned in API responses. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\UserMessages::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the User. + * Format: `networks/{network_code}/users/{user_id}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Deprecated: `User` ID. + * + * Generated from protobuf field optional int64 user_id = 10 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + * @deprecated + */ + public function getUserId() + { + if (isset($this->user_id)) { + @trigger_error('user_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->user_id) ? $this->user_id : 0; + } + + public function hasUserId() + { + if (isset($this->user_id)) { + @trigger_error('user_id is deprecated.', E_USER_DEPRECATED); + } + return isset($this->user_id); + } + + public function clearUserId() + { + @trigger_error('user_id is deprecated.', E_USER_DEPRECATED); + unset($this->user_id); + } + + /** + * Output only. Deprecated: `User` ID. + * + * Generated from protobuf field optional int64 user_id = 10 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + * @deprecated + */ + public function setUserId($var) + { + @trigger_error('user_id is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt64($var); + $this->user_id = $var; + + return $this; + } + + /** + * Required. The name of the User. It has a maximum length of 128 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @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); + } + + /** + * Required. The name of the User. It has a maximum length of 128 characters. + * + * Generated from protobuf field optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. The email or login of the User. In order to create a new user, + * you must already have a Google Account. + * + * Generated from protobuf field optional string email = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getEmail() + { + return isset($this->email) ? $this->email : ''; + } + + public function hasEmail() + { + return isset($this->email); + } + + public function clearEmail() + { + unset($this->email); + } + + /** + * Required. The email or login of the User. In order to create a new user, + * you must already have a Google Account. + * + * Generated from protobuf field optional string email = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setEmail($var) + { + GPBUtil::checkString($var, True); + $this->email = $var; + + return $this; + } + + /** + * Required. The unique Role ID of the User. Roles that are created by Google + * will have negative IDs. + * + * Generated from protobuf field optional string role = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getRole() + { + return isset($this->role) ? $this->role : ''; + } + + public function hasRole() + { + return isset($this->role); + } + + public function clearRole() + { + unset($this->role); + } + + /** + * Required. The unique Role ID of the User. Roles that are created by Google + * will have negative IDs. + * + * Generated from protobuf field optional string role = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setRole($var) + { + GPBUtil::checkString($var, True); + $this->role = $var; + + return $this; + } + + /** + * Output only. Specifies whether or not the User is active. An inactive user + * cannot log in to the system or perform any operations. + * + * Generated from protobuf field optional bool active = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getActive() + { + return isset($this->active) ? $this->active : false; + } + + public function hasActive() + { + return isset($this->active); + } + + public function clearActive() + { + unset($this->active); + } + + /** + * Output only. Specifies whether or not the User is active. An inactive user + * cannot log in to the system or perform any operations. + * + * Generated from protobuf field optional bool active = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setActive($var) + { + GPBUtil::checkBool($var); + $this->active = $var; + + return $this; + } + + /** + * Optional. An identifier for the User that is meaningful to the publisher. + * This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getExternalId() + { + return isset($this->external_id) ? $this->external_id : ''; + } + + public function hasExternalId() + { + return isset($this->external_id); + } + + public function clearExternalId() + { + unset($this->external_id); + } + + /** + * Optional. An identifier for the User that is meaningful to the publisher. + * This attribute has a maximum length of 255 characters. + * + * Generated from protobuf field optional string external_id = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setExternalId($var) + { + GPBUtil::checkString($var, True); + $this->external_id = $var; + + return $this; + } + + /** + * Output only. Whether the user is an OAuth2 service account user. + * Service account users can only be added through the UI. + * + * Generated from protobuf field optional bool service_account = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getServiceAccount() + { + return isset($this->service_account) ? $this->service_account : false; + } + + public function hasServiceAccount() + { + return isset($this->service_account); + } + + public function clearServiceAccount() + { + unset($this->service_account); + } + + /** + * Output only. Whether the user is an OAuth2 service account user. + * Service account users can only be added through the UI. + * + * Generated from protobuf field optional bool service_account = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setServiceAccount($var) + { + GPBUtil::checkBool($var); + $this->service_account = $var; + + return $this; + } + + /** + * Optional. The IANA Time Zone Database time zone, e.g. "America/New_York", + * used in the orders and line items UI for this User. If not provided, the UI + * then defaults to using the Network's timezone. This setting only affects + * the UI for this user and does not affect the timezone of any dates and + * times returned in API responses. + * + * Generated from protobuf field optional string orders_ui_local_time_zone = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOrdersUiLocalTimeZone() + { + return isset($this->orders_ui_local_time_zone) ? $this->orders_ui_local_time_zone : ''; + } + + public function hasOrdersUiLocalTimeZone() + { + return isset($this->orders_ui_local_time_zone); + } + + public function clearOrdersUiLocalTimeZone() + { + unset($this->orders_ui_local_time_zone); + } + + /** + * Optional. The IANA Time Zone Database time zone, e.g. "America/New_York", + * used in the orders and line items UI for this User. If not provided, the UI + * then defaults to using the Network's timezone. This setting only affects + * the UI for this user and does not affect the timezone of any dates and + * times returned in API responses. + * + * Generated from protobuf field optional string orders_ui_local_time_zone = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOrdersUiLocalTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->orders_ui_local_time_zone = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UserDomainTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UserDomainTargeting.php new file mode 100644 index 000000000000..7341f34067fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/UserDomainTargeting.php @@ -0,0 +1,101 @@ +google.ads.admanager.v1.UserDomainTargeting + */ +class UserDomainTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of user domains that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_user_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $targeted_user_domains; + /** + * Optional. A list of user domains that should be excluded. + * + * Generated from protobuf field repeated string excluded_user_domains = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $excluded_user_domains; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $targeted_user_domains + * Optional. A list of user domains that should be targeted/included. + * @type string[] $excluded_user_domains + * Optional. A list of user domains that should be excluded. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of user domains that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_user_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getTargetedUserDomains() + { + return $this->targeted_user_domains; + } + + /** + * Optional. A list of user domains that should be targeted/included. + * + * Generated from protobuf field repeated string targeted_user_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setTargetedUserDomains($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->targeted_user_domains = $arr; + + return $this; + } + + /** + * Optional. A list of user domains that should be excluded. + * + * Generated from protobuf field repeated string excluded_user_domains = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getExcludedUserDomains() + { + return $this->excluded_user_domains; + } + + /** + * Optional. A list of user domains that should be excluded. + * + * Generated from protobuf field repeated string excluded_user_domains = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setExcludedUserDomains($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_user_domains = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPosition.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPosition.php new file mode 100644 index 000000000000..947199704303 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPosition.php @@ -0,0 +1,293 @@ +google.ads.admanager.v1.VideoPosition + */ +class VideoPosition extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The index of the mid-roll to target. This field is ignored when + * targeting any video position (e.g. position_type) other than MIDROLL. + * + * Generated from protobuf field optional int64 midroll_index = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $midroll_index = null; + /** + * Optional. The index from the back of the pod of the mid-roll to target. + * This field is ignored when targeting any video position (e.g. + * position_type) other than MIDROLL or if targeting a specific midroll index + * (e.g. midroll_index != 0). + * + * Generated from protobuf field optional int64 reverse_midroll_index = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $reverse_midroll_index = null; + /** + * Optional. The video position within a pod to target. This field must be + * unset in order to target a specific video position (e.g. position_type), + * bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional int64 pod_position = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $pod_position = null; + /** + * Optional. The position within a video to target. A video ad can target a + * position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll + * index. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $position_type = null; + /** + * Optional. The video bumper type to target. This field must be unset in + * order to target a specific video position (e.g. position_type), pod + * position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $bumper_type = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $midroll_index + * Optional. The index of the mid-roll to target. This field is ignored when + * targeting any video position (e.g. position_type) other than MIDROLL. + * @type int|string $reverse_midroll_index + * Optional. The index from the back of the pod of the mid-roll to target. + * This field is ignored when targeting any video position (e.g. + * position_type) other than MIDROLL or if targeting a specific midroll index + * (e.g. midroll_index != 0). + * @type int|string $pod_position + * Optional. The video position within a pod to target. This field must be + * unset in order to target a specific video position (e.g. position_type), + * bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id). + * @type int $position_type + * Optional. The position within a video to target. A video ad can target a + * position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll + * index. + * @type int $bumper_type + * Optional. The video bumper type to target. This field must be unset in + * order to target a specific video position (e.g. position_type), pod + * position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The index of the mid-roll to target. This field is ignored when + * targeting any video position (e.g. position_type) other than MIDROLL. + * + * Generated from protobuf field optional int64 midroll_index = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getMidrollIndex() + { + return isset($this->midroll_index) ? $this->midroll_index : 0; + } + + public function hasMidrollIndex() + { + return isset($this->midroll_index); + } + + public function clearMidrollIndex() + { + unset($this->midroll_index); + } + + /** + * Optional. The index of the mid-roll to target. This field is ignored when + * targeting any video position (e.g. position_type) other than MIDROLL. + * + * Generated from protobuf field optional int64 midroll_index = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setMidrollIndex($var) + { + GPBUtil::checkInt64($var); + $this->midroll_index = $var; + + return $this; + } + + /** + * Optional. The index from the back of the pod of the mid-roll to target. + * This field is ignored when targeting any video position (e.g. + * position_type) other than MIDROLL or if targeting a specific midroll index + * (e.g. midroll_index != 0). + * + * Generated from protobuf field optional int64 reverse_midroll_index = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getReverseMidrollIndex() + { + return isset($this->reverse_midroll_index) ? $this->reverse_midroll_index : 0; + } + + public function hasReverseMidrollIndex() + { + return isset($this->reverse_midroll_index); + } + + public function clearReverseMidrollIndex() + { + unset($this->reverse_midroll_index); + } + + /** + * Optional. The index from the back of the pod of the mid-roll to target. + * This field is ignored when targeting any video position (e.g. + * position_type) other than MIDROLL or if targeting a specific midroll index + * (e.g. midroll_index != 0). + * + * Generated from protobuf field optional int64 reverse_midroll_index = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setReverseMidrollIndex($var) + { + GPBUtil::checkInt64($var); + $this->reverse_midroll_index = $var; + + return $this; + } + + /** + * Optional. The video position within a pod to target. This field must be + * unset in order to target a specific video position (e.g. position_type), + * bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional int64 pod_position = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getPodPosition() + { + return isset($this->pod_position) ? $this->pod_position : 0; + } + + public function hasPodPosition() + { + return isset($this->pod_position); + } + + public function clearPodPosition() + { + unset($this->pod_position); + } + + /** + * Optional. The video position within a pod to target. This field must be + * unset in order to target a specific video position (e.g. position_type), + * bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional int64 pod_position = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setPodPosition($var) + { + GPBUtil::checkInt64($var); + $this->pod_position = $var; + + return $this; + } + + /** + * Optional. The position within a video to target. A video ad can target a + * position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll + * index. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPositionType() + { + return isset($this->position_type) ? $this->position_type : 0; + } + + public function hasPositionType() + { + return isset($this->position_type); + } + + public function clearPositionType() + { + unset($this->position_type); + } + + /** + * Optional. The position within a video to target. A video ad can target a + * position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll + * index. + * + * Generated from protobuf field optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPositionType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\VideoPositionEnum\VideoPosition::class); + $this->position_type = $var; + + return $this; + } + + /** + * Optional. The video bumper type to target. This field must be unset in + * order to target a specific video position (e.g. position_type), pod + * position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getBumperType() + { + return isset($this->bumper_type) ? $this->bumper_type : 0; + } + + public function hasBumperType() + { + return isset($this->bumper_type); + } + + public function clearBumperType() + { + unset($this->bumper_type); + } + + /** + * Optional. The video bumper type to target. This field must be unset in + * order to target a specific video position (e.g. position_type), pod + * position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id). + * + * Generated from protobuf field optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setBumperType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\TargetedVideoBumperTypeEnum\TargetedVideoBumperType::class); + $this->bumper_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum.php new file mode 100644 index 000000000000..c3778ee95fcb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.VideoPositionEnum + */ +class VideoPositionEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\VideoPositionEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum/VideoPosition.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum/VideoPosition.php new file mode 100644 index 000000000000..513a38bb3f78 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionEnum/VideoPosition.php @@ -0,0 +1,75 @@ +google.ads.admanager.v1.VideoPositionEnum.VideoPosition + */ +class VideoPosition +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum VIDEO_POSITION_UNSPECIFIED = 0; + */ + const VIDEO_POSITION_UNSPECIFIED = 0; + /** + * Allow ad placement at any position within the video. + * + * Generated from protobuf enum ALL = 1; + */ + const ALL = 1; + /** + * Target ad placement during the video. + * + * Generated from protobuf enum MIDROLL = 2; + */ + const MIDROLL = 2; + /** + * Target ad placement after the video ends. + * + * Generated from protobuf enum POSTROLL = 3; + */ + const POSTROLL = 3; + /** + * Target ad placement before the video starts. + * + * Generated from protobuf enum PREROLL = 4; + */ + const PREROLL = 4; + + private static $valueToName = [ + self::VIDEO_POSITION_UNSPECIFIED => 'VIDEO_POSITION_UNSPECIFIED', + self::ALL => 'ALL', + self::MIDROLL => 'MIDROLL', + self::POSTROLL => 'POSTROLL', + self::PREROLL => 'PREROLL', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionTargeting.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionTargeting.php new file mode 100644 index 000000000000..c78af3bf711d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoPositionTargeting.php @@ -0,0 +1,71 @@ +google.ads.admanager.v1.VideoPositionTargeting + */ +class VideoPositionTargeting extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A list of video position targeting criterion (applied with a + * logical AND). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.VideoPosition video_positions = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $video_positions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\AdManager\V1\VideoPosition[] $video_positions + * Optional. A list of video position targeting criterion (applied with a + * logical AND). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\Targeting::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A list of video position targeting criterion (applied with a + * logical AND). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.VideoPosition video_positions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\AdManager\V1\VideoPosition> + */ + public function getVideoPositions() + { + return $this->video_positions; + } + + /** + * Optional. A list of video position targeting criterion (applied with a + * logical AND). + * + * Generated from protobuf field repeated .google.ads.admanager.v1.VideoPosition video_positions = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\AdManager\V1\VideoPosition[] $var + * @return $this + */ + public function setVideoPositions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\VideoPosition::class); + $this->video_positions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum.php new file mode 100644 index 000000000000..ae4c070aa40a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.VideoTranscodeStatusEnum + */ +class VideoTranscodeStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\VideoTranscodeStatusEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum/VideoTranscodeStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum/VideoTranscodeStatus.php new file mode 100644 index 000000000000..ed115b6cba4d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/VideoTranscodeStatusEnum/VideoTranscodeStatus.php @@ -0,0 +1,82 @@ +google.ads.admanager.v1.VideoTranscodeStatusEnum.VideoTranscodeStatus + */ +class VideoTranscodeStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum VIDEO_TRANSCODE_STATUS_UNSPECIFIED = 0; + */ + const VIDEO_TRANSCODE_STATUS_UNSPECIFIED = 0; + /** + * The video transcoding is complete. + * + * Generated from protobuf enum COMPLETED = 1; + */ + const COMPLETED = 1; + /** + * The video transcoding failed. + * + * Generated from protobuf enum FAILED = 2; + */ + const FAILED = 2; + /** + * The video transcode is in progress. + * + * Generated from protobuf enum IN_PROGRESS = 3; + */ + const IN_PROGRESS = 3; + /** + * The video needs to be transcoded. + * + * Generated from protobuf enum NEEDS_TRANSCODE = 4; + */ + const NEEDS_TRANSCODE = 4; + /** + * The video is not ready. + * + * Generated from protobuf enum NOT_READY = 5; + */ + const NOT_READY = 5; + + private static $valueToName = [ + self::VIDEO_TRANSCODE_STATUS_UNSPECIFIED => 'VIDEO_TRANSCODE_STATUS_UNSPECIFIED', + self::COMPLETED => 'COMPLETED', + self::FAILED => 'FAILED', + self::IN_PROGRESS => 'IN_PROGRESS', + self::NEEDS_TRANSCODE => 'NEEDS_TRANSCODE', + self::NOT_READY => 'NOT_READY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum.php new file mode 100644 index 000000000000..4781fb1950df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.ViewabilityPartnerEnum + */ +class ViewabilityPartnerEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ViewabilityPartnerEnum::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum/ViewabilityPartner.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum/ViewabilityPartner.php new file mode 100644 index 000000000000..38089011c04b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/ViewabilityPartnerEnum/ViewabilityPartner.php @@ -0,0 +1,91 @@ +google.ads.admanager.v1.ViewabilityPartnerEnum.ViewabilityPartner + */ +class ViewabilityPartner +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum VIEWABILITY_PARTNER_UNSPECIFIED = 0; + */ + const VIEWABILITY_PARTNER_UNSPECIFIED = 0; + /** + * Indicates viewability partner Comscore. + * + * Generated from protobuf enum COMSCORE = 1; + */ + const COMSCORE = 1; + /** + * Indicates viewability partner Double Verify. + * + * Generated from protobuf enum DOUBLE_VERIFY = 2; + */ + const DOUBLE_VERIFY = 2; + /** + * Indicates viewability partner Integral Ad + * Science. + * + * Generated from protobuf enum INTEGRAL_AD_SCIENCE = 4; + */ + const INTEGRAL_AD_SCIENCE = 4; + /** + * Indicates viewability partner Oracle Moat. + * + * Generated from protobuf enum MOAT = 5; + */ + const MOAT = 5; + /** + * Indicates there's no viewability partner. + * + * Generated from protobuf enum NONE = 6; + */ + const NONE = 6; + /** + * Indicates viewability partner Telemetry. + * + * Generated from protobuf enum TELEMETRY = 7; + */ + const TELEMETRY = 7; + + private static $valueToName = [ + self::VIEWABILITY_PARTNER_UNSPECIFIED => 'VIEWABILITY_PARTNER_UNSPECIFIED', + self::COMSCORE => 'COMSCORE', + self::DOUBLE_VERIFY => 'DOUBLE_VERIFY', + self::INTEGRAL_AD_SCIENCE => 'INTEGRAL_AD_SCIENCE', + self::MOAT => 'MOAT', + self::NONE => 'NONE', + self::TELEMETRY => 'TELEMETRY', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebProperty.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebProperty.php new file mode 100644 index 000000000000..fcfb69b5a9a0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebProperty.php @@ -0,0 +1,177 @@ +google.ads.admanager.v1.WebProperty + */ +class WebProperty extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name of the WebProperty. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The `WebProperty` code. + * + * Generated from protobuf field string web_property_code = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $web_property_code = ''; + /** + * Required. The ExchangeSyndicationProduct associated with this WebProperty. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $product_type = 0; + /** + * Optional. The `WebProperty` ID. + * + * Generated from protobuf field int64 web_property_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $web_property_id = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. The resource name of the WebProperty. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}` + * @type string $web_property_code + * Required. The `WebProperty` code. + * @type int $product_type + * Required. The ExchangeSyndicationProduct associated with this WebProperty. + * @type int|string $web_property_id + * Optional. The `WebProperty` ID. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\WebProperty::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. The resource name of the WebProperty. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name of the WebProperty. + * Format: + * `networks/{network_code}/webProperties/{web_property_code}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The `WebProperty` code. + * + * Generated from protobuf field string web_property_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getWebPropertyCode() + { + return $this->web_property_code; + } + + /** + * Required. The `WebProperty` code. + * + * Generated from protobuf field string web_property_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setWebPropertyCode($var) + { + GPBUtil::checkString($var, True); + $this->web_property_code = $var; + + return $this; + } + + /** + * Required. The ExchangeSyndicationProduct associated with this WebProperty. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getProductType() + { + return $this->product_type; + } + + /** + * Required. The ExchangeSyndicationProduct associated with this WebProperty. + * + * Generated from protobuf field .google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setProductType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\ExchangeSyndicationProductEnum\ExchangeSyndicationProduct::class); + $this->product_type = $var; + + return $this; + } + + /** + * Optional. The `WebProperty` ID. + * + * Generated from protobuf field int64 web_property_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getWebPropertyId() + { + return $this->web_property_id; + } + + /** + * Optional. The `WebProperty` ID. + * + * Generated from protobuf field int64 web_property_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setWebPropertyId($var) + { + GPBUtil::checkInt64($var); + $this->web_property_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum.php new file mode 100644 index 000000000000..ecc2e359fafa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum.php @@ -0,0 +1,34 @@ +google.ads.admanager.v1.WebviewClaimingStatusEnum + */ +class WebviewClaimingStatusEnum extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Admanager\V1\ApplicationEnums::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum/WebviewClaimingStatus.php b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum/WebviewClaimingStatus.php new file mode 100644 index 000000000000..031fed6a484b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/proto/src/Google/Ads/AdManager/V1/WebviewClaimingStatusEnum/WebviewClaimingStatus.php @@ -0,0 +1,63 @@ +google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus + */ +class WebviewClaimingStatus +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum WEBVIEW_CLAIMING_STATUS_UNSPECIFIED = 0; + */ + const WEBVIEW_CLAIMING_STATUS_UNSPECIFIED = 0; + /** + * The application is soft claimed (claimed for targeting, but not + * ownership). + * + * Generated from protobuf enum SOFT_CLAIMED = 1; + */ + const SOFT_CLAIMED = 1; + /** + * The application had its soft claiming status reverted (usually by a user + * action). + * + * Generated from protobuf enum SOFT_CLAIMING_REVERTED = 2; + */ + const SOFT_CLAIMING_REVERTED = 2; + + private static $valueToName = [ + self::WEBVIEW_CLAIMING_STATUS_UNSPECIFIED => 'WEBVIEW_CLAIMING_STATUS_UNSPECIFIED', + self::SOFT_CLAIMED => 'SOFT_CLAIMED', + self::SOFT_CLAIMING_REVERTED => 'SOFT_CLAIMING_REVERTED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/create_ad_break.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/create_ad_break.php new file mode 100644 index 000000000000..bc441e0cf6b9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/create_ad_break.php @@ -0,0 +1,106 @@ +setDuration($adBreakDuration); + $request = (new CreateAdBreakRequest()) + ->setParent($formattedParent) + ->setAdBreak($adBreak); + + // Call the API and handle any network failures. + try { + /** @var AdBreak $response */ + $response = $adBreakServiceClient->createAdBreak($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdBreakServiceClient::liveStreamEventName( + '[NETWORK_CODE]', + '[LIVE_STREAM_EVENT]' + ); + + create_ad_break_sample($formattedParent); +} +// [END admanager_v1_generated_AdBreakService_CreateAdBreak_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/delete_ad_break.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/delete_ad_break.php new file mode 100644 index 000000000000..1b43eb6ef62b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/delete_ad_break.php @@ -0,0 +1,80 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $adBreakServiceClient->deleteAdBreak($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AdBreakServiceClient::adBreakName('[NETWORK_CODE]', '[ASSET_KEY]', '[AD_BREAK]'); + + delete_ad_break_sample($formattedName); +} +// [END admanager_v1_generated_AdBreakService_DeleteAdBreak_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/get_ad_break.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/get_ad_break.php new file mode 100644 index 000000000000..2ee02c2a0be8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/get_ad_break.php @@ -0,0 +1,79 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AdBreak $response */ + $response = $adBreakServiceClient->getAdBreak($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AdBreakServiceClient::adBreakName('[NETWORK_CODE]', '[ASSET_KEY]', '[AD_BREAK]'); + + get_ad_break_sample($formattedName); +} +// [END admanager_v1_generated_AdBreakService_GetAdBreak_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/list_ad_breaks.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/list_ad_breaks.php new file mode 100644 index 000000000000..fb731e28664f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/list_ad_breaks.php @@ -0,0 +1,85 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adBreakServiceClient->listAdBreaks($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdBreakServiceClient::liveStreamEventName( + '[NETWORK_CODE]', + '[LIVE_STREAM_EVENT]' + ); + + list_ad_breaks_sample($formattedParent); +} +// [END admanager_v1_generated_AdBreakService_ListAdBreaks_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/update_ad_break.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/update_ad_break.php new file mode 100644 index 000000000000..c1ed5ee8bd18 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdBreakServiceClient/update_ad_break.php @@ -0,0 +1,65 @@ +setDuration($adBreakDuration); + $request = (new UpdateAdBreakRequest()) + ->setAdBreak($adBreak); + + // Call the API and handle any network failures. + try { + /** @var AdBreak $response */ + $response = $adBreakServiceClient->updateAdBreak($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_AdBreakService_UpdateAdBreak_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_allow_ad_review_center_ads.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_allow_ad_review_center_ads.php new file mode 100644 index 000000000000..7475019bb1d2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_allow_ad_review_center_ads.php @@ -0,0 +1,115 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var OperationResponse $response */ + $response = $adReviewCenterAdServiceClient->batchAllowAdReviewCenterAds($request); + $response->pollUntilComplete(); + + if ($response->operationSucceeded()) { + /** @var BatchAllowAdReviewCenterAdsResponse $result */ + $result = $response->getResult(); + printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString()); + } else { + /** @var Status $error */ + $error = $response->getError(); + printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdReviewCenterAdServiceClient::webPropertyName( + '[NETWORK_CODE]', + '[WEB_PROPERTY]' + ); + $formattedNamesElement = AdReviewCenterAdServiceClient::adReviewCenterAdName( + '[NETWORK_CODE]', + '[WEB_PROPERTY_CODE]', + '[AD_REVIEW_CENTER_AD]' + ); + + batch_allow_ad_review_center_ads_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdReviewCenterAdService_BatchAllowAdReviewCenterAds_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_block_ad_review_center_ads.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_block_ad_review_center_ads.php new file mode 100644 index 000000000000..3ac12ac7fdc4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/batch_block_ad_review_center_ads.php @@ -0,0 +1,115 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var OperationResponse $response */ + $response = $adReviewCenterAdServiceClient->batchBlockAdReviewCenterAds($request); + $response->pollUntilComplete(); + + if ($response->operationSucceeded()) { + /** @var BatchBlockAdReviewCenterAdsResponse $result */ + $result = $response->getResult(); + printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString()); + } else { + /** @var Status $error */ + $error = $response->getError(); + printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdReviewCenterAdServiceClient::webPropertyName( + '[NETWORK_CODE]', + '[WEB_PROPERTY]' + ); + $formattedNamesElement = AdReviewCenterAdServiceClient::adReviewCenterAdName( + '[NETWORK_CODE]', + '[WEB_PROPERTY_CODE]', + '[AD_REVIEW_CENTER_AD]' + ); + + batch_block_ad_review_center_ads_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdReviewCenterAdService_BatchBlockAdReviewCenterAds_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/search_ad_review_center_ads.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/search_ad_review_center_ads.php new file mode 100644 index 000000000000..9b30888f8cfd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdReviewCenterAdServiceClient/search_ad_review_center_ads.php @@ -0,0 +1,90 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adReviewCenterAdServiceClient->searchAdReviewCenterAds($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdReviewCenterAdServiceClient::webPropertyName( + '[NETWORK_CODE]', + '[WEB_PROPERTY]' + ); + + search_ad_review_center_ads_sample($formattedParent); +} +// [END admanager_v1_generated_AdReviewCenterAdService_SearchAdReviewCenterAds_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_activate_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_activate_ad_rules.php new file mode 100644 index 000000000000..fe73b52b46b5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_activate_ad_rules.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateAdRulesResponse $response */ + $response = $adRuleServiceClient->batchActivateAdRules($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdRuleServiceClient::adRuleName('[NETWORK_CODE]', '[AD_RULE]'); + + batch_activate_ad_rules_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdRuleService_BatchActivateAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_create_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_create_ad_rules.php new file mode 100644 index 000000000000..4604db5f9c02 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_create_ad_rules.php @@ -0,0 +1,110 @@ +setDisplayName($requestsAdRuleDisplayName) + ->setStartTime($requestsAdRuleStartTime) + ->setPreroll($requestsAdRulePreroll) + ->setMidrolls($requestsAdRuleMidrolls) + ->setPostroll($requestsAdRulePostroll) + ->setTargeting($requestsAdRuleTargeting); + $createAdRuleRequest = (new CreateAdRuleRequest()) + ->setParent($formattedRequestsParent) + ->setAdRule($requestsAdRule); + $requests = [$createAdRuleRequest,]; + $request = (new BatchCreateAdRulesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateAdRulesResponse $response */ + $response = $adRuleServiceClient->batchCreateAdRules($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $requestsAdRuleDisplayName = '[DISPLAY_NAME]'; + + batch_create_ad_rules_sample( + $formattedParent, + $formattedRequestsParent, + $requestsAdRuleDisplayName + ); +} +// [END admanager_v1_generated_AdRuleService_BatchCreateAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_deactivate_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_deactivate_ad_rules.php new file mode 100644 index 000000000000..884b611be7ff --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_deactivate_ad_rules.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateAdRulesResponse $response */ + $response = $adRuleServiceClient->batchDeactivateAdRules($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdRuleServiceClient::adRuleName('[NETWORK_CODE]', '[AD_RULE]'); + + batch_deactivate_ad_rules_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdRuleService_BatchDeactivateAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_delete_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_delete_ad_rules.php new file mode 100644 index 000000000000..d17eea635e0e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_delete_ad_rules.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + $adRuleServiceClient->batchDeleteAdRules($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdRuleServiceClient::adRuleName('[NETWORK_CODE]', '[AD_RULE]'); + + batch_delete_ad_rules_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdRuleService_BatchDeleteAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_update_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_update_ad_rules.php new file mode 100644 index 000000000000..85c62c3d5a04 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/batch_update_ad_rules.php @@ -0,0 +1,100 @@ +setDisplayName($requestsAdRuleDisplayName) + ->setStartTime($requestsAdRuleStartTime) + ->setPreroll($requestsAdRulePreroll) + ->setMidrolls($requestsAdRuleMidrolls) + ->setPostroll($requestsAdRulePostroll) + ->setTargeting($requestsAdRuleTargeting); + $updateAdRuleRequest = (new UpdateAdRuleRequest()) + ->setAdRule($requestsAdRule); + $requests = [$updateAdRuleRequest,]; + $request = (new BatchUpdateAdRulesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateAdRulesResponse $response */ + $response = $adRuleServiceClient->batchUpdateAdRules($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $requestsAdRuleDisplayName = '[DISPLAY_NAME]'; + + batch_update_ad_rules_sample($formattedParent, $requestsAdRuleDisplayName); +} +// [END admanager_v1_generated_AdRuleService_BatchUpdateAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/create_ad_rule.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/create_ad_rule.php new file mode 100644 index 000000000000..6ce19f134f00 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/create_ad_rule.php @@ -0,0 +1,91 @@ +setDisplayName($adRuleDisplayName) + ->setStartTime($adRuleStartTime) + ->setPreroll($adRulePreroll) + ->setMidrolls($adRuleMidrolls) + ->setPostroll($adRulePostroll) + ->setTargeting($adRuleTargeting); + $request = (new CreateAdRuleRequest()) + ->setParent($formattedParent) + ->setAdRule($adRule); + + // Call the API and handle any network failures. + try { + /** @var AdRule $response */ + $response = $adRuleServiceClient->createAdRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + $adRuleDisplayName = '[DISPLAY_NAME]'; + + create_ad_rule_sample($formattedParent, $adRuleDisplayName); +} +// [END admanager_v1_generated_AdRuleService_CreateAdRule_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/get_ad_rule.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/get_ad_rule.php new file mode 100644 index 000000000000..cfa8b9668948 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/get_ad_rule.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AdRule $response */ + $response = $adRuleServiceClient->getAdRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AdRuleServiceClient::adRuleName('[NETWORK_CODE]', '[AD_RULE]'); + + get_ad_rule_sample($formattedName); +} +// [END admanager_v1_generated_AdRuleService_GetAdRule_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/list_ad_rules.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/list_ad_rules.php new file mode 100644 index 000000000000..ee4457229c65 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/list_ad_rules.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adRuleServiceClient->listAdRules($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdRuleServiceClient::networkName('[NETWORK_CODE]'); + + list_ad_rules_sample($formattedParent); +} +// [END admanager_v1_generated_AdRuleService_ListAdRules_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/update_ad_rule.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/update_ad_rule.php new file mode 100644 index 000000000000..b1b19b57a468 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdRuleServiceClient/update_ad_rule.php @@ -0,0 +1,86 @@ +setDisplayName($adRuleDisplayName) + ->setStartTime($adRuleStartTime) + ->setPreroll($adRulePreroll) + ->setMidrolls($adRuleMidrolls) + ->setPostroll($adRulePostroll) + ->setTargeting($adRuleTargeting); + $request = (new UpdateAdRuleRequest()) + ->setAdRule($adRule); + + // Call the API and handle any network failures. + try { + /** @var AdRule $response */ + $response = $adRuleServiceClient->updateAdRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $adRuleDisplayName = '[DISPLAY_NAME]'; + + update_ad_rule_sample($adRuleDisplayName); +} +// [END admanager_v1_generated_AdRuleService_UpdateAdRule_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_create_ad_spots.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_create_ad_spots.php new file mode 100644 index 000000000000..84342859f260 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_create_ad_spots.php @@ -0,0 +1,91 @@ +setMaxAdDuration($requestsAdSpotMaxAdDuration); + $createAdSpotRequest = (new CreateAdSpotRequest()) + ->setParent($formattedRequestsParent) + ->setAdSpot($requestsAdSpot); + $requests = [$createAdSpotRequest,]; + $request = (new BatchCreateAdSpotsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateAdSpotsResponse $response */ + $response = $adSpotServiceClient->batchCreateAdSpots($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdSpotServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = AdSpotServiceClient::networkName('[NETWORK_CODE]'); + + batch_create_ad_spots_sample($formattedParent, $formattedRequestsParent); +} +// [END admanager_v1_generated_AdSpotService_BatchCreateAdSpots_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_update_ad_spots.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_update_ad_spots.php new file mode 100644 index 000000000000..415462e0831c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/batch_update_ad_spots.php @@ -0,0 +1,84 @@ +setMaxAdDuration($requestsAdSpotMaxAdDuration); + $updateAdSpotRequest = (new UpdateAdSpotRequest()) + ->setAdSpot($requestsAdSpot); + $requests = [$updateAdSpotRequest,]; + $request = (new BatchUpdateAdSpotsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateAdSpotsResponse $response */ + $response = $adSpotServiceClient->batchUpdateAdSpots($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdSpotServiceClient::networkName('[NETWORK_CODE]'); + + batch_update_ad_spots_sample($formattedParent); +} +// [END admanager_v1_generated_AdSpotService_BatchUpdateAdSpots_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/create_ad_spot.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/create_ad_spot.php new file mode 100644 index 000000000000..301bdc83a3f4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/create_ad_spot.php @@ -0,0 +1,77 @@ +setMaxAdDuration($adSpotMaxAdDuration); + $request = (new CreateAdSpotRequest()) + ->setParent($formattedParent) + ->setAdSpot($adSpot); + + // Call the API and handle any network failures. + try { + /** @var AdSpot $response */ + $response = $adSpotServiceClient->createAdSpot($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdSpotServiceClient::networkName('[NETWORK_CODE]'); + + create_ad_spot_sample($formattedParent); +} +// [END admanager_v1_generated_AdSpotService_CreateAdSpot_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/get_ad_spot.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/get_ad_spot.php new file mode 100644 index 000000000000..b6914b80fdb5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/get_ad_spot.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AdSpot $response */ + $response = $adSpotServiceClient->getAdSpot($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AdSpotServiceClient::adSpotName('[NETWORK_CODE]', '[AD_SPOT]'); + + get_ad_spot_sample($formattedName); +} +// [END admanager_v1_generated_AdSpotService_GetAdSpot_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/list_ad_spots.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/list_ad_spots.php new file mode 100644 index 000000000000..6aa507a81e7a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/list_ad_spots.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adSpotServiceClient->listAdSpots($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdSpotServiceClient::networkName('[NETWORK_CODE]'); + + list_ad_spots_sample($formattedParent); +} +// [END admanager_v1_generated_AdSpotService_ListAdSpots_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/update_ad_spot.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/update_ad_spot.php new file mode 100644 index 000000000000..eba9f1052a0e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdSpotServiceClient/update_ad_spot.php @@ -0,0 +1,62 @@ +setMaxAdDuration($adSpotMaxAdDuration); + $request = (new UpdateAdSpotRequest()) + ->setAdSpot($adSpot); + + // Call the API and handle any network failures. + try { + /** @var AdSpot $response */ + $response = $adSpotServiceClient->updateAdSpot($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_AdSpotService_UpdateAdSpot_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_activate_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_activate_ad_units.php new file mode 100644 index 000000000000..26da65b969f8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_activate_ad_units.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateAdUnitsResponse $response */ + $response = $adUnitServiceClient->batchActivateAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + + batch_activate_ad_units_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdUnitService_BatchActivateAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_archive_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_archive_ad_units.php new file mode 100644 index 000000000000..84b2d544d72c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_archive_ad_units.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveAdUnitsResponse $response */ + $response = $adUnitServiceClient->batchArchiveAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + + batch_archive_ad_units_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdUnitService_BatchArchiveAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_create_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_create_ad_units.php new file mode 100644 index 000000000000..f7b9cdb1365a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_create_ad_units.php @@ -0,0 +1,108 @@ +setParentAdUnit($formattedRequestsAdUnitParentAdUnit) + ->setDisplayName($requestsAdUnitDisplayName); + $createAdUnitRequest = (new CreateAdUnitRequest()) + ->setParent($formattedRequestsParent) + ->setAdUnit($requestsAdUnit); + $requests = [$createAdUnitRequest,]; + $request = (new BatchCreateAdUnitsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateAdUnitsResponse $response */ + $response = $adUnitServiceClient->batchCreateAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsAdUnitParentAdUnit = AdUnitServiceClient::adUnitName( + '[NETWORK_CODE]', + '[AD_UNIT]' + ); + $requestsAdUnitDisplayName = '[DISPLAY_NAME]'; + + batch_create_ad_units_sample( + $formattedParent, + $formattedRequestsParent, + $formattedRequestsAdUnitParentAdUnit, + $requestsAdUnitDisplayName + ); +} +// [END admanager_v1_generated_AdUnitService_BatchCreateAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_deactivate_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_deactivate_ad_units.php new file mode 100644 index 000000000000..6676bf8d8db1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_deactivate_ad_units.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateAdUnitsResponse $response */ + $response = $adUnitServiceClient->batchDeactivateAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + + batch_deactivate_ad_units_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_AdUnitService_BatchDeactivateAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_update_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_update_ad_units.php new file mode 100644 index 000000000000..0a72059fa6f5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/batch_update_ad_units.php @@ -0,0 +1,101 @@ +setParentAdUnit($formattedRequestsAdUnitParentAdUnit) + ->setDisplayName($requestsAdUnitDisplayName); + $updateAdUnitRequest = (new UpdateAdUnitRequest()) + ->setAdUnit($requestsAdUnit); + $requests = [$updateAdUnitRequest,]; + $request = (new BatchUpdateAdUnitsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateAdUnitsResponse $response */ + $response = $adUnitServiceClient->batchUpdateAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsAdUnitParentAdUnit = AdUnitServiceClient::adUnitName( + '[NETWORK_CODE]', + '[AD_UNIT]' + ); + $requestsAdUnitDisplayName = '[DISPLAY_NAME]'; + + batch_update_ad_units_sample( + $formattedParent, + $formattedRequestsAdUnitParentAdUnit, + $requestsAdUnitDisplayName + ); +} +// [END admanager_v1_generated_AdUnitService_BatchUpdateAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/create_ad_unit.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/create_ad_unit.php new file mode 100644 index 000000000000..7cbf8d67041f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/create_ad_unit.php @@ -0,0 +1,87 @@ +setParentAdUnit($formattedAdUnitParentAdUnit) + ->setDisplayName($adUnitDisplayName); + $request = (new CreateAdUnitRequest()) + ->setParent($formattedParent) + ->setAdUnit($adUnit); + + // Call the API and handle any network failures. + try { + /** @var AdUnit $response */ + $response = $adUnitServiceClient->createAdUnit($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedAdUnitParentAdUnit = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + $adUnitDisplayName = '[DISPLAY_NAME]'; + + create_ad_unit_sample($formattedParent, $formattedAdUnitParentAdUnit, $adUnitDisplayName); +} +// [END admanager_v1_generated_AdUnitService_CreateAdUnit_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/get_ad_unit.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/get_ad_unit.php new file mode 100644 index 000000000000..f2d43a81a61e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/get_ad_unit.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AdUnit $response */ + $response = $adUnitServiceClient->getAdUnit($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + + get_ad_unit_sample($formattedName); +} +// [END admanager_v1_generated_AdUnitService_GetAdUnit_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_unit_sizes.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_unit_sizes.php new file mode 100644 index 000000000000..2f23d194fe00 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_unit_sizes.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adUnitServiceClient->listAdUnitSizes($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + + list_ad_unit_sizes_sample($formattedParent); +} +// [END admanager_v1_generated_AdUnitService_ListAdUnitSizes_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_units.php new file mode 100644 index 000000000000..d4055f0410fe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/list_ad_units.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $adUnitServiceClient->listAdUnits($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AdUnitServiceClient::networkName('[NETWORK_CODE]'); + + list_ad_units_sample($formattedParent); +} +// [END admanager_v1_generated_AdUnitService_ListAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/update_ad_unit.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/update_ad_unit.php new file mode 100644 index 000000000000..effecb8c8d21 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AdUnitServiceClient/update_ad_unit.php @@ -0,0 +1,81 @@ +setParentAdUnit($formattedAdUnitParentAdUnit) + ->setDisplayName($adUnitDisplayName); + $request = (new UpdateAdUnitRequest()) + ->setAdUnit($adUnit); + + // Call the API and handle any network failures. + try { + /** @var AdUnit $response */ + $response = $adUnitServiceClient->updateAdUnit($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedAdUnitParentAdUnit = AdUnitServiceClient::adUnitName('[NETWORK_CODE]', '[AD_UNIT]'); + $adUnitDisplayName = '[DISPLAY_NAME]'; + + update_ad_unit_sample($formattedAdUnitParentAdUnit, $adUnitDisplayName); +} +// [END admanager_v1_generated_AdUnitService_UpdateAdUnit_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_archive_applications.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_archive_applications.php new file mode 100644 index 000000000000..964a81dc0557 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_archive_applications.php @@ -0,0 +1,82 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveApplicationsResponse $response */ + $response = $applicationServiceClient->batchArchiveApplications($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = ApplicationServiceClient::applicationName( + '[NETWORK_CODE]', + '[APPLICATION]' + ); + + batch_archive_applications_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_ApplicationService_BatchArchiveApplications_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_create_applications.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_create_applications.php new file mode 100644 index 000000000000..361536c2c392 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_create_applications.php @@ -0,0 +1,96 @@ +setDisplayName($requestsApplicationDisplayName); + $createApplicationRequest = (new CreateApplicationRequest()) + ->setParent($formattedRequestsParent) + ->setApplication($requestsApplication); + $requests = [$createApplicationRequest,]; + $request = (new BatchCreateApplicationsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateApplicationsResponse $response */ + $response = $applicationServiceClient->batchCreateApplications($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $requestsApplicationDisplayName = '[DISPLAY_NAME]'; + + batch_create_applications_sample( + $formattedParent, + $formattedRequestsParent, + $requestsApplicationDisplayName + ); +} +// [END admanager_v1_generated_ApplicationService_BatchCreateApplications_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_unarchive_applications.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_unarchive_applications.php new file mode 100644 index 000000000000..17ac14c1e724 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_unarchive_applications.php @@ -0,0 +1,82 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchUnarchiveApplicationsResponse $response */ + $response = $applicationServiceClient->batchUnarchiveApplications($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = ApplicationServiceClient::applicationName( + '[NETWORK_CODE]', + '[APPLICATION]' + ); + + batch_unarchive_applications_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_ApplicationService_BatchUnarchiveApplications_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_update_applications.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_update_applications.php new file mode 100644 index 000000000000..af491da2c28b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/batch_update_applications.php @@ -0,0 +1,86 @@ +setDisplayName($requestsApplicationDisplayName); + $updateApplicationRequest = (new UpdateApplicationRequest()) + ->setApplication($requestsApplication); + $requests = [$updateApplicationRequest,]; + $request = (new BatchUpdateApplicationsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateApplicationsResponse $response */ + $response = $applicationServiceClient->batchUpdateApplications($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $requestsApplicationDisplayName = '[DISPLAY_NAME]'; + + batch_update_applications_sample($formattedParent, $requestsApplicationDisplayName); +} +// [END admanager_v1_generated_ApplicationService_BatchUpdateApplications_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/create_application.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/create_application.php new file mode 100644 index 000000000000..a18d815404fb --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/create_application.php @@ -0,0 +1,77 @@ +setDisplayName($applicationDisplayName); + $request = (new CreateApplicationRequest()) + ->setParent($formattedParent) + ->setApplication($application); + + // Call the API and handle any network failures. + try { + /** @var Application $response */ + $response = $applicationServiceClient->createApplication($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + $applicationDisplayName = '[DISPLAY_NAME]'; + + create_application_sample($formattedParent, $applicationDisplayName); +} +// [END admanager_v1_generated_ApplicationService_CreateApplication_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/get_application.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/get_application.php new file mode 100644 index 000000000000..4f9df7813b82 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/get_application.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Application $response */ + $response = $applicationServiceClient->getApplication($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ApplicationServiceClient::applicationName('[NETWORK_CODE]', '[APPLICATION]'); + + get_application_sample($formattedName); +} +// [END admanager_v1_generated_ApplicationService_GetApplication_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/list_applications.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/list_applications.php new file mode 100644 index 000000000000..592a6a947329 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/list_applications.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $applicationServiceClient->listApplications($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ApplicationServiceClient::networkName('[NETWORK_CODE]'); + + list_applications_sample($formattedParent); +} +// [END admanager_v1_generated_ApplicationService_ListApplications_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/update_application.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/update_application.php new file mode 100644 index 000000000000..9f70105f4a75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ApplicationServiceClient/update_application.php @@ -0,0 +1,72 @@ +setDisplayName($applicationDisplayName); + $request = (new UpdateApplicationRequest()) + ->setApplication($application); + + // Call the API and handle any network failures. + try { + /** @var Application $response */ + $response = $applicationServiceClient->updateApplication($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $applicationDisplayName = '[DISPLAY_NAME]'; + + update_application_sample($applicationDisplayName); +} +// [END admanager_v1_generated_ApplicationService_UpdateApplication_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/get_audience_segment.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/get_audience_segment.php new file mode 100644 index 000000000000..77bae23ff3f0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/get_audience_segment.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AudienceSegment $response */ + $response = $audienceSegmentServiceClient->getAudienceSegment($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AudienceSegmentServiceClient::audienceSegmentName( + '[NETWORK_CODE]', + '[AUDIENCE_SEGMENT]' + ); + + get_audience_segment_sample($formattedName); +} +// [END admanager_v1_generated_AudienceSegmentService_GetAudienceSegment_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/list_audience_segments.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/list_audience_segments.php new file mode 100644 index 000000000000..e3cd44d09bc1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/AudienceSegmentServiceClient/list_audience_segments.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $audienceSegmentServiceClient->listAudienceSegments($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AudienceSegmentServiceClient::networkName('[NETWORK_CODE]'); + + list_audience_segments_sample($formattedParent); +} +// [END admanager_v1_generated_AudienceSegmentService_ListAudienceSegments_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/get_bandwidth_group.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/get_bandwidth_group.php new file mode 100644 index 000000000000..50088731d515 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/get_bandwidth_group.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var BandwidthGroup $response */ + $response = $bandwidthGroupServiceClient->getBandwidthGroup($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = BandwidthGroupServiceClient::bandwidthGroupName( + '[NETWORK_CODE]', + '[BANDWIDTH_GROUP]' + ); + + get_bandwidth_group_sample($formattedName); +} +// [END admanager_v1_generated_BandwidthGroupService_GetBandwidthGroup_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/list_bandwidth_groups.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/list_bandwidth_groups.php new file mode 100644 index 000000000000..d3aac19bf094 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BandwidthGroupServiceClient/list_bandwidth_groups.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $bandwidthGroupServiceClient->listBandwidthGroups($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = BandwidthGroupServiceClient::networkName('[NETWORK_CODE]'); + + list_bandwidth_groups_sample($formattedParent); +} +// [END admanager_v1_generated_BandwidthGroupService_ListBandwidthGroups_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/get_browser_language.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/get_browser_language.php new file mode 100644 index 000000000000..93d213140086 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/get_browser_language.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var BrowserLanguage $response */ + $response = $browserLanguageServiceClient->getBrowserLanguage($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = BrowserLanguageServiceClient::browserLanguageName( + '[NETWORK_CODE]', + '[BROWSER_LANGUAGE]' + ); + + get_browser_language_sample($formattedName); +} +// [END admanager_v1_generated_BrowserLanguageService_GetBrowserLanguage_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/list_browser_languages.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/list_browser_languages.php new file mode 100644 index 000000000000..e8fbccba2b1f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserLanguageServiceClient/list_browser_languages.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $browserLanguageServiceClient->listBrowserLanguages($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = BrowserLanguageServiceClient::networkName('[NETWORK_CODE]'); + + list_browser_languages_sample($formattedParent); +} +// [END admanager_v1_generated_BrowserLanguageService_ListBrowserLanguages_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/get_browser.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/get_browser.php new file mode 100644 index 000000000000..dc18627249f3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/get_browser.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Browser $response */ + $response = $browserServiceClient->getBrowser($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = BrowserServiceClient::browserName('[NETWORK_CODE]', '[BROWSER]'); + + get_browser_sample($formattedName); +} +// [END admanager_v1_generated_BrowserService_GetBrowser_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/list_browsers.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/list_browsers.php new file mode 100644 index 000000000000..d41af0b9ccb8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/BrowserServiceClient/list_browsers.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $browserServiceClient->listBrowsers($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = BrowserServiceClient::networkName('[NETWORK_CODE]'); + + list_browsers_sample($formattedParent); +} +// [END admanager_v1_generated_BrowserService_ListBrowsers_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_activate_cdn_configs.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_activate_cdn_configs.php new file mode 100644 index 000000000000..045714e9e341 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_activate_cdn_configs.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCdnConfigsResponse $response */ + $response = $cdnConfigServiceClient->batchActivateCdnConfigs($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CdnConfigServiceClient::cdnConfigName('[NETWORK_CODE]', '[CDN_CONFIG]'); + + batch_activate_cdn_configs_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CdnConfigService_BatchActivateCdnConfigs_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_archive_cdn_configs.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_archive_cdn_configs.php new file mode 100644 index 000000000000..3833b7ad3b05 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_archive_cdn_configs.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveCdnConfigsResponse $response */ + $response = $cdnConfigServiceClient->batchArchiveCdnConfigs($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CdnConfigServiceClient::cdnConfigName('[NETWORK_CODE]', '[CDN_CONFIG]'); + + batch_archive_cdn_configs_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CdnConfigService_BatchArchiveCdnConfigs_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_create_cdn_configs.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_create_cdn_configs.php new file mode 100644 index 000000000000..80ee7941fb0c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_create_cdn_configs.php @@ -0,0 +1,103 @@ +setDisplayName($requestsCdnConfigDisplayName) + ->setCdnConfigType($requestsCdnConfigCdnConfigType); + $createCdnConfigRequest = (new CreateCdnConfigRequest()) + ->setParent($formattedRequestsParent) + ->setCdnConfig($requestsCdnConfig); + $requests = [$createCdnConfigRequest,]; + $request = (new BatchCreateCdnConfigsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateCdnConfigsResponse $response */ + $response = $cdnConfigServiceClient->batchCreateCdnConfigs($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $requestsCdnConfigDisplayName = '[DISPLAY_NAME]'; + $requestsCdnConfigCdnConfigType = CdnConfigType::CDN_CONFIG_TYPE_UNSPECIFIED; + + batch_create_cdn_configs_sample( + $formattedParent, + $formattedRequestsParent, + $requestsCdnConfigDisplayName, + $requestsCdnConfigCdnConfigType + ); +} +// [END admanager_v1_generated_CdnConfigService_BatchCreateCdnConfigs_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_update_cdn_configs.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_update_cdn_configs.php new file mode 100644 index 000000000000..4c68335f3e2d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/batch_update_cdn_configs.php @@ -0,0 +1,96 @@ +setDisplayName($requestsCdnConfigDisplayName) + ->setCdnConfigType($requestsCdnConfigCdnConfigType); + $updateCdnConfigRequest = (new UpdateCdnConfigRequest()) + ->setCdnConfig($requestsCdnConfig); + $requests = [$updateCdnConfigRequest,]; + $request = (new BatchUpdateCdnConfigsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateCdnConfigsResponse $response */ + $response = $cdnConfigServiceClient->batchUpdateCdnConfigs($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $requestsCdnConfigDisplayName = '[DISPLAY_NAME]'; + $requestsCdnConfigCdnConfigType = CdnConfigType::CDN_CONFIG_TYPE_UNSPECIFIED; + + batch_update_cdn_configs_sample( + $formattedParent, + $requestsCdnConfigDisplayName, + $requestsCdnConfigCdnConfigType + ); +} +// [END admanager_v1_generated_CdnConfigService_BatchUpdateCdnConfigs_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/create_cdn_config.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/create_cdn_config.php new file mode 100644 index 000000000000..be70dcdce87c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/create_cdn_config.php @@ -0,0 +1,85 @@ +setDisplayName($cdnConfigDisplayName) + ->setCdnConfigType($cdnConfigCdnConfigType); + $request = (new CreateCdnConfigRequest()) + ->setParent($formattedParent) + ->setCdnConfig($cdnConfig); + + // Call the API and handle any network failures. + try { + /** @var CdnConfig $response */ + $response = $cdnConfigServiceClient->createCdnConfig($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + $cdnConfigDisplayName = '[DISPLAY_NAME]'; + $cdnConfigCdnConfigType = CdnConfigType::CDN_CONFIG_TYPE_UNSPECIFIED; + + create_cdn_config_sample($formattedParent, $cdnConfigDisplayName, $cdnConfigCdnConfigType); +} +// [END admanager_v1_generated_CdnConfigService_CreateCdnConfig_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/get_cdn_config.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/get_cdn_config.php new file mode 100644 index 000000000000..8d77a98238ad --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/get_cdn_config.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CdnConfig $response */ + $response = $cdnConfigServiceClient->getCdnConfig($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CdnConfigServiceClient::cdnConfigName('[NETWORK_CODE]', '[CDN_CONFIG]'); + + get_cdn_config_sample($formattedName); +} +// [END admanager_v1_generated_CdnConfigService_GetCdnConfig_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/list_cdn_configs.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/list_cdn_configs.php new file mode 100644 index 000000000000..1a0da1528377 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/list_cdn_configs.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $cdnConfigServiceClient->listCdnConfigs($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CdnConfigServiceClient::networkName('[NETWORK_CODE]'); + + list_cdn_configs_sample($formattedParent); +} +// [END admanager_v1_generated_CdnConfigService_ListCdnConfigs_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/update_cdn_config.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/update_cdn_config.php new file mode 100644 index 000000000000..c224dcff80c2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CdnConfigServiceClient/update_cdn_config.php @@ -0,0 +1,77 @@ +setDisplayName($cdnConfigDisplayName) + ->setCdnConfigType($cdnConfigCdnConfigType); + $request = (new UpdateCdnConfigRequest()) + ->setCdnConfig($cdnConfig); + + // Call the API and handle any network failures. + try { + /** @var CdnConfig $response */ + $response = $cdnConfigServiceClient->updateCdnConfig($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $cdnConfigDisplayName = '[DISPLAY_NAME]'; + $cdnConfigCdnConfigType = CdnConfigType::CDN_CONFIG_TYPE_UNSPECIFIED; + + update_cdn_config_sample($cdnConfigDisplayName, $cdnConfigCdnConfigType); +} +// [END admanager_v1_generated_CdnConfigService_UpdateCdnConfig_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_activate_cms_metadata_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_activate_cms_metadata_keys.php new file mode 100644 index 000000000000..211ec72ba313 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_activate_cms_metadata_keys.php @@ -0,0 +1,83 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCmsMetadataKeysResponse $response */ + $response = $cmsMetadataKeyServiceClient->batchActivateCmsMetadataKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataKeyServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CmsMetadataKeyServiceClient::cmsMetadataKeyName( + '[NETWORK_CODE]', + '[CMS_METADATA_KEY]' + ); + + batch_activate_cms_metadata_keys_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CmsMetadataKeyService_BatchActivateCmsMetadataKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_deactivate_cms_metadata_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_deactivate_cms_metadata_keys.php new file mode 100644 index 000000000000..9fee6462dc6a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/batch_deactivate_cms_metadata_keys.php @@ -0,0 +1,84 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateCmsMetadataKeysResponse $response */ + $response = $cmsMetadataKeyServiceClient->batchDeactivateCmsMetadataKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataKeyServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CmsMetadataKeyServiceClient::cmsMetadataKeyName( + '[NETWORK_CODE]', + '[CMS_METADATA_KEY]' + ); + + batch_deactivate_cms_metadata_keys_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CmsMetadataKeyService_BatchDeactivateCmsMetadataKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/get_cms_metadata_key.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/get_cms_metadata_key.php new file mode 100644 index 000000000000..f07f28902b3b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/get_cms_metadata_key.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CmsMetadataKey $response */ + $response = $cmsMetadataKeyServiceClient->getCmsMetadataKey($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CmsMetadataKeyServiceClient::cmsMetadataKeyName( + '[NETWORK_CODE]', + '[CMS_METADATA_KEY]' + ); + + get_cms_metadata_key_sample($formattedName); +} +// [END admanager_v1_generated_CmsMetadataKeyService_GetCmsMetadataKey_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/list_cms_metadata_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/list_cms_metadata_keys.php new file mode 100644 index 000000000000..ae0895ac215d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataKeyServiceClient/list_cms_metadata_keys.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $cmsMetadataKeyServiceClient->listCmsMetadataKeys($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataKeyServiceClient::networkName('[NETWORK_CODE]'); + + list_cms_metadata_keys_sample($formattedParent); +} +// [END admanager_v1_generated_CmsMetadataKeyService_ListCmsMetadataKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_activate_cms_metadata_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_activate_cms_metadata_values.php new file mode 100644 index 000000000000..4386b4a4bbb8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_activate_cms_metadata_values.php @@ -0,0 +1,84 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCmsMetadataValuesResponse $response */ + $response = $cmsMetadataValueServiceClient->batchActivateCmsMetadataValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CmsMetadataValueServiceClient::cmsMetadataValueName( + '[NETWORK_CODE]', + '[CMS_METADATA_VALUE]' + ); + + batch_activate_cms_metadata_values_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CmsMetadataValueService_BatchActivateCmsMetadataValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_deactivate_cms_metadata_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_deactivate_cms_metadata_values.php new file mode 100644 index 000000000000..e38dabe3738a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/batch_deactivate_cms_metadata_values.php @@ -0,0 +1,84 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateCmsMetadataValuesResponse $response */ + $response = $cmsMetadataValueServiceClient->batchDeactivateCmsMetadataValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CmsMetadataValueServiceClient::cmsMetadataValueName( + '[NETWORK_CODE]', + '[CMS_METADATA_VALUE]' + ); + + batch_deactivate_cms_metadata_values_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CmsMetadataValueService_BatchDeactivateCmsMetadataValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/get_cms_metadata_value.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/get_cms_metadata_value.php new file mode 100644 index 000000000000..969e4b143079 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/get_cms_metadata_value.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CmsMetadataValue $response */ + $response = $cmsMetadataValueServiceClient->getCmsMetadataValue($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CmsMetadataValueServiceClient::cmsMetadataValueName( + '[NETWORK_CODE]', + '[CMS_METADATA_VALUE]' + ); + + get_cms_metadata_value_sample($formattedName); +} +// [END admanager_v1_generated_CmsMetadataValueService_GetCmsMetadataValue_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/list_cms_metadata_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/list_cms_metadata_values.php new file mode 100644 index 000000000000..be4d10dcc7d3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CmsMetadataValueServiceClient/list_cms_metadata_values.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $cmsMetadataValueServiceClient->listCmsMetadataValues($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CmsMetadataValueServiceClient::networkName('[NETWORK_CODE]'); + + list_cms_metadata_values_sample($formattedParent); +} +// [END admanager_v1_generated_CmsMetadataValueService_ListCmsMetadataValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/get_company.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/get_company.php new file mode 100644 index 000000000000..4b3fdbc849bc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/get_company.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Company $response */ + $response = $companyServiceClient->getCompany($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CompanyServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + get_company_sample($formattedName); +} +// [END admanager_v1_generated_CompanyService_GetCompany_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/list_companies.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/list_companies.php new file mode 100644 index 000000000000..95efd8f3ccc4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CompanyServiceClient/list_companies.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $companyServiceClient->listCompanies($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CompanyServiceClient::networkName('[NETWORK_CODE]'); + + list_companies_sample($formattedParent); +} +// [END admanager_v1_generated_CompanyService_ListCompanies_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_create_contacts.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_create_contacts.php new file mode 100644 index 000000000000..93742694dd2b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_create_contacts.php @@ -0,0 +1,104 @@ +setDisplayName($requestsContactDisplayName) + ->setCompany($formattedRequestsContactCompany); + $createContactRequest = (new CreateContactRequest()) + ->setParent($formattedRequestsParent) + ->setContact($requestsContact); + $requests = [$createContactRequest,]; + $request = (new BatchCreateContactsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateContactsResponse $response */ + $response = $contactServiceClient->batchCreateContacts($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContactServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = ContactServiceClient::networkName('[NETWORK_CODE]'); + $requestsContactDisplayName = '[DISPLAY_NAME]'; + $formattedRequestsContactCompany = ContactServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + batch_create_contacts_sample( + $formattedParent, + $formattedRequestsParent, + $requestsContactDisplayName, + $formattedRequestsContactCompany + ); +} +// [END admanager_v1_generated_ContactService_BatchCreateContacts_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_update_contacts.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_update_contacts.php new file mode 100644 index 000000000000..8467c832f199 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/batch_update_contacts.php @@ -0,0 +1,97 @@ +setDisplayName($requestsContactDisplayName) + ->setCompany($formattedRequestsContactCompany); + $updateContactRequest = (new UpdateContactRequest()) + ->setContact($requestsContact); + $requests = [$updateContactRequest,]; + $request = (new BatchUpdateContactsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateContactsResponse $response */ + $response = $contactServiceClient->batchUpdateContacts($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContactServiceClient::networkName('[NETWORK_CODE]'); + $requestsContactDisplayName = '[DISPLAY_NAME]'; + $formattedRequestsContactCompany = ContactServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + batch_update_contacts_sample( + $formattedParent, + $requestsContactDisplayName, + $formattedRequestsContactCompany + ); +} +// [END admanager_v1_generated_ContactService_BatchUpdateContacts_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/create_contact.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/create_contact.php new file mode 100644 index 000000000000..e057594a0d03 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/create_contact.php @@ -0,0 +1,86 @@ +setDisplayName($contactDisplayName) + ->setCompany($formattedContactCompany); + $request = (new CreateContactRequest()) + ->setParent($formattedParent) + ->setContact($contact); + + // Call the API and handle any network failures. + try { + /** @var Contact $response */ + $response = $contactServiceClient->createContact($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContactServiceClient::networkName('[NETWORK_CODE]'); + $contactDisplayName = '[DISPLAY_NAME]'; + $formattedContactCompany = ContactServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + create_contact_sample($formattedParent, $contactDisplayName, $formattedContactCompany); +} +// [END admanager_v1_generated_ContactService_CreateContact_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/get_contact.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/get_contact.php new file mode 100644 index 000000000000..b273d8a8b4df --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/get_contact.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Contact $response */ + $response = $contactServiceClient->getContact($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ContactServiceClient::contactName('[NETWORK_CODE]', '[CONTACT]'); + + get_contact_sample($formattedName); +} +// [END admanager_v1_generated_ContactService_GetContact_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/list_contacts.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/list_contacts.php new file mode 100644 index 000000000000..46a70da8044d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/list_contacts.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $contactServiceClient->listContacts($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContactServiceClient::networkName('[NETWORK_CODE]'); + + list_contacts_sample($formattedParent); +} +// [END admanager_v1_generated_ContactService_ListContacts_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/update_contact.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/update_contact.php new file mode 100644 index 000000000000..532fe8cf6317 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContactServiceClient/update_contact.php @@ -0,0 +1,78 @@ +setDisplayName($contactDisplayName) + ->setCompany($formattedContactCompany); + $request = (new UpdateContactRequest()) + ->setContact($contact); + + // Call the API and handle any network failures. + try { + /** @var Contact $response */ + $response = $contactServiceClient->updateContact($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $contactDisplayName = '[DISPLAY_NAME]'; + $formattedContactCompany = ContactServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + update_contact_sample($contactDisplayName, $formattedContactCompany); +} +// [END admanager_v1_generated_ContactService_UpdateContact_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_activate_content_bundles.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_activate_content_bundles.php new file mode 100644 index 000000000000..13469ce5343f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_activate_content_bundles.php @@ -0,0 +1,83 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateContentBundlesResponse $response */ + $response = $contentBundleServiceClient->batchActivateContentBundles($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContentBundleServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = ContentBundleServiceClient::contentBundleName( + '[NETWORK_CODE]', + '[CONTENT_BUNDLE]' + ); + + batch_activate_content_bundles_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_ContentBundleService_BatchActivateContentBundles_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_deactivate_content_bundles.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_deactivate_content_bundles.php new file mode 100644 index 000000000000..257da1d88002 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/batch_deactivate_content_bundles.php @@ -0,0 +1,84 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateContentBundlesResponse $response */ + $response = $contentBundleServiceClient->batchDeactivateContentBundles($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContentBundleServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = ContentBundleServiceClient::contentBundleName( + '[NETWORK_CODE]', + '[CONTENT_BUNDLE]' + ); + + batch_deactivate_content_bundles_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_ContentBundleService_BatchDeactivateContentBundles_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/get_content_bundle.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/get_content_bundle.php new file mode 100644 index 000000000000..ac07873af8cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/get_content_bundle.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ContentBundle $response */ + $response = $contentBundleServiceClient->getContentBundle($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ContentBundleServiceClient::contentBundleName( + '[NETWORK_CODE]', + '[CONTENT_BUNDLE]' + ); + + get_content_bundle_sample($formattedName); +} +// [END admanager_v1_generated_ContentBundleService_GetContentBundle_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/list_content_bundles.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/list_content_bundles.php new file mode 100644 index 000000000000..9a7773fbefb3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentBundleServiceClient/list_content_bundles.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $contentBundleServiceClient->listContentBundles($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContentBundleServiceClient::networkName('[NETWORK_CODE]'); + + list_content_bundles_sample($formattedParent); +} +// [END admanager_v1_generated_ContentBundleService_ListContentBundles_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/get_content_label.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/get_content_label.php new file mode 100644 index 000000000000..efc59d08e94b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/get_content_label.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ContentLabel $response */ + $response = $contentLabelServiceClient->getContentLabel($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ContentLabelServiceClient::contentLabelName('[NETWORK_CODE]', '[CONTENT_LABEL]'); + + get_content_label_sample($formattedName); +} +// [END admanager_v1_generated_ContentLabelService_GetContentLabel_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/list_content_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/list_content_labels.php new file mode 100644 index 000000000000..e4dadff3f1f8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentLabelServiceClient/list_content_labels.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $contentLabelServiceClient->listContentLabels($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContentLabelServiceClient::networkName('[NETWORK_CODE]'); + + list_content_labels_sample($formattedParent); +} +// [END admanager_v1_generated_ContentLabelService_ListContentLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/get_content.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/get_content.php new file mode 100644 index 000000000000..cf05ad9a3b75 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/get_content.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Content $response */ + $response = $contentServiceClient->getContent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ContentServiceClient::contentName('[NETWORK_CODE]', '[CONTENT]'); + + get_content_sample($formattedName); +} +// [END admanager_v1_generated_ContentService_GetContent_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/list_content.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/list_content.php new file mode 100644 index 000000000000..76aefdd4f758 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ContentServiceClient/list_content.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $contentServiceClient->listContent($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ContentServiceClient::networkName('[NETWORK_CODE]'); + + list_content_sample($formattedParent); +} +// [END admanager_v1_generated_ContentService_ListContent_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/create_creative_set.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/create_creative_set.php new file mode 100644 index 000000000000..4ea0579f7210 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/create_creative_set.php @@ -0,0 +1,105 @@ +setDisplayName($creativeSetDisplayName) + ->setMasterCreative($formattedCreativeSetMasterCreative) + ->setCompanionCreatives($formattedCreativeSetCompanionCreatives); + $request = (new CreateCreativeSetRequest()) + ->setParent($formattedParent) + ->setCreativeSet($creativeSet); + + // Call the API and handle any network failures. + try { + /** @var CreativeSet $response */ + $response = $creativeSetServiceClient->createCreativeSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CreativeSetServiceClient::networkName('[NETWORK_CODE]'); + $creativeSetDisplayName = '[DISPLAY_NAME]'; + $formattedCreativeSetMasterCreative = CreativeSetServiceClient::creativeName( + '[NETWORK_CODE]', + '[CREATIVE]' + ); + $formattedCreativeSetCompanionCreativesElement = CreativeSetServiceClient::creativeName( + '[NETWORK_CODE]', + '[CREATIVE]' + ); + + create_creative_set_sample( + $formattedParent, + $creativeSetDisplayName, + $formattedCreativeSetMasterCreative, + $formattedCreativeSetCompanionCreativesElement + ); +} +// [END admanager_v1_generated_CreativeSetService_CreateCreativeSet_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/get_creative_set.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/get_creative_set.php new file mode 100644 index 000000000000..dded07209536 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/get_creative_set.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CreativeSet $response */ + $response = $creativeSetServiceClient->getCreativeSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CreativeSetServiceClient::creativeSetName('[NETWORK_CODE]', '[CREATIVE_SET]'); + + get_creative_set_sample($formattedName); +} +// [END admanager_v1_generated_CreativeSetService_GetCreativeSet_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/list_creative_sets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/list_creative_sets.php new file mode 100644 index 000000000000..52a9f333ccf4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/list_creative_sets.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $creativeSetServiceClient->listCreativeSets($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CreativeSetServiceClient::networkName('[NETWORK_CODE]'); + + list_creative_sets_sample($formattedParent); +} +// [END admanager_v1_generated_CreativeSetService_ListCreativeSets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/update_creative_set.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/update_creative_set.php new file mode 100644 index 000000000000..2b7575232c77 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeSetServiceClient/update_creative_set.php @@ -0,0 +1,98 @@ +setDisplayName($creativeSetDisplayName) + ->setMasterCreative($formattedCreativeSetMasterCreative) + ->setCompanionCreatives($formattedCreativeSetCompanionCreatives); + $request = (new UpdateCreativeSetRequest()) + ->setCreativeSet($creativeSet); + + // Call the API and handle any network failures. + try { + /** @var CreativeSet $response */ + $response = $creativeSetServiceClient->updateCreativeSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $creativeSetDisplayName = '[DISPLAY_NAME]'; + $formattedCreativeSetMasterCreative = CreativeSetServiceClient::creativeName( + '[NETWORK_CODE]', + '[CREATIVE]' + ); + $formattedCreativeSetCompanionCreativesElement = CreativeSetServiceClient::creativeName( + '[NETWORK_CODE]', + '[CREATIVE]' + ); + + update_creative_set_sample( + $creativeSetDisplayName, + $formattedCreativeSetMasterCreative, + $formattedCreativeSetCompanionCreativesElement + ); +} +// [END admanager_v1_generated_CreativeSetService_UpdateCreativeSet_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/get_creative_template.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/get_creative_template.php new file mode 100644 index 000000000000..ba1a92f09232 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/get_creative_template.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CreativeTemplate $response */ + $response = $creativeTemplateServiceClient->getCreativeTemplate($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CreativeTemplateServiceClient::creativeTemplateName( + '[NETWORK_CODE]', + '[CREATIVE_TEMPLATE]' + ); + + get_creative_template_sample($formattedName); +} +// [END admanager_v1_generated_CreativeTemplateService_GetCreativeTemplate_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/list_creative_templates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/list_creative_templates.php new file mode 100644 index 000000000000..5dd949551869 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CreativeTemplateServiceClient/list_creative_templates.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $creativeTemplateServiceClient->listCreativeTemplates($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CreativeTemplateServiceClient::networkName('[NETWORK_CODE]'); + + list_creative_templates_sample($formattedParent); +} +// [END admanager_v1_generated_CreativeTemplateService_ListCreativeTemplates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_activate_custom_fields.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_activate_custom_fields.php new file mode 100644 index 000000000000..0b5ef91fd652 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_activate_custom_fields.php @@ -0,0 +1,82 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCustomFieldsResponse $response */ + $response = $customFieldServiceClient->batchActivateCustomFields($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CustomFieldServiceClient::customFieldName( + '[NETWORK_CODE]', + '[CUSTOM_FIELD]' + ); + + batch_activate_custom_fields_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CustomFieldService_BatchActivateCustomFields_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_create_custom_fields.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_create_custom_fields.php new file mode 100644 index 000000000000..499c94edcc09 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_create_custom_fields.php @@ -0,0 +1,114 @@ +setDisplayName($requestsCustomFieldDisplayName) + ->setEntityType($requestsCustomFieldEntityType) + ->setDataType($requestsCustomFieldDataType) + ->setVisibility($requestsCustomFieldVisibility); + $createCustomFieldRequest = (new CreateCustomFieldRequest()) + ->setParent($formattedRequestsParent) + ->setCustomField($requestsCustomField); + $requests = [$createCustomFieldRequest,]; + $request = (new BatchCreateCustomFieldsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateCustomFieldsResponse $response */ + $response = $customFieldServiceClient->batchCreateCustomFields($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $requestsCustomFieldDisplayName = '[DISPLAY_NAME]'; + $requestsCustomFieldEntityType = CustomFieldEntityType::CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED; + $requestsCustomFieldDataType = CustomFieldDataType::CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED; + $requestsCustomFieldVisibility = CustomFieldVisibility::CUSTOM_FIELD_VISIBILITY_UNSPECIFIED; + + batch_create_custom_fields_sample( + $formattedParent, + $formattedRequestsParent, + $requestsCustomFieldDisplayName, + $requestsCustomFieldEntityType, + $requestsCustomFieldDataType, + $requestsCustomFieldVisibility + ); +} +// [END admanager_v1_generated_CustomFieldService_BatchCreateCustomFields_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_deactivate_custom_fields.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_deactivate_custom_fields.php new file mode 100644 index 000000000000..25c987a15e1a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_deactivate_custom_fields.php @@ -0,0 +1,82 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateCustomFieldsResponse $response */ + $response = $customFieldServiceClient->batchDeactivateCustomFields($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CustomFieldServiceClient::customFieldName( + '[NETWORK_CODE]', + '[CUSTOM_FIELD]' + ); + + batch_deactivate_custom_fields_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CustomFieldService_BatchDeactivateCustomFields_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_update_custom_fields.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_update_custom_fields.php new file mode 100644 index 000000000000..1ee5641b8807 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/batch_update_custom_fields.php @@ -0,0 +1,107 @@ +setDisplayName($requestsCustomFieldDisplayName) + ->setEntityType($requestsCustomFieldEntityType) + ->setDataType($requestsCustomFieldDataType) + ->setVisibility($requestsCustomFieldVisibility); + $updateCustomFieldRequest = (new UpdateCustomFieldRequest()) + ->setCustomField($requestsCustomField); + $requests = [$updateCustomFieldRequest,]; + $request = (new BatchUpdateCustomFieldsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateCustomFieldsResponse $response */ + $response = $customFieldServiceClient->batchUpdateCustomFields($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $requestsCustomFieldDisplayName = '[DISPLAY_NAME]'; + $requestsCustomFieldEntityType = CustomFieldEntityType::CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED; + $requestsCustomFieldDataType = CustomFieldDataType::CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED; + $requestsCustomFieldVisibility = CustomFieldVisibility::CUSTOM_FIELD_VISIBILITY_UNSPECIFIED; + + batch_update_custom_fields_sample( + $formattedParent, + $requestsCustomFieldDisplayName, + $requestsCustomFieldEntityType, + $requestsCustomFieldDataType, + $requestsCustomFieldVisibility + ); +} +// [END admanager_v1_generated_CustomFieldService_BatchUpdateCustomFields_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/create_custom_field.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/create_custom_field.php new file mode 100644 index 000000000000..f46928b33511 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/create_custom_field.php @@ -0,0 +1,100 @@ +setDisplayName($customFieldDisplayName) + ->setEntityType($customFieldEntityType) + ->setDataType($customFieldDataType) + ->setVisibility($customFieldVisibility); + $request = (new CreateCustomFieldRequest()) + ->setParent($formattedParent) + ->setCustomField($customField); + + // Call the API and handle any network failures. + try { + /** @var CustomField $response */ + $response = $customFieldServiceClient->createCustomField($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + $customFieldDisplayName = '[DISPLAY_NAME]'; + $customFieldEntityType = CustomFieldEntityType::CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED; + $customFieldDataType = CustomFieldDataType::CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED; + $customFieldVisibility = CustomFieldVisibility::CUSTOM_FIELD_VISIBILITY_UNSPECIFIED; + + create_custom_field_sample( + $formattedParent, + $customFieldDisplayName, + $customFieldEntityType, + $customFieldDataType, + $customFieldVisibility + ); +} +// [END admanager_v1_generated_CustomFieldService_CreateCustomField_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/get_custom_field.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/get_custom_field.php new file mode 100644 index 000000000000..90206cfbbf74 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/get_custom_field.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomField $response */ + $response = $customFieldServiceClient->getCustomField($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CustomFieldServiceClient::customFieldName('[NETWORK_CODE]', '[CUSTOM_FIELD]'); + + get_custom_field_sample($formattedName); +} +// [END admanager_v1_generated_CustomFieldService_GetCustomField_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/list_custom_fields.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/list_custom_fields.php new file mode 100644 index 000000000000..39136daac959 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/list_custom_fields.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $customFieldServiceClient->listCustomFields($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomFieldServiceClient::networkName('[NETWORK_CODE]'); + + list_custom_fields_sample($formattedParent); +} +// [END admanager_v1_generated_CustomFieldService_ListCustomFields_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/update_custom_field.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/update_custom_field.php new file mode 100644 index 000000000000..430d88d96036 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomFieldServiceClient/update_custom_field.php @@ -0,0 +1,93 @@ +setDisplayName($customFieldDisplayName) + ->setEntityType($customFieldEntityType) + ->setDataType($customFieldDataType) + ->setVisibility($customFieldVisibility); + $request = (new UpdateCustomFieldRequest()) + ->setCustomField($customField); + + // Call the API and handle any network failures. + try { + /** @var CustomField $response */ + $response = $customFieldServiceClient->updateCustomField($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $customFieldDisplayName = '[DISPLAY_NAME]'; + $customFieldEntityType = CustomFieldEntityType::CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED; + $customFieldDataType = CustomFieldDataType::CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED; + $customFieldVisibility = CustomFieldVisibility::CUSTOM_FIELD_VISIBILITY_UNSPECIFIED; + + update_custom_field_sample( + $customFieldDisplayName, + $customFieldEntityType, + $customFieldDataType, + $customFieldVisibility + ); +} +// [END admanager_v1_generated_CustomFieldService_UpdateCustomField_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_activate_custom_targeting_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_activate_custom_targeting_keys.php new file mode 100644 index 000000000000..a8b45284bb65 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_activate_custom_targeting_keys.php @@ -0,0 +1,83 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCustomTargetingKeysResponse $response */ + $response = $customTargetingKeyServiceClient->batchActivateCustomTargetingKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CustomTargetingKeyServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + + batch_activate_custom_targeting_keys_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CustomTargetingKeyService_BatchActivateCustomTargetingKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_create_custom_targeting_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_create_custom_targeting_keys.php new file mode 100644 index 000000000000..6f4daea7ae58 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_create_custom_targeting_keys.php @@ -0,0 +1,105 @@ +setType($requestsCustomTargetingKeyType) + ->setReportableType($requestsCustomTargetingKeyReportableType); + $createCustomTargetingKeyRequest = (new CreateCustomTargetingKeyRequest()) + ->setParent($formattedRequestsParent) + ->setCustomTargetingKey($requestsCustomTargetingKey); + $requests = [$createCustomTargetingKeyRequest,]; + $request = (new BatchCreateCustomTargetingKeysRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateCustomTargetingKeysResponse $response */ + $response = $customTargetingKeyServiceClient->batchCreateCustomTargetingKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $requestsCustomTargetingKeyType = CustomTargetingKeyType::CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED; + $requestsCustomTargetingKeyReportableType = CustomTargetingKeyReportableType::CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED; + + batch_create_custom_targeting_keys_sample( + $formattedParent, + $formattedRequestsParent, + $requestsCustomTargetingKeyType, + $requestsCustomTargetingKeyReportableType + ); +} +// [END admanager_v1_generated_CustomTargetingKeyService_BatchCreateCustomTargetingKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_deactivate_custom_targeting_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_deactivate_custom_targeting_keys.php new file mode 100644 index 000000000000..589676784a53 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_deactivate_custom_targeting_keys.php @@ -0,0 +1,83 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateCustomTargetingKeysResponse $response */ + $response = $customTargetingKeyServiceClient->batchDeactivateCustomTargetingKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = CustomTargetingKeyServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + + batch_deactivate_custom_targeting_keys_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_CustomTargetingKeyService_BatchDeactivateCustomTargetingKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_update_custom_targeting_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_update_custom_targeting_keys.php new file mode 100644 index 000000000000..03085c67dfe7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/batch_update_custom_targeting_keys.php @@ -0,0 +1,98 @@ +setType($requestsCustomTargetingKeyType) + ->setReportableType($requestsCustomTargetingKeyReportableType); + $updateCustomTargetingKeyRequest = (new UpdateCustomTargetingKeyRequest()) + ->setCustomTargetingKey($requestsCustomTargetingKey); + $requests = [$updateCustomTargetingKeyRequest,]; + $request = (new BatchUpdateCustomTargetingKeysRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateCustomTargetingKeysResponse $response */ + $response = $customTargetingKeyServiceClient->batchUpdateCustomTargetingKeys($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $requestsCustomTargetingKeyType = CustomTargetingKeyType::CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED; + $requestsCustomTargetingKeyReportableType = CustomTargetingKeyReportableType::CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED; + + batch_update_custom_targeting_keys_sample( + $formattedParent, + $requestsCustomTargetingKeyType, + $requestsCustomTargetingKeyReportableType + ); +} +// [END admanager_v1_generated_CustomTargetingKeyService_BatchUpdateCustomTargetingKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/create_custom_targeting_key.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/create_custom_targeting_key.php new file mode 100644 index 000000000000..29bda5c6d53a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/create_custom_targeting_key.php @@ -0,0 +1,91 @@ +setType($customTargetingKeyType) + ->setReportableType($customTargetingKeyReportableType); + $request = (new CreateCustomTargetingKeyRequest()) + ->setParent($formattedParent) + ->setCustomTargetingKey($customTargetingKey); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingKey $response */ + $response = $customTargetingKeyServiceClient->createCustomTargetingKey($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + $customTargetingKeyType = CustomTargetingKeyType::CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED; + $customTargetingKeyReportableType = CustomTargetingKeyReportableType::CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED; + + create_custom_targeting_key_sample( + $formattedParent, + $customTargetingKeyType, + $customTargetingKeyReportableType + ); +} +// [END admanager_v1_generated_CustomTargetingKeyService_CreateCustomTargetingKey_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/get_custom_targeting_key.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/get_custom_targeting_key.php new file mode 100644 index 000000000000..d0c13ed456f8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/get_custom_targeting_key.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingKey $response */ + $response = $customTargetingKeyServiceClient->getCustomTargetingKey($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CustomTargetingKeyServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + + get_custom_targeting_key_sample($formattedName); +} +// [END admanager_v1_generated_CustomTargetingKeyService_GetCustomTargetingKey_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/list_custom_targeting_keys.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/list_custom_targeting_keys.php new file mode 100644 index 000000000000..9540906bed4a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/list_custom_targeting_keys.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $customTargetingKeyServiceClient->listCustomTargetingKeys($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingKeyServiceClient::networkName('[NETWORK_CODE]'); + + list_custom_targeting_keys_sample($formattedParent); +} +// [END admanager_v1_generated_CustomTargetingKeyService_ListCustomTargetingKeys_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/update_custom_targeting_key.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/update_custom_targeting_key.php new file mode 100644 index 000000000000..5ff60380987b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingKeyServiceClient/update_custom_targeting_key.php @@ -0,0 +1,81 @@ +setType($customTargetingKeyType) + ->setReportableType($customTargetingKeyReportableType); + $request = (new UpdateCustomTargetingKeyRequest()) + ->setCustomTargetingKey($customTargetingKey); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingKey $response */ + $response = $customTargetingKeyServiceClient->updateCustomTargetingKey($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $customTargetingKeyType = CustomTargetingKeyType::CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED; + $customTargetingKeyReportableType = CustomTargetingKeyReportableType::CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED; + + update_custom_targeting_key_sample($customTargetingKeyType, $customTargetingKeyReportableType); +} +// [END admanager_v1_generated_CustomTargetingKeyService_UpdateCustomTargetingKey_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_activate_custom_targeting_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_activate_custom_targeting_values.php new file mode 100644 index 000000000000..fdc66d63c33e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_activate_custom_targeting_values.php @@ -0,0 +1,88 @@ +setName($formattedRequestsName); + $requests = [$activateCustomTargetingValueRequest,]; + $request = (new BatchActivateCustomTargetingValuesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateCustomTargetingValuesResponse $response */ + $response = $customTargetingValueServiceClient->batchActivateCustomTargetingValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsName = CustomTargetingValueServiceClient::customTargetingValueName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_VALUE]' + ); + + batch_activate_custom_targeting_values_sample($formattedParent, $formattedRequestsName); +} +// [END admanager_v1_generated_CustomTargetingValueService_BatchActivateCustomTargetingValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_create_custom_targeting_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_create_custom_targeting_values.php new file mode 100644 index 000000000000..c72e0dae0449 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_create_custom_targeting_values.php @@ -0,0 +1,109 @@ +setCustomTargetingKey($formattedRequestsCustomTargetingValueCustomTargetingKey) + ->setMatchType($requestsCustomTargetingValueMatchType); + $createCustomTargetingValueRequest = (new CreateCustomTargetingValueRequest()) + ->setParent($formattedRequestsParent) + ->setCustomTargetingValue($requestsCustomTargetingValue); + $requests = [$createCustomTargetingValueRequest,]; + $request = (new BatchCreateCustomTargetingValuesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateCustomTargetingValuesResponse $response */ + $response = $customTargetingValueServiceClient->batchCreateCustomTargetingValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsCustomTargetingValueCustomTargetingKey = CustomTargetingValueServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + $requestsCustomTargetingValueMatchType = CustomTargetingValueMatchType::CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED; + + batch_create_custom_targeting_values_sample( + $formattedParent, + $formattedRequestsParent, + $formattedRequestsCustomTargetingValueCustomTargetingKey, + $requestsCustomTargetingValueMatchType + ); +} +// [END admanager_v1_generated_CustomTargetingValueService_BatchCreateCustomTargetingValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_deactivate_custom_targeting_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_deactivate_custom_targeting_values.php new file mode 100644 index 000000000000..fdf5c1d67e5a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_deactivate_custom_targeting_values.php @@ -0,0 +1,88 @@ +setName($formattedRequestsName); + $requests = [$deactivateCustomTargetingValueRequest,]; + $request = (new BatchDeactivateCustomTargetingValuesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateCustomTargetingValuesResponse $response */ + $response = $customTargetingValueServiceClient->batchDeactivateCustomTargetingValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsName = CustomTargetingValueServiceClient::customTargetingValueName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_VALUE]' + ); + + batch_deactivate_custom_targeting_values_sample($formattedParent, $formattedRequestsName); +} +// [END admanager_v1_generated_CustomTargetingValueService_BatchDeactivateCustomTargetingValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_update_custom_targeting_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_update_custom_targeting_values.php new file mode 100644 index 000000000000..0de1702648d7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/batch_update_custom_targeting_values.php @@ -0,0 +1,101 @@ +setCustomTargetingKey($formattedRequestsCustomTargetingValueCustomTargetingKey) + ->setMatchType($requestsCustomTargetingValueMatchType); + $updateCustomTargetingValueRequest = (new UpdateCustomTargetingValueRequest()) + ->setCustomTargetingValue($requestsCustomTargetingValue); + $requests = [$updateCustomTargetingValueRequest,]; + $request = (new BatchUpdateCustomTargetingValuesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateCustomTargetingValuesResponse $response */ + $response = $customTargetingValueServiceClient->batchUpdateCustomTargetingValues($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsCustomTargetingValueCustomTargetingKey = CustomTargetingValueServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + $requestsCustomTargetingValueMatchType = CustomTargetingValueMatchType::CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED; + + batch_update_custom_targeting_values_sample( + $formattedParent, + $formattedRequestsCustomTargetingValueCustomTargetingKey, + $requestsCustomTargetingValueMatchType + ); +} +// [END admanager_v1_generated_CustomTargetingValueService_BatchUpdateCustomTargetingValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/create_custom_targeting_value.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/create_custom_targeting_value.php new file mode 100644 index 000000000000..0a65a934d9e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/create_custom_targeting_value.php @@ -0,0 +1,96 @@ +setCustomTargetingKey($formattedCustomTargetingValueCustomTargetingKey) + ->setMatchType($customTargetingValueMatchType); + $request = (new CreateCustomTargetingValueRequest()) + ->setParent($formattedParent) + ->setCustomTargetingValue($customTargetingValue); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingValue $response */ + $response = $customTargetingValueServiceClient->createCustomTargetingValue($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + $formattedCustomTargetingValueCustomTargetingKey = CustomTargetingValueServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + $customTargetingValueMatchType = CustomTargetingValueMatchType::CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED; + + create_custom_targeting_value_sample( + $formattedParent, + $formattedCustomTargetingValueCustomTargetingKey, + $customTargetingValueMatchType + ); +} +// [END admanager_v1_generated_CustomTargetingValueService_CreateCustomTargetingValue_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/get_custom_targeting_value.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/get_custom_targeting_value.php new file mode 100644 index 000000000000..56f4a309873b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/get_custom_targeting_value.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingValue $response */ + $response = $customTargetingValueServiceClient->getCustomTargetingValue($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = CustomTargetingValueServiceClient::customTargetingValueName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_VALUE]' + ); + + get_custom_targeting_value_sample($formattedName); +} +// [END admanager_v1_generated_CustomTargetingValueService_GetCustomTargetingValue_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/list_custom_targeting_values.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/list_custom_targeting_values.php new file mode 100644 index 000000000000..4136e2afaf43 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/list_custom_targeting_values.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $customTargetingValueServiceClient->listCustomTargetingValues($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = CustomTargetingValueServiceClient::networkName('[NETWORK_CODE]'); + + list_custom_targeting_values_sample($formattedParent); +} +// [END admanager_v1_generated_CustomTargetingValueService_ListCustomTargetingValues_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/update_custom_targeting_value.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/update_custom_targeting_value.php new file mode 100644 index 000000000000..edb6629ad855 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/CustomTargetingValueServiceClient/update_custom_targeting_value.php @@ -0,0 +1,88 @@ +setCustomTargetingKey($formattedCustomTargetingValueCustomTargetingKey) + ->setMatchType($customTargetingValueMatchType); + $request = (new UpdateCustomTargetingValueRequest()) + ->setCustomTargetingValue($customTargetingValue); + + // Call the API and handle any network failures. + try { + /** @var CustomTargetingValue $response */ + $response = $customTargetingValueServiceClient->updateCustomTargetingValue($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedCustomTargetingValueCustomTargetingKey = CustomTargetingValueServiceClient::customTargetingKeyName( + '[NETWORK_CODE]', + '[CUSTOM_TARGETING_KEY]' + ); + $customTargetingValueMatchType = CustomTargetingValueMatchType::CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED; + + update_custom_targeting_value_sample( + $formattedCustomTargetingValueCustomTargetingKey, + $customTargetingValueMatchType + ); +} +// [END admanager_v1_generated_CustomTargetingValueService_UpdateCustomTargetingValue_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/get_device_capability.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/get_device_capability.php new file mode 100644 index 000000000000..955fa1569a9a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/get_device_capability.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DeviceCapability $response */ + $response = $deviceCapabilityServiceClient->getDeviceCapability($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DeviceCapabilityServiceClient::deviceCapabilityName( + '[NETWORK_CODE]', + '[DEVICE_CAPABILITY]' + ); + + get_device_capability_sample($formattedName); +} +// [END admanager_v1_generated_DeviceCapabilityService_GetDeviceCapability_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/list_device_capabilities.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/list_device_capabilities.php new file mode 100644 index 000000000000..9023d708638c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCapabilityServiceClient/list_device_capabilities.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $deviceCapabilityServiceClient->listDeviceCapabilities($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = DeviceCapabilityServiceClient::networkName('[NETWORK_CODE]'); + + list_device_capabilities_sample($formattedParent); +} +// [END admanager_v1_generated_DeviceCapabilityService_ListDeviceCapabilities_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/get_device_category.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/get_device_category.php new file mode 100644 index 000000000000..0765e94be611 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/get_device_category.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DeviceCategory $response */ + $response = $deviceCategoryServiceClient->getDeviceCategory($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DeviceCategoryServiceClient::deviceCategoryName( + '[NETWORK_CODE]', + '[DEVICE_CATEGORY]' + ); + + get_device_category_sample($formattedName); +} +// [END admanager_v1_generated_DeviceCategoryService_GetDeviceCategory_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/list_device_categories.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/list_device_categories.php new file mode 100644 index 000000000000..36f2709f8bf7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceCategoryServiceClient/list_device_categories.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $deviceCategoryServiceClient->listDeviceCategories($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = DeviceCategoryServiceClient::networkName('[NETWORK_CODE]'); + + list_device_categories_sample($formattedParent); +} +// [END admanager_v1_generated_DeviceCategoryService_ListDeviceCategories_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/get_device_manufacturer.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/get_device_manufacturer.php new file mode 100644 index 000000000000..80475804271e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/get_device_manufacturer.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DeviceManufacturer $response */ + $response = $deviceManufacturerServiceClient->getDeviceManufacturer($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DeviceManufacturerServiceClient::deviceManufacturerName( + '[NETWORK_CODE]', + '[DEVICE_MANUFACTURER]' + ); + + get_device_manufacturer_sample($formattedName); +} +// [END admanager_v1_generated_DeviceManufacturerService_GetDeviceManufacturer_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/list_device_manufacturers.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/list_device_manufacturers.php new file mode 100644 index 000000000000..69c6f3972984 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/DeviceManufacturerServiceClient/list_device_manufacturers.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $deviceManufacturerServiceClient->listDeviceManufacturers($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = DeviceManufacturerServiceClient::networkName('[NETWORK_CODE]'); + + list_device_manufacturers_sample($formattedParent); +} +// [END admanager_v1_generated_DeviceManufacturerService_ListDeviceManufacturers_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_create_entity_signals_mappings.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_create_entity_signals_mappings.php new file mode 100644 index 000000000000..1f5b00f0bff9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_create_entity_signals_mappings.php @@ -0,0 +1,87 @@ +setParent($formattedRequestsParent) + ->setEntitySignalsMapping($requestsEntitySignalsMapping); + $requests = [$createEntitySignalsMappingRequest,]; + $request = (new BatchCreateEntitySignalsMappingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateEntitySignalsMappingsResponse $response */ + $response = $entitySignalsMappingServiceClient->batchCreateEntitySignalsMappings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = EntitySignalsMappingServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = EntitySignalsMappingServiceClient::networkName('[NETWORK_CODE]'); + + batch_create_entity_signals_mappings_sample($formattedParent, $formattedRequestsParent); +} +// [END admanager_v1_generated_EntitySignalsMappingService_BatchCreateEntitySignalsMappings_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_update_entity_signals_mappings.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_update_entity_signals_mappings.php new file mode 100644 index 000000000000..d6f16021f164 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/batch_update_entity_signals_mappings.php @@ -0,0 +1,80 @@ +setEntitySignalsMapping($requestsEntitySignalsMapping); + $requests = [$updateEntitySignalsMappingRequest,]; + $request = (new BatchUpdateEntitySignalsMappingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateEntitySignalsMappingsResponse $response */ + $response = $entitySignalsMappingServiceClient->batchUpdateEntitySignalsMappings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = EntitySignalsMappingServiceClient::networkName('[NETWORK_CODE]'); + + batch_update_entity_signals_mappings_sample($formattedParent); +} +// [END admanager_v1_generated_EntitySignalsMappingService_BatchUpdateEntitySignalsMappings_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/create_entity_signals_mapping.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/create_entity_signals_mapping.php new file mode 100644 index 000000000000..b6596b9146fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/create_entity_signals_mapping.php @@ -0,0 +1,74 @@ +setParent($formattedParent) + ->setEntitySignalsMapping($entitySignalsMapping); + + // Call the API and handle any network failures. + try { + /** @var EntitySignalsMapping $response */ + $response = $entitySignalsMappingServiceClient->createEntitySignalsMapping($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = EntitySignalsMappingServiceClient::networkName('[NETWORK_CODE]'); + + create_entity_signals_mapping_sample($formattedParent); +} +// [END admanager_v1_generated_EntitySignalsMappingService_CreateEntitySignalsMapping_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/get_entity_signals_mapping.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/get_entity_signals_mapping.php new file mode 100644 index 000000000000..ad36f7ab5e92 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/get_entity_signals_mapping.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var EntitySignalsMapping $response */ + $response = $entitySignalsMappingServiceClient->getEntitySignalsMapping($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = EntitySignalsMappingServiceClient::entitySignalsMappingName( + '[NETWORK_CODE]', + '[ENTITY_SIGNALS_MAPPING]' + ); + + get_entity_signals_mapping_sample($formattedName); +} +// [END admanager_v1_generated_EntitySignalsMappingService_GetEntitySignalsMapping_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/list_entity_signals_mappings.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/list_entity_signals_mappings.php new file mode 100644 index 000000000000..0746e19543db --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/list_entity_signals_mappings.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $entitySignalsMappingServiceClient->listEntitySignalsMappings($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = EntitySignalsMappingServiceClient::networkName('[NETWORK_CODE]'); + + list_entity_signals_mappings_sample($formattedParent); +} +// [END admanager_v1_generated_EntitySignalsMappingService_ListEntitySignalsMappings_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/update_entity_signals_mapping.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/update_entity_signals_mapping.php new file mode 100644 index 000000000000..d72d59ff461a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/EntitySignalsMappingServiceClient/update_entity_signals_mapping.php @@ -0,0 +1,59 @@ +setEntitySignalsMapping($entitySignalsMapping); + + // Call the API and handle any network failures. + try { + /** @var EntitySignalsMapping $response */ + $response = $entitySignalsMappingServiceClient->updateEntitySignalsMapping($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_EntitySignalsMappingService_UpdateEntitySignalsMapping_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/get_geo_target.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/get_geo_target.php new file mode 100644 index 000000000000..53797b16b4dc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/get_geo_target.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var GeoTarget $response */ + $response = $geoTargetServiceClient->getGeoTarget($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = GeoTargetServiceClient::geoTargetName('[NETWORK_CODE]', '[GEO_TARGET]'); + + get_geo_target_sample($formattedName); +} +// [END admanager_v1_generated_GeoTargetService_GetGeoTarget_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/list_geo_targets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/list_geo_targets.php new file mode 100644 index 000000000000..c807a9589b44 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/GeoTargetServiceClient/list_geo_targets.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $geoTargetServiceClient->listGeoTargets($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = GeoTargetServiceClient::networkName('[NETWORK_CODE]'); + + list_geo_targets_sample($formattedParent); +} +// [END admanager_v1_generated_GeoTargetService_ListGeoTargets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_activate_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_activate_labels.php new file mode 100644 index 000000000000..c4232dff7308 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_activate_labels.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateLabelsResponse $response */ + $response = $labelServiceClient->batchActivateLabels($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LabelServiceClient::labelName('[NETWORK_CODE]', '[LABEL]'); + + batch_activate_labels_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LabelService_BatchActivateLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_create_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_create_labels.php new file mode 100644 index 000000000000..b5ebd4963635 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_create_labels.php @@ -0,0 +1,104 @@ +setDisplayName($requestsLabelDisplayName) + ->setTypes($requestsLabelTypes); + $createLabelRequest = (new CreateLabelRequest()) + ->setParent($formattedRequestsParent) + ->setLabel($requestsLabel); + $requests = [$createLabelRequest,]; + $request = (new BatchCreateLabelsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateLabelsResponse $response */ + $response = $labelServiceClient->batchCreateLabels($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $requestsLabelDisplayName = '[DISPLAY_NAME]'; + $requestsLabelTypesElement = LabelType::LABEL_TYPE_UNSPECIFIED; + + batch_create_labels_sample( + $formattedParent, + $formattedRequestsParent, + $requestsLabelDisplayName, + $requestsLabelTypesElement + ); +} +// [END admanager_v1_generated_LabelService_BatchCreateLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_deactivate_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_deactivate_labels.php new file mode 100644 index 000000000000..10c051727a84 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_deactivate_labels.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateLabelsResponse $response */ + $response = $labelServiceClient->batchDeactivateLabels($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LabelServiceClient::labelName('[NETWORK_CODE]', '[LABEL]'); + + batch_deactivate_labels_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LabelService_BatchDeactivateLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_update_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_update_labels.php new file mode 100644 index 000000000000..b266791aaf13 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/batch_update_labels.php @@ -0,0 +1,93 @@ +setDisplayName($requestsLabelDisplayName) + ->setTypes($requestsLabelTypes); + $updateLabelRequest = (new UpdateLabelRequest()) + ->setLabel($requestsLabel); + $requests = [$updateLabelRequest,]; + $request = (new BatchUpdateLabelsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateLabelsResponse $response */ + $response = $labelServiceClient->batchUpdateLabels($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $requestsLabelDisplayName = '[DISPLAY_NAME]'; + $requestsLabelTypesElement = LabelType::LABEL_TYPE_UNSPECIFIED; + + batch_update_labels_sample($formattedParent, $requestsLabelDisplayName, $requestsLabelTypesElement); +} +// [END admanager_v1_generated_LabelService_BatchUpdateLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/create_label.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/create_label.php new file mode 100644 index 000000000000..ce089addbe88 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/create_label.php @@ -0,0 +1,86 @@ +setDisplayName($labelDisplayName) + ->setTypes($labelTypes); + $request = (new CreateLabelRequest()) + ->setParent($formattedParent) + ->setLabel($label); + + // Call the API and handle any network failures. + try { + /** @var Label $response */ + $response = $labelServiceClient->createLabel($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + $labelDisplayName = '[DISPLAY_NAME]'; + $labelTypesElement = LabelType::LABEL_TYPE_UNSPECIFIED; + + create_label_sample($formattedParent, $labelDisplayName, $labelTypesElement); +} +// [END admanager_v1_generated_LabelService_CreateLabel_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/get_label.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/get_label.php new file mode 100644 index 000000000000..7ce7a4dc7232 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/get_label.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Label $response */ + $response = $labelServiceClient->getLabel($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = LabelServiceClient::labelName('[NETWORK_CODE]', '[LABEL]'); + + get_label_sample($formattedName); +} +// [END admanager_v1_generated_LabelService_GetLabel_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/list_labels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/list_labels.php new file mode 100644 index 000000000000..169b9dcd0f80 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/list_labels.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $labelServiceClient->listLabels($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LabelServiceClient::networkName('[NETWORK_CODE]'); + + list_labels_sample($formattedParent); +} +// [END admanager_v1_generated_LabelService_ListLabels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/update_label.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/update_label.php new file mode 100644 index 000000000000..28670c3a2594 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LabelServiceClient/update_label.php @@ -0,0 +1,78 @@ +setDisplayName($labelDisplayName) + ->setTypes($labelTypes); + $request = (new UpdateLabelRequest()) + ->setLabel($label); + + // Call the API and handle any network failures. + try { + /** @var Label $response */ + $response = $labelServiceClient->updateLabel($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $labelDisplayName = '[DISPLAY_NAME]'; + $labelTypesElement = LabelType::LABEL_TYPE_UNSPECIFIED; + + update_label_sample($labelDisplayName, $labelTypesElement); +} +// [END admanager_v1_generated_LabelService_UpdateLabel_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/get_line_item.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/get_line_item.php new file mode 100644 index 000000000000..5751b2fdda01 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/get_line_item.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var LineItem $response */ + $response = $lineItemServiceClient->getLineItem($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = LineItemServiceClient::lineItemName('[NETWORK_CODE]', '[LINE_ITEM]'); + + get_line_item_sample($formattedName); +} +// [END admanager_v1_generated_LineItemService_GetLineItem_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/list_line_items.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/list_line_items.php new file mode 100644 index 000000000000..bc435c379ac8 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LineItemServiceClient/list_line_items.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $lineItemServiceClient->listLineItems($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LineItemServiceClient::networkName('[NETWORK_CODE]'); + + list_line_items_sample($formattedParent); +} +// [END admanager_v1_generated_LineItemService_ListLineItems_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/get_linked_device.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/get_linked_device.php new file mode 100644 index 000000000000..471c866393aa --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/get_linked_device.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var LinkedDevice $response */ + $response = $linkedDeviceServiceClient->getLinkedDevice($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = LinkedDeviceServiceClient::linkedDeviceName('[NETWORK_CODE]', '[LINKED_DEVICE]'); + + get_linked_device_sample($formattedName); +} +// [END admanager_v1_generated_LinkedDeviceService_GetLinkedDevice_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/list_linked_devices.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/list_linked_devices.php new file mode 100644 index 000000000000..433207deb57d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LinkedDeviceServiceClient/list_linked_devices.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $linkedDeviceServiceClient->listLinkedDevices($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LinkedDeviceServiceClient::networkName('[NETWORK_CODE]'); + + list_linked_devices_sample($formattedParent); +} +// [END admanager_v1_generated_LinkedDeviceService_ListLinkedDevices_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_activate_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_activate_live_streams.php new file mode 100644 index 000000000000..9fb45958ac7c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_activate_live_streams.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchActivateLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + batch_activate_live_streams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LiveStreamService_BatchActivateLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_archive_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_archive_live_streams.php new file mode 100644 index 000000000000..bfe288243648 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_archive_live_streams.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchArchiveLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + batch_archive_live_streams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LiveStreamService_BatchArchiveLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_create_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_create_live_streams.php new file mode 100644 index 000000000000..bbc6497665d3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_create_live_streams.php @@ -0,0 +1,114 @@ +setDisplayName($requestsLiveStreamDisplayName) + ->setContentUrls($requestsLiveStreamContentUrls) + ->setAdTags($requestsLiveStreamAdTags); + $createLiveStreamRequest = (new CreateLiveStreamRequest()) + ->setParent($formattedRequestsParent) + ->setLiveStream($requestsLiveStream); + $requests = [$createLiveStreamRequest,]; + $request = (new BatchCreateLiveStreamsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchCreateLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $requestsLiveStreamDisplayName = '[DISPLAY_NAME]'; + $requestsLiveStreamContentUrlsElement = '[CONTENT_URLS]'; + $requestsLiveStreamAdTagsElement = '[AD_TAGS]'; + + batch_create_live_streams_sample( + $formattedParent, + $formattedRequestsParent, + $requestsLiveStreamDisplayName, + $requestsLiveStreamContentUrlsElement, + $requestsLiveStreamAdTagsElement + ); +} +// [END admanager_v1_generated_LiveStreamService_BatchCreateLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_ads_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_ads_live_streams.php new file mode 100644 index 000000000000..bcd5df36e3b3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_ads_live_streams.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchPauseAdsLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchPauseAdsLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + batch_pause_ads_live_streams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LiveStreamService_BatchPauseAdsLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_live_streams.php new file mode 100644 index 000000000000..41c286491124 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_pause_live_streams.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchPauseLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchPauseLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + batch_pause_live_streams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LiveStreamService_BatchPauseLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_refresh_master_playlists.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_refresh_master_playlists.php new file mode 100644 index 000000000000..fd0c3a13b185 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_refresh_master_playlists.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchRefreshMasterPlaylistsResponse $response */ + $response = $liveStreamServiceClient->batchRefreshMasterPlaylists($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + batch_refresh_master_playlists_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_LiveStreamService_BatchRefreshMasterPlaylists_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_update_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_update_live_streams.php new file mode 100644 index 000000000000..cf0706f8c282 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/batch_update_live_streams.php @@ -0,0 +1,107 @@ +setDisplayName($requestsLiveStreamDisplayName) + ->setContentUrls($requestsLiveStreamContentUrls) + ->setAdTags($requestsLiveStreamAdTags); + $updateLiveStreamRequest = (new UpdateLiveStreamRequest()) + ->setLiveStream($requestsLiveStream); + $requests = [$updateLiveStreamRequest,]; + $request = (new BatchUpdateLiveStreamsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateLiveStreamsResponse $response */ + $response = $liveStreamServiceClient->batchUpdateLiveStreams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $requestsLiveStreamDisplayName = '[DISPLAY_NAME]'; + $requestsLiveStreamContentUrlsElement = '[CONTENT_URLS]'; + $requestsLiveStreamAdTagsElement = '[AD_TAGS]'; + + batch_update_live_streams_sample( + $formattedParent, + $requestsLiveStreamDisplayName, + $requestsLiveStreamContentUrlsElement, + $requestsLiveStreamAdTagsElement + ); +} +// [END admanager_v1_generated_LiveStreamService_BatchUpdateLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/create_live_stream.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/create_live_stream.php new file mode 100644 index 000000000000..c24efbf8fcb9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/create_live_stream.php @@ -0,0 +1,100 @@ +setDisplayName($liveStreamDisplayName) + ->setContentUrls($liveStreamContentUrls) + ->setAdTags($liveStreamAdTags); + $request = (new CreateLiveStreamRequest()) + ->setParent($formattedParent) + ->setLiveStream($liveStream); + + // Call the API and handle any network failures. + try { + /** @var LiveStream $response */ + $response = $liveStreamServiceClient->createLiveStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + $liveStreamDisplayName = '[DISPLAY_NAME]'; + $liveStreamContentUrlsElement = '[CONTENT_URLS]'; + $liveStreamAdTagsElement = '[AD_TAGS]'; + + create_live_stream_sample( + $formattedParent, + $liveStreamDisplayName, + $liveStreamContentUrlsElement, + $liveStreamAdTagsElement + ); +} +// [END admanager_v1_generated_LiveStreamService_CreateLiveStream_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/get_live_stream.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/get_live_stream.php new file mode 100644 index 000000000000..692541908b19 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/get_live_stream.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var LiveStream $response */ + $response = $liveStreamServiceClient->getLiveStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = LiveStreamServiceClient::liveStreamName('[NETWORK_CODE]', '[LIVE_STREAM]'); + + get_live_stream_sample($formattedName); +} +// [END admanager_v1_generated_LiveStreamService_GetLiveStream_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/list_live_streams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/list_live_streams.php new file mode 100644 index 000000000000..795c2854dd96 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/list_live_streams.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $liveStreamServiceClient->listLiveStreams($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = LiveStreamServiceClient::networkName('[NETWORK_CODE]'); + + list_live_streams_sample($formattedParent); +} +// [END admanager_v1_generated_LiveStreamService_ListLiveStreams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/update_live_stream.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/update_live_stream.php new file mode 100644 index 000000000000..307ebfc01bfc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/LiveStreamServiceClient/update_live_stream.php @@ -0,0 +1,93 @@ +setDisplayName($liveStreamDisplayName) + ->setContentUrls($liveStreamContentUrls) + ->setAdTags($liveStreamAdTags); + $request = (new UpdateLiveStreamRequest()) + ->setLiveStream($liveStream); + + // Call the API and handle any network failures. + try { + /** @var LiveStream $response */ + $response = $liveStreamServiceClient->updateLiveStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $liveStreamDisplayName = '[DISPLAY_NAME]'; + $liveStreamContentUrlsElement = '[CONTENT_URLS]'; + $liveStreamAdTagsElement = '[AD_TAGS]'; + + update_live_stream_sample( + $liveStreamDisplayName, + $liveStreamContentUrlsElement, + $liveStreamAdTagsElement + ); +} +// [END admanager_v1_generated_LiveStreamService_UpdateLiveStream_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/McmEarningsServiceClient/fetch_mcm_earnings.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/McmEarningsServiceClient/fetch_mcm_earnings.php new file mode 100644 index 000000000000..609a98635087 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/McmEarningsServiceClient/fetch_mcm_earnings.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setMonth($month); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $mcmEarningsServiceClient->fetchMcmEarnings($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = McmEarningsServiceClient::networkName('[NETWORK_CODE]'); + + fetch_mcm_earnings_sample($formattedParent); +} +// [END admanager_v1_generated_McmEarningsService_FetchMcmEarnings_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/get_mobile_carrier.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/get_mobile_carrier.php new file mode 100644 index 000000000000..c9b4d7cf17c4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/get_mobile_carrier.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var MobileCarrier $response */ + $response = $mobileCarrierServiceClient->getMobileCarrier($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = MobileCarrierServiceClient::mobileCarrierName( + '[NETWORK_CODE]', + '[MOBILE_CARRIER]' + ); + + get_mobile_carrier_sample($formattedName); +} +// [END admanager_v1_generated_MobileCarrierService_GetMobileCarrier_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/list_mobile_carriers.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/list_mobile_carriers.php new file mode 100644 index 000000000000..12273b07abc3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileCarrierServiceClient/list_mobile_carriers.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $mobileCarrierServiceClient->listMobileCarriers($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = MobileCarrierServiceClient::networkName('[NETWORK_CODE]'); + + list_mobile_carriers_sample($formattedParent); +} +// [END admanager_v1_generated_MobileCarrierService_ListMobileCarriers_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/get_mobile_device.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/get_mobile_device.php new file mode 100644 index 000000000000..1aedeb2348ef --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/get_mobile_device.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var MobileDevice $response */ + $response = $mobileDeviceServiceClient->getMobileDevice($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = MobileDeviceServiceClient::mobileDeviceName('[NETWORK_CODE]', '[MOBILE_DEVICE]'); + + get_mobile_device_sample($formattedName); +} +// [END admanager_v1_generated_MobileDeviceService_GetMobileDevice_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/list_mobile_devices.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/list_mobile_devices.php new file mode 100644 index 000000000000..084c13288ccd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceServiceClient/list_mobile_devices.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $mobileDeviceServiceClient->listMobileDevices($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = MobileDeviceServiceClient::networkName('[NETWORK_CODE]'); + + list_mobile_devices_sample($formattedParent); +} +// [END admanager_v1_generated_MobileDeviceService_ListMobileDevices_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/get_mobile_device_submodel.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/get_mobile_device_submodel.php new file mode 100644 index 000000000000..0aae752ce671 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/get_mobile_device_submodel.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var MobileDeviceSubmodel $response */ + $response = $mobileDeviceSubmodelServiceClient->getMobileDeviceSubmodel($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = MobileDeviceSubmodelServiceClient::mobileDeviceSubmodelName( + '[NETWORK_CODE]', + '[MOBILE_DEVICE_SUBMODEL]' + ); + + get_mobile_device_submodel_sample($formattedName); +} +// [END admanager_v1_generated_MobileDeviceSubmodelService_GetMobileDeviceSubmodel_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/list_mobile_device_submodels.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/list_mobile_device_submodels.php new file mode 100644 index 000000000000..8984f80ead54 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/MobileDeviceSubmodelServiceClient/list_mobile_device_submodels.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $mobileDeviceSubmodelServiceClient->listMobileDeviceSubmodels($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = MobileDeviceSubmodelServiceClient::networkName('[NETWORK_CODE]'); + + list_mobile_device_submodels_sample($formattedParent); +} +// [END admanager_v1_generated_MobileDeviceSubmodelService_ListMobileDeviceSubmodels_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/get_network.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/get_network.php new file mode 100644 index 000000000000..93134e90a094 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/get_network.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Network $response */ + $response = $networkServiceClient->getNetwork($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = NetworkServiceClient::networkName('[NETWORK_CODE]'); + + get_network_sample($formattedName); +} +// [END admanager_v1_generated_NetworkService_GetNetwork_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/list_networks.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/list_networks.php new file mode 100644 index 000000000000..472a8fdfb6f7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/NetworkServiceClient/list_networks.php @@ -0,0 +1,60 @@ +listNetworks($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_NetworkService_ListNetworks_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/get_operating_system.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/get_operating_system.php new file mode 100644 index 000000000000..f6f975669b92 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/get_operating_system.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var OperatingSystem $response */ + $response = $operatingSystemServiceClient->getOperatingSystem($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = OperatingSystemServiceClient::operatingSystemName( + '[NETWORK_CODE]', + '[OPERATING_SYSTEM]' + ); + + get_operating_system_sample($formattedName); +} +// [END admanager_v1_generated_OperatingSystemService_GetOperatingSystem_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/list_operating_systems.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/list_operating_systems.php new file mode 100644 index 000000000000..b2ae73f6b00a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemServiceClient/list_operating_systems.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $operatingSystemServiceClient->listOperatingSystems($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OperatingSystemServiceClient::networkName('[NETWORK_CODE]'); + + list_operating_systems_sample($formattedParent); +} +// [END admanager_v1_generated_OperatingSystemService_ListOperatingSystems_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/get_operating_system_version.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/get_operating_system_version.php new file mode 100644 index 000000000000..1caf8a5d20c3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/get_operating_system_version.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var OperatingSystemVersion $response */ + $response = $operatingSystemVersionServiceClient->getOperatingSystemVersion($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = OperatingSystemVersionServiceClient::operatingSystemVersionName( + '[NETWORK_CODE]', + '[OPERATING_SYSTEM_VERSION]' + ); + + get_operating_system_version_sample($formattedName); +} +// [END admanager_v1_generated_OperatingSystemVersionService_GetOperatingSystemVersion_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/list_operating_system_versions.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/list_operating_system_versions.php new file mode 100644 index 000000000000..3b069ebe9d62 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OperatingSystemVersionServiceClient/list_operating_system_versions.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $operatingSystemVersionServiceClient->listOperatingSystemVersions($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OperatingSystemVersionServiceClient::networkName('[NETWORK_CODE]'); + + list_operating_system_versions_sample($formattedParent); +} +// [END admanager_v1_generated_OperatingSystemVersionService_ListOperatingSystemVersions_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_and_overbook_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_and_overbook_orders.php new file mode 100644 index 000000000000..73f3cd0f8cff --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_and_overbook_orders.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchApproveAndOverbookOrdersResponse $response */ + $response = $orderServiceClient->batchApproveAndOverbookOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_approve_and_overbook_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchApproveAndOverbookOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders.php new file mode 100644 index 000000000000..d5b2997d79b7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchApproveOrdersResponse $response */ + $response = $orderServiceClient->batchApproveOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_approve_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchApproveOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders_without_reservation.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders_without_reservation.php new file mode 100644 index 000000000000..cfc6162e0a6a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_approve_orders_without_reservation.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchApproveOrdersWithoutReservationResponse $response */ + $response = $orderServiceClient->batchApproveOrdersWithoutReservation($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_approve_orders_without_reservation_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchApproveOrdersWithoutReservation_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_archive_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_archive_orders.php new file mode 100644 index 000000000000..6f5b8bb76d7f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_archive_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveOrdersResponse $response */ + $response = $orderServiceClient->batchArchiveOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_archive_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchArchiveOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_create_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_create_orders.php new file mode 100644 index 000000000000..9f63adfa88a9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_create_orders.php @@ -0,0 +1,112 @@ +setDisplayName($requestsOrderDisplayName) + ->setTrafficker($formattedRequestsOrderTrafficker) + ->setAdvertiser($formattedRequestsOrderAdvertiser); + $createOrderRequest = (new CreateOrderRequest()) + ->setParent($formattedRequestsParent) + ->setOrder($requestsOrder); + $requests = [$createOrderRequest,]; + $request = (new BatchCreateOrdersRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateOrdersResponse $response */ + $response = $orderServiceClient->batchCreateOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $requestsOrderDisplayName = '[DISPLAY_NAME]'; + $formattedRequestsOrderTrafficker = OrderServiceClient::userName('[NETWORK_CODE]', '[USER]'); + $formattedRequestsOrderAdvertiser = OrderServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + batch_create_orders_sample( + $formattedParent, + $formattedRequestsParent, + $requestsOrderDisplayName, + $formattedRequestsOrderTrafficker, + $formattedRequestsOrderAdvertiser + ); +} +// [END admanager_v1_generated_OrderService_BatchCreateOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_delete_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_delete_orders.php new file mode 100644 index 000000000000..3254547e85bd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_delete_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeleteOrdersResponse $response */ + $response = $orderServiceClient->batchDeleteOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_delete_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchDeleteOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders.php new file mode 100644 index 000000000000..61da02a4d114 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDisapproveOrdersResponse $response */ + $response = $orderServiceClient->batchDisapproveOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_disapprove_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchDisapproveOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders_without_reservation_changes.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders_without_reservation_changes.php new file mode 100644 index 000000000000..f042ea1f1ee1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_disapprove_orders_without_reservation_changes.php @@ -0,0 +1,83 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDisapproveOrdersWithoutReservationChangesResponse $response */ + $response = $orderServiceClient->batchDisapproveOrdersWithoutReservationChanges($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_disapprove_orders_without_reservation_changes_sample( + $formattedParent, + $formattedNamesElement + ); +} +// [END admanager_v1_generated_OrderService_BatchDisapproveOrdersWithoutReservationChanges_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_pause_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_pause_orders.php new file mode 100644 index 000000000000..0b3ca9ae7255 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_pause_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchPauseOrdersResponse $response */ + $response = $orderServiceClient->batchPauseOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_pause_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchPauseOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_and_overbook_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_and_overbook_orders.php new file mode 100644 index 000000000000..06fb33679f8e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_and_overbook_orders.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchResumeAndOverbookOrdersResponse $response */ + $response = $orderServiceClient->batchResumeAndOverbookOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_resume_and_overbook_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchResumeAndOverbookOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_orders.php new file mode 100644 index 000000000000..9738fa842a7d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_resume_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchResumeOrdersResponse $response */ + $response = $orderServiceClient->batchResumeOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_resume_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchResumeOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders.php new file mode 100644 index 000000000000..97605f7a6c20 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchRetractOrdersResponse $response */ + $response = $orderServiceClient->batchRetractOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_retract_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchRetractOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders_without_reservation_changes.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders_without_reservation_changes.php new file mode 100644 index 000000000000..5d54b626f64d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_retract_orders_without_reservation_changes.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchRetractOrdersWithoutReservationChangesResponse $response */ + $response = $orderServiceClient->batchRetractOrdersWithoutReservationChanges($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_retract_orders_without_reservation_changes_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchRetractOrdersWithoutReservationChanges_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval.php new file mode 100644 index 000000000000..5abb09e5d80d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchSubmitOrdersForApprovalResponse $response */ + $response = $orderServiceClient->batchSubmitOrdersForApproval($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_submit_orders_for_approval_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchSubmitOrdersForApproval_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_and_overbook.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_and_overbook.php new file mode 100644 index 000000000000..24e9ec876bec --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_and_overbook.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchSubmitOrdersForApprovalAndOverbookResponse $response */ + $response = $orderServiceClient->batchSubmitOrdersForApprovalAndOverbook($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_submit_orders_for_approval_and_overbook_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchSubmitOrdersForApprovalAndOverbook_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_without_reservation_changes.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_without_reservation_changes.php new file mode 100644 index 000000000000..b8d39c6ad0a5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_submit_orders_for_approval_without_reservation_changes.php @@ -0,0 +1,84 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchSubmitOrdersForApprovalWithoutReservationChangesResponse $response */ + $response = $orderServiceClient->batchSubmitOrdersForApprovalWithoutReservationChanges($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_submit_orders_for_approval_without_reservation_changes_sample( + $formattedParent, + $formattedNamesElement + ); +} +// [END admanager_v1_generated_OrderService_BatchSubmitOrdersForApprovalWithoutReservationChanges_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_unarchive_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_unarchive_orders.php new file mode 100644 index 000000000000..28f63e91c415 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_unarchive_orders.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchUnarchiveOrdersResponse $response */ + $response = $orderServiceClient->batchUnarchiveOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + batch_unarchive_orders_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_OrderService_BatchUnarchiveOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_update_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_update_orders.php new file mode 100644 index 000000000000..71d96a2d0055 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/batch_update_orders.php @@ -0,0 +1,105 @@ +setDisplayName($requestsOrderDisplayName) + ->setTrafficker($formattedRequestsOrderTrafficker) + ->setAdvertiser($formattedRequestsOrderAdvertiser); + $updateOrderRequest = (new UpdateOrderRequest()) + ->setOrder($requestsOrder); + $requests = [$updateOrderRequest,]; + $request = (new BatchUpdateOrdersRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateOrdersResponse $response */ + $response = $orderServiceClient->batchUpdateOrders($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + $requestsOrderDisplayName = '[DISPLAY_NAME]'; + $formattedRequestsOrderTrafficker = OrderServiceClient::userName('[NETWORK_CODE]', '[USER]'); + $formattedRequestsOrderAdvertiser = OrderServiceClient::companyName('[NETWORK_CODE]', '[COMPANY]'); + + batch_update_orders_sample( + $formattedParent, + $requestsOrderDisplayName, + $formattedRequestsOrderTrafficker, + $formattedRequestsOrderAdvertiser + ); +} +// [END admanager_v1_generated_OrderService_BatchUpdateOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/get_order.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/get_order.php new file mode 100644 index 000000000000..d6ee1f255c12 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/get_order.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Order $response */ + $response = $orderServiceClient->getOrder($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = OrderServiceClient::orderName('[NETWORK_CODE]', '[ORDER]'); + + get_order_sample($formattedName); +} +// [END admanager_v1_generated_OrderService_GetOrder_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/list_orders.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/list_orders.php new file mode 100644 index 000000000000..8a9551aa3b8e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/OrderServiceClient/list_orders.php @@ -0,0 +1,80 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $orderServiceClient->listOrders($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = OrderServiceClient::networkName('[NETWORK_CODE]'); + + list_orders_sample($formattedParent); +} +// [END admanager_v1_generated_OrderService_ListOrders_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_activate_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_activate_placements.php new file mode 100644 index 000000000000..385f77374a61 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_activate_placements.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivatePlacementsResponse $response */ + $response = $placementServiceClient->batchActivatePlacements($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = PlacementServiceClient::placementName('[NETWORK_CODE]', '[PLACEMENT]'); + + batch_activate_placements_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_PlacementService_BatchActivatePlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_archive_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_archive_placements.php new file mode 100644 index 000000000000..98d1cd61d8d4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_archive_placements.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchivePlacementsResponse $response */ + $response = $placementServiceClient->batchArchivePlacements($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = PlacementServiceClient::placementName('[NETWORK_CODE]', '[PLACEMENT]'); + + batch_archive_placements_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_PlacementService_BatchArchivePlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_create_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_create_placements.php new file mode 100644 index 000000000000..db7e935cc3c2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_create_placements.php @@ -0,0 +1,97 @@ +setDisplayName($requestsPlacementDisplayName); + $createPlacementRequest = (new CreatePlacementRequest()) + ->setParent($formattedRequestsParent) + ->setPlacement($requestsPlacement); + $requests = [$createPlacementRequest,]; + $request = (new BatchCreatePlacementsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreatePlacementsResponse $response */ + $response = $placementServiceClient->batchCreatePlacements($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $requestsPlacementDisplayName = '[DISPLAY_NAME]'; + + batch_create_placements_sample( + $formattedParent, + $formattedRequestsParent, + $requestsPlacementDisplayName + ); +} +// [END admanager_v1_generated_PlacementService_BatchCreatePlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_deactivate_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_deactivate_placements.php new file mode 100644 index 000000000000..1854d809b977 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_deactivate_placements.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivatePlacementsResponse $response */ + $response = $placementServiceClient->batchDeactivatePlacements($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = PlacementServiceClient::placementName('[NETWORK_CODE]', '[PLACEMENT]'); + + batch_deactivate_placements_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_PlacementService_BatchDeactivatePlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_update_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_update_placements.php new file mode 100644 index 000000000000..e93d5ae13bc1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/batch_update_placements.php @@ -0,0 +1,87 @@ +setDisplayName($requestsPlacementDisplayName); + $updatePlacementRequest = (new UpdatePlacementRequest()) + ->setPlacement($requestsPlacement); + $requests = [$updatePlacementRequest,]; + $request = (new BatchUpdatePlacementsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdatePlacementsResponse $response */ + $response = $placementServiceClient->batchUpdatePlacements($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $requestsPlacementDisplayName = '[DISPLAY_NAME]'; + + batch_update_placements_sample($formattedParent, $requestsPlacementDisplayName); +} +// [END admanager_v1_generated_PlacementService_BatchUpdatePlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/create_placement.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/create_placement.php new file mode 100644 index 000000000000..dc9a6b711519 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/create_placement.php @@ -0,0 +1,78 @@ +setDisplayName($placementDisplayName); + $request = (new CreatePlacementRequest()) + ->setParent($formattedParent) + ->setPlacement($placement); + + // Call the API and handle any network failures. + try { + /** @var Placement $response */ + $response = $placementServiceClient->createPlacement($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + $placementDisplayName = '[DISPLAY_NAME]'; + + create_placement_sample($formattedParent, $placementDisplayName); +} +// [END admanager_v1_generated_PlacementService_CreatePlacement_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/get_placement.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/get_placement.php new file mode 100644 index 000000000000..6877eb8c9830 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/get_placement.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Placement $response */ + $response = $placementServiceClient->getPlacement($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = PlacementServiceClient::placementName('[NETWORK_CODE]', '[PLACEMENT]'); + + get_placement_sample($formattedName); +} +// [END admanager_v1_generated_PlacementService_GetPlacement_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/list_placements.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/list_placements.php new file mode 100644 index 000000000000..e94afbe2a85e --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/list_placements.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $placementServiceClient->listPlacements($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PlacementServiceClient::networkName('[NETWORK_CODE]'); + + list_placements_sample($formattedParent); +} +// [END admanager_v1_generated_PlacementService_ListPlacements_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/update_placement.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/update_placement.php new file mode 100644 index 000000000000..0dccc4e26517 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PlacementServiceClient/update_placement.php @@ -0,0 +1,73 @@ +setDisplayName($placementDisplayName); + $request = (new UpdatePlacementRequest()) + ->setPlacement($placement); + + // Call the API and handle any network failures. + try { + /** @var Placement $response */ + $response = $placementServiceClient->updatePlacement($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $placementDisplayName = '[DISPLAY_NAME]'; + + update_placement_sample($placementDisplayName); +} +// [END admanager_v1_generated_PlacementService_UpdatePlacement_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/create_private_auction_deal.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/create_private_auction_deal.php new file mode 100644 index 000000000000..aebac6195064 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/create_private_auction_deal.php @@ -0,0 +1,77 @@ +setFloorPrice($privateAuctionDealFloorPrice); + $request = (new CreatePrivateAuctionDealRequest()) + ->setParent($formattedParent) + ->setPrivateAuctionDeal($privateAuctionDeal); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuctionDeal $response */ + $response = $privateAuctionDealServiceClient->createPrivateAuctionDeal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PrivateAuctionDealServiceClient::networkName('[NETWORK_CODE]'); + + create_private_auction_deal_sample($formattedParent); +} +// [END admanager_v1_generated_PrivateAuctionDealService_CreatePrivateAuctionDeal_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/get_private_auction_deal.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/get_private_auction_deal.php new file mode 100644 index 000000000000..fac30047c0c1 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/get_private_auction_deal.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuctionDeal $response */ + $response = $privateAuctionDealServiceClient->getPrivateAuctionDeal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = PrivateAuctionDealServiceClient::privateAuctionDealName( + '[NETWORK_CODE]', + '[PRIVATE_AUCTION_DEAL]' + ); + + get_private_auction_deal_sample($formattedName); +} +// [END admanager_v1_generated_PrivateAuctionDealService_GetPrivateAuctionDeal_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/list_private_auction_deals.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/list_private_auction_deals.php new file mode 100644 index 000000000000..d3fc68cd8849 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/list_private_auction_deals.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $privateAuctionDealServiceClient->listPrivateAuctionDeals($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PrivateAuctionDealServiceClient::networkName('[NETWORK_CODE]'); + + list_private_auction_deals_sample($formattedParent); +} +// [END admanager_v1_generated_PrivateAuctionDealService_ListPrivateAuctionDeals_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/update_private_auction_deal.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/update_private_auction_deal.php new file mode 100644 index 000000000000..17a0e0ddc779 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionDealServiceClient/update_private_auction_deal.php @@ -0,0 +1,62 @@ +setFloorPrice($privateAuctionDealFloorPrice); + $request = (new UpdatePrivateAuctionDealRequest()) + ->setPrivateAuctionDeal($privateAuctionDeal); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuctionDeal $response */ + $response = $privateAuctionDealServiceClient->updatePrivateAuctionDeal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_PrivateAuctionDealService_UpdatePrivateAuctionDeal_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/create_private_auction.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/create_private_auction.php new file mode 100644 index 000000000000..a54ba56be165 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/create_private_auction.php @@ -0,0 +1,80 @@ +setDisplayName($privateAuctionDisplayName); + $request = (new CreatePrivateAuctionRequest()) + ->setParent($formattedParent) + ->setPrivateAuction($privateAuction); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuction $response */ + $response = $privateAuctionServiceClient->createPrivateAuction($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PrivateAuctionServiceClient::networkName('[NETWORK_CODE]'); + $privateAuctionDisplayName = '[DISPLAY_NAME]'; + + create_private_auction_sample($formattedParent, $privateAuctionDisplayName); +} +// [END admanager_v1_generated_PrivateAuctionService_CreatePrivateAuction_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/get_private_auction.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/get_private_auction.php new file mode 100644 index 000000000000..8a5384439d66 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/get_private_auction.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuction $response */ + $response = $privateAuctionServiceClient->getPrivateAuction($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = PrivateAuctionServiceClient::privateAuctionName( + '[NETWORK_CODE]', + '[PRIVATE_AUCTION]' + ); + + get_private_auction_sample($formattedName); +} +// [END admanager_v1_generated_PrivateAuctionService_GetPrivateAuction_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/list_private_auctions.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/list_private_auctions.php new file mode 100644 index 000000000000..0b552ef8c211 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/list_private_auctions.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $privateAuctionServiceClient->listPrivateAuctions($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = PrivateAuctionServiceClient::networkName('[NETWORK_CODE]'); + + list_private_auctions_sample($formattedParent); +} +// [END admanager_v1_generated_PrivateAuctionService_ListPrivateAuctions_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/update_private_auction.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/update_private_auction.php new file mode 100644 index 000000000000..36bc47319a49 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/PrivateAuctionServiceClient/update_private_auction.php @@ -0,0 +1,73 @@ +setDisplayName($privateAuctionDisplayName); + $request = (new UpdatePrivateAuctionRequest()) + ->setPrivateAuction($privateAuction); + + // Call the API and handle any network failures. + try { + /** @var PrivateAuction $response */ + $response = $privateAuctionServiceClient->updatePrivateAuction($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $privateAuctionDisplayName = '[DISPLAY_NAME]'; + + update_private_auction_sample($privateAuctionDisplayName); +} +// [END admanager_v1_generated_PrivateAuctionService_UpdatePrivateAuction_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/get_programmatic_buyer.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/get_programmatic_buyer.php new file mode 100644 index 000000000000..ce598df2a6f9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/get_programmatic_buyer.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ProgrammaticBuyer $response */ + $response = $programmaticBuyerServiceClient->getProgrammaticBuyer($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ProgrammaticBuyerServiceClient::programmaticBuyerName( + '[NETWORK_CODE]', + '[PROGRAMMATIC_BUYER]' + ); + + get_programmatic_buyer_sample($formattedName); +} +// [END admanager_v1_generated_ProgrammaticBuyerService_GetProgrammaticBuyer_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/list_programmatic_buyers.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/list_programmatic_buyers.php new file mode 100644 index 000000000000..0cdcae8e17cc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ProgrammaticBuyerServiceClient/list_programmatic_buyers.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $programmaticBuyerServiceClient->listProgrammaticBuyers($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ProgrammaticBuyerServiceClient::networkName('[NETWORK_CODE]'); + + list_programmatic_buyers_sample($formattedParent); +} +// [END admanager_v1_generated_ProgrammaticBuyerService_ListProgrammaticBuyers_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/create_report.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/create_report.php new file mode 100644 index 000000000000..7f3fd60caf76 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/create_report.php @@ -0,0 +1,105 @@ +setDimensions($reportReportDefinitionDimensions) + ->setMetrics($reportReportDefinitionMetrics) + ->setDateRange($reportReportDefinitionDateRange) + ->setReportType($reportReportDefinitionReportType); + $report = (new Report()) + ->setReportDefinition($reportReportDefinition); + $request = (new CreateReportRequest()) + ->setParent($formattedParent) + ->setReport($report); + + // Call the API and handle any network failures. + try { + /** @var Report $response */ + $response = $reportServiceClient->createReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ReportServiceClient::networkName('[NETWORK_CODE]'); + $reportReportDefinitionDimensionsElement = Dimension::DIMENSION_UNSPECIFIED; + $reportReportDefinitionMetricsElement = Metric::METRIC_UNSPECIFIED; + $reportReportDefinitionReportType = ReportType::REPORT_TYPE_UNSPECIFIED; + + create_report_sample( + $formattedParent, + $reportReportDefinitionDimensionsElement, + $reportReportDefinitionMetricsElement, + $reportReportDefinitionReportType + ); +} +// [END admanager_v1_generated_ReportService_CreateReport_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/fetch_report_result_rows.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/fetch_report_result_rows.php new file mode 100644 index 000000000000..40c115619186 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/fetch_report_result_rows.php @@ -0,0 +1,60 @@ +fetchReportResultRows($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END admanager_v1_generated_ReportService_FetchReportResultRows_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/get_report.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/get_report.php new file mode 100644 index 000000000000..84408465404a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/get_report.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Report $response */ + $response = $reportServiceClient->getReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ReportServiceClient::reportName('[NETWORK_CODE]', '[REPORT]'); + + get_report_sample($formattedName); +} +// [END admanager_v1_generated_ReportService_GetReport_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/list_reports.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/list_reports.php new file mode 100644 index 000000000000..bb8b8a300970 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/list_reports.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $reportServiceClient->listReports($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ReportServiceClient::networkName('[NETWORK_CODE]'); + + list_reports_sample($formattedParent); +} +// [END admanager_v1_generated_ReportService_ListReports_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/run_report.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/run_report.php new file mode 100644 index 000000000000..679b9135dd3f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/run_report.php @@ -0,0 +1,91 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var OperationResponse $response */ + $response = $reportServiceClient->runReport($request); + $response->pollUntilComplete(); + + if ($response->operationSucceeded()) { + /** @var RunReportResponse $result */ + $result = $response->getResult(); + printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString()); + } else { + /** @var Status $error */ + $error = $response->getError(); + printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ReportServiceClient::reportName('[NETWORK_CODE]', '[REPORT]'); + + run_report_sample($formattedName); +} +// [END admanager_v1_generated_ReportService_RunReport_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/update_report.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/update_report.php new file mode 100644 index 000000000000..b564fa527766 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ReportServiceClient/update_report.php @@ -0,0 +1,98 @@ +setDimensions($reportReportDefinitionDimensions) + ->setMetrics($reportReportDefinitionMetrics) + ->setDateRange($reportReportDefinitionDateRange) + ->setReportType($reportReportDefinitionReportType); + $report = (new Report()) + ->setReportDefinition($reportReportDefinition); + $request = (new UpdateReportRequest()) + ->setReport($report); + + // Call the API and handle any network failures. + try { + /** @var Report $response */ + $response = $reportServiceClient->updateReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $reportReportDefinitionDimensionsElement = Dimension::DIMENSION_UNSPECIFIED; + $reportReportDefinitionMetricsElement = Metric::METRIC_UNSPECIFIED; + $reportReportDefinitionReportType = ReportType::REPORT_TYPE_UNSPECIFIED; + + update_report_sample( + $reportReportDefinitionDimensionsElement, + $reportReportDefinitionMetricsElement, + $reportReportDefinitionReportType + ); +} +// [END admanager_v1_generated_ReportService_UpdateReport_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/get_rich_media_ads_company.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/get_rich_media_ads_company.php new file mode 100644 index 000000000000..2a8d86a76a64 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/get_rich_media_ads_company.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var RichMediaAdsCompany $response */ + $response = $richMediaAdsCompanyServiceClient->getRichMediaAdsCompany($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = RichMediaAdsCompanyServiceClient::richMediaAdsCompanyName( + '[NETWORK_CODE]', + '[RICH_MEDIA_ADS_COMPANY]' + ); + + get_rich_media_ads_company_sample($formattedName); +} +// [END admanager_v1_generated_RichMediaAdsCompanyService_GetRichMediaAdsCompany_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/list_rich_media_ads_companies.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/list_rich_media_ads_companies.php new file mode 100644 index 000000000000..bc8f0c2cca2f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/RichMediaAdsCompanyServiceClient/list_rich_media_ads_companies.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $richMediaAdsCompanyServiceClient->listRichMediaAdsCompanies($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = RichMediaAdsCompanyServiceClient::networkName('[NETWORK_CODE]'); + + list_rich_media_ads_companies_sample($formattedParent); +} +// [END admanager_v1_generated_RichMediaAdsCompanyService_ListRichMediaAdsCompanies_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/get_role.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/get_role.php new file mode 100644 index 000000000000..4f0fd2248c7b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/get_role.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Role $response */ + $response = $roleServiceClient->getRole($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = RoleServiceClient::roleName('[NETWORK_CODE]', '[ROLE]'); + + get_role_sample($formattedName); +} +// [END admanager_v1_generated_RoleService_GetRole_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/list_roles.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/list_roles.php new file mode 100644 index 000000000000..8d57b4c47ce6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/RoleServiceClient/list_roles.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $roleServiceClient->listRoles($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = RoleServiceClient::networkName('[NETWORK_CODE]'); + + list_roles_sample($formattedParent); +} +// [END admanager_v1_generated_RoleService_ListRoles_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_create_sites.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_create_sites.php new file mode 100644 index 000000000000..de15ef704ace --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_create_sites.php @@ -0,0 +1,92 @@ +setUrl($requestsSiteUrl); + $createSiteRequest = (new CreateSiteRequest()) + ->setParent($formattedRequestsParent) + ->setSite($requestsSite); + $requests = [$createSiteRequest,]; + $request = (new BatchCreateSitesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateSitesResponse $response */ + $response = $siteServiceClient->batchCreateSites($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $requestsSiteUrl = '[URL]'; + + batch_create_sites_sample($formattedParent, $formattedRequestsParent, $requestsSiteUrl); +} +// [END admanager_v1_generated_SiteService_BatchCreateSites_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_deactivate_sites.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_deactivate_sites.php new file mode 100644 index 000000000000..487692b4b9da --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_deactivate_sites.php @@ -0,0 +1,75 @@ +setParent($formattedParent) + ->setNames($names); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateSitesResponse $response */ + $response = $siteServiceClient->batchDeactivateSites($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $namesElement = '[NAMES]'; + + batch_deactivate_sites_sample($formattedParent, $namesElement); +} +// [END admanager_v1_generated_SiteService_BatchDeactivateSites_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_submit_sites_for_approval.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_submit_sites_for_approval.php new file mode 100644 index 000000000000..5f1f541c19ff --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_submit_sites_for_approval.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setNames($names); + + // Call the API and handle any network failures. + try { + /** @var BatchSubmitSitesForApprovalResponse $response */ + $response = $siteServiceClient->batchSubmitSitesForApproval($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $namesElement = '[NAMES]'; + + batch_submit_sites_for_approval_sample($formattedParent, $namesElement); +} +// [END admanager_v1_generated_SiteService_BatchSubmitSitesForApproval_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_update_sites.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_update_sites.php new file mode 100644 index 000000000000..2e18299cb500 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/batch_update_sites.php @@ -0,0 +1,84 @@ +setUrl($requestsSiteUrl); + $updateSiteRequest = (new UpdateSiteRequest()) + ->setSite($requestsSite); + $requests = [$updateSiteRequest,]; + $request = (new BatchUpdateSitesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateSitesResponse $response */ + $response = $siteServiceClient->batchUpdateSites($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $requestsSiteUrl = '[URL]'; + + batch_update_sites_sample($formattedParent, $requestsSiteUrl); +} +// [END admanager_v1_generated_SiteService_BatchUpdateSites_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/create_site.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/create_site.php new file mode 100644 index 000000000000..4ce5490583ca --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/create_site.php @@ -0,0 +1,77 @@ +setUrl($siteUrl); + $request = (new CreateSiteRequest()) + ->setParent($formattedParent) + ->setSite($site); + + // Call the API and handle any network failures. + try { + /** @var Site $response */ + $response = $siteServiceClient->createSite($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + $siteUrl = '[URL]'; + + create_site_sample($formattedParent, $siteUrl); +} +// [END admanager_v1_generated_SiteService_CreateSite_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/get_site.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/get_site.php new file mode 100644 index 000000000000..8eb2e2181840 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/get_site.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Site $response */ + $response = $siteServiceClient->getSite($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = SiteServiceClient::siteName('[NETWORK_CODE]', '[SITE]'); + + get_site_sample($formattedName); +} +// [END admanager_v1_generated_SiteService_GetSite_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/list_sites.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/list_sites.php new file mode 100644 index 000000000000..ef4ed244c301 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/list_sites.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $siteServiceClient->listSites($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SiteServiceClient::networkName('[NETWORK_CODE]'); + + list_sites_sample($formattedParent); +} +// [END admanager_v1_generated_SiteService_ListSites_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/update_site.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/update_site.php new file mode 100644 index 000000000000..b91126052ad9 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SiteServiceClient/update_site.php @@ -0,0 +1,72 @@ +setUrl($siteUrl); + $request = (new UpdateSiteRequest()) + ->setSite($site); + + // Call the API and handle any network failures. + try { + /** @var Site $response */ + $response = $siteServiceClient->updateSite($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $siteUrl = '[URL]'; + + update_site_sample($siteUrl); +} +// [END admanager_v1_generated_SiteService_UpdateSite_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_archive_slates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_archive_slates.php new file mode 100644 index 000000000000..746bf89d1f45 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_archive_slates.php @@ -0,0 +1,78 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchArchiveSlatesResponse $response */ + $response = $slateServiceClient->batchArchiveSlates($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = SlateServiceClient::slateName('[NETWORK_CODE]', '[SLATE]'); + + batch_archive_slates_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_SlateService_BatchArchiveSlates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_create_slates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_create_slates.php new file mode 100644 index 000000000000..001297cc8971 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_create_slates.php @@ -0,0 +1,93 @@ +setDisplayName($requestsSlateDisplayName); + $createSlateRequest = (new CreateSlateRequest()) + ->setParent($formattedRequestsParent) + ->setSlate($requestsSlate); + $requests = [$createSlateRequest,]; + $request = (new BatchCreateSlatesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateSlatesResponse $response */ + $response = $slateServiceClient->batchCreateSlates($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $requestsSlateDisplayName = '[DISPLAY_NAME]'; + + batch_create_slates_sample($formattedParent, $formattedRequestsParent, $requestsSlateDisplayName); +} +// [END admanager_v1_generated_SlateService_BatchCreateSlates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_unarchive_slates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_unarchive_slates.php new file mode 100644 index 000000000000..a98cbfcc72f7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_unarchive_slates.php @@ -0,0 +1,80 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchUnarchiveSlatesResponse $response */ + $response = $slateServiceClient->batchUnarchiveSlates($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = SlateServiceClient::slateName('[NETWORK_CODE]', '[SLATE]'); + + batch_unarchive_slates_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_SlateService_BatchUnarchiveSlates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_update_slates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_update_slates.php new file mode 100644 index 000000000000..20387c470e94 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/batch_update_slates.php @@ -0,0 +1,87 @@ +setDisplayName($requestsSlateDisplayName); + $updateSlateRequest = (new UpdateSlateRequest()) + ->setSlate($requestsSlate); + $requests = [$updateSlateRequest,]; + $request = (new BatchUpdateSlatesRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateSlatesResponse $response */ + $response = $slateServiceClient->batchUpdateSlates($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $requestsSlateDisplayName = '[DISPLAY_NAME]'; + + batch_update_slates_sample($formattedParent, $requestsSlateDisplayName); +} +// [END admanager_v1_generated_SlateService_BatchUpdateSlates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/create_slate.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/create_slate.php new file mode 100644 index 000000000000..c96c471721be --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/create_slate.php @@ -0,0 +1,78 @@ +setDisplayName($slateDisplayName); + $request = (new CreateSlateRequest()) + ->setParent($formattedParent) + ->setSlate($slate); + + // Call the API and handle any network failures. + try { + /** @var Slate $response */ + $response = $slateServiceClient->createSlate($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + $slateDisplayName = '[DISPLAY_NAME]'; + + create_slate_sample($formattedParent, $slateDisplayName); +} +// [END admanager_v1_generated_SlateService_CreateSlate_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/get_slate.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/get_slate.php new file mode 100644 index 000000000000..56110b055143 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/get_slate.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Slate $response */ + $response = $slateServiceClient->getSlate($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = SlateServiceClient::slateName('[NETWORK_CODE]', '[SLATE]'); + + get_slate_sample($formattedName); +} +// [END admanager_v1_generated_SlateService_GetSlate_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/list_slates.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/list_slates.php new file mode 100644 index 000000000000..3298af4a8cbd --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/list_slates.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $slateServiceClient->listSlates($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SlateServiceClient::networkName('[NETWORK_CODE]'); + + list_slates_sample($formattedParent); +} +// [END admanager_v1_generated_SlateService_ListSlates_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/update_slate.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/update_slate.php new file mode 100644 index 000000000000..1be02746e7a0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SlateServiceClient/update_slate.php @@ -0,0 +1,73 @@ +setDisplayName($slateDisplayName); + $request = (new UpdateSlateRequest()) + ->setSlate($slate); + + // Call the API and handle any network failures. + try { + /** @var Slate $response */ + $response = $slateServiceClient->updateSlate($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $slateDisplayName = '[DISPLAY_NAME]'; + + update_slate_sample($slateDisplayName); +} +// [END admanager_v1_generated_SlateService_UpdateSlate_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/batch_approve_suggested_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/batch_approve_suggested_ad_units.php new file mode 100644 index 000000000000..5c8c015af3fc --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/batch_approve_suggested_ad_units.php @@ -0,0 +1,82 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchApproveSuggestedAdUnitsResponse $response */ + $response = $suggestedAdUnitServiceClient->batchApproveSuggestedAdUnits($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SuggestedAdUnitServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = SuggestedAdUnitServiceClient::suggestedAdUnitName( + '[NETWORK_CODE]', + '[SUGGESTED_AD_UNIT]' + ); + + batch_approve_suggested_ad_units_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_SuggestedAdUnitService_BatchApproveSuggestedAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/get_suggested_ad_unit.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/get_suggested_ad_unit.php new file mode 100644 index 000000000000..9a7f5745a0b7 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/get_suggested_ad_unit.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SuggestedAdUnit $response */ + $response = $suggestedAdUnitServiceClient->getSuggestedAdUnit($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = SuggestedAdUnitServiceClient::suggestedAdUnitName( + '[NETWORK_CODE]', + '[SUGGESTED_AD_UNIT]' + ); + + get_suggested_ad_unit_sample($formattedName); +} +// [END admanager_v1_generated_SuggestedAdUnitService_GetSuggestedAdUnit_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/list_suggested_ad_units.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/list_suggested_ad_units.php new file mode 100644 index 000000000000..ed4a5a96aabe --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/SuggestedAdUnitServiceClient/list_suggested_ad_units.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $suggestedAdUnitServiceClient->listSuggestedAdUnits($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = SuggestedAdUnitServiceClient::networkName('[NETWORK_CODE]'); + + list_suggested_ad_units_sample($formattedParent); +} +// [END admanager_v1_generated_SuggestedAdUnitService_ListSuggestedAdUnits_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_create_targeting_presets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_create_targeting_presets.php new file mode 100644 index 000000000000..c0c96b971e2f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_create_targeting_presets.php @@ -0,0 +1,100 @@ +setDisplayName($requestsTargetingPresetDisplayName) + ->setTargeting($requestsTargetingPresetTargeting); + $createTargetingPresetRequest = (new CreateTargetingPresetRequest()) + ->setParent($formattedRequestsParent) + ->setTargetingPreset($requestsTargetingPreset); + $requests = [$createTargetingPresetRequest,]; + $request = (new BatchCreateTargetingPresetsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateTargetingPresetsResponse $response */ + $response = $targetingPresetServiceClient->batchCreateTargetingPresets($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + $requestsTargetingPresetDisplayName = '[DISPLAY_NAME]'; + + batch_create_targeting_presets_sample( + $formattedParent, + $formattedRequestsParent, + $requestsTargetingPresetDisplayName + ); +} +// [END admanager_v1_generated_TargetingPresetService_BatchCreateTargetingPresets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_deactivate_targeting_presets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_deactivate_targeting_presets.php new file mode 100644 index 000000000000..49f9bafcd5ec --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_deactivate_targeting_presets.php @@ -0,0 +1,93 @@ +setName($formattedRequestsName) + ->setTargetingPresetId($requestsTargetingPresetId); + $requests = [$deactivateTargetingPresetRequest,]; + $request = (new BatchDeactivateTargetingPresetsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateTargetingPresetsResponse $response */ + $response = $targetingPresetServiceClient->batchDeactivateTargetingPresets($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsName = TargetingPresetServiceClient::targetingPresetName( + '[NETWORK_CODE]', + '[TARGETING_PRESET]' + ); + $requestsTargetingPresetId = 0; + + batch_deactivate_targeting_presets_sample( + $formattedParent, + $formattedRequestsName, + $requestsTargetingPresetId + ); +} +// [END admanager_v1_generated_TargetingPresetService_BatchDeactivateTargetingPresets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_update_targeting_presets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_update_targeting_presets.php new file mode 100644 index 000000000000..ade91a614327 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/batch_update_targeting_presets.php @@ -0,0 +1,90 @@ +setDisplayName($requestsTargetingPresetDisplayName) + ->setTargeting($requestsTargetingPresetTargeting); + $updateTargetingPresetRequest = (new UpdateTargetingPresetRequest()) + ->setTargetingPreset($requestsTargetingPreset); + $requests = [$updateTargetingPresetRequest,]; + $request = (new BatchUpdateTargetingPresetsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateTargetingPresetsResponse $response */ + $response = $targetingPresetServiceClient->batchUpdateTargetingPresets($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + $requestsTargetingPresetDisplayName = '[DISPLAY_NAME]'; + + batch_update_targeting_presets_sample($formattedParent, $requestsTargetingPresetDisplayName); +} +// [END admanager_v1_generated_TargetingPresetService_BatchUpdateTargetingPresets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/create_targeting_preset.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/create_targeting_preset.php new file mode 100644 index 000000000000..423d17f683e4 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/create_targeting_preset.php @@ -0,0 +1,83 @@ +setDisplayName($targetingPresetDisplayName) + ->setTargeting($targetingPresetTargeting); + $request = (new CreateTargetingPresetRequest()) + ->setParent($formattedParent) + ->setTargetingPreset($targetingPreset); + + // Call the API and handle any network failures. + try { + /** @var TargetingPreset $response */ + $response = $targetingPresetServiceClient->createTargetingPreset($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + $targetingPresetDisplayName = '[DISPLAY_NAME]'; + + create_targeting_preset_sample($formattedParent, $targetingPresetDisplayName); +} +// [END admanager_v1_generated_TargetingPresetService_CreateTargetingPreset_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/get_targeting_preset.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/get_targeting_preset.php new file mode 100644 index 000000000000..c10f90dec3ba --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/get_targeting_preset.php @@ -0,0 +1,78 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var TargetingPreset $response */ + $response = $targetingPresetServiceClient->getTargetingPreset($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = TargetingPresetServiceClient::targetingPresetName( + '[NETWORK_CODE]', + '[TARGETING_PRESET]' + ); + + get_targeting_preset_sample($formattedName); +} +// [END admanager_v1_generated_TargetingPresetService_GetTargetingPreset_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/list_targeting_presets.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/list_targeting_presets.php new file mode 100644 index 000000000000..4d04f05f8f6a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/list_targeting_presets.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $targetingPresetServiceClient->listTargetingPresets($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TargetingPresetServiceClient::networkName('[NETWORK_CODE]'); + + list_targeting_presets_sample($formattedParent); +} +// [END admanager_v1_generated_TargetingPresetService_ListTargetingPresets_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/update_targeting_preset.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/update_targeting_preset.php new file mode 100644 index 000000000000..00996b5fda8c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TargetingPresetServiceClient/update_targeting_preset.php @@ -0,0 +1,76 @@ +setDisplayName($targetingPresetDisplayName) + ->setTargeting($targetingPresetTargeting); + $request = (new UpdateTargetingPresetRequest()) + ->setTargetingPreset($targetingPreset); + + // Call the API and handle any network failures. + try { + /** @var TargetingPreset $response */ + $response = $targetingPresetServiceClient->updateTargetingPreset($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $targetingPresetDisplayName = '[DISPLAY_NAME]'; + + update_targeting_preset_sample($targetingPresetDisplayName); +} +// [END admanager_v1_generated_TargetingPresetService_UpdateTargetingPreset_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/get_taxonomy_category.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/get_taxonomy_category.php new file mode 100644 index 000000000000..ef043ab9272f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/get_taxonomy_category.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var TaxonomyCategory $response */ + $response = $taxonomyCategoryServiceClient->getTaxonomyCategory($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = TaxonomyCategoryServiceClient::taxonomyCategoryName( + '[NETWORK_CODE]', + '[TAXONOMY_CATEGORY]' + ); + + get_taxonomy_category_sample($formattedName); +} +// [END admanager_v1_generated_TaxonomyCategoryService_GetTaxonomyCategory_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/list_taxonomy_categories.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/list_taxonomy_categories.php new file mode 100644 index 000000000000..970f53e8af50 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TaxonomyCategoryServiceClient/list_taxonomy_categories.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $taxonomyCategoryServiceClient->listTaxonomyCategories($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TaxonomyCategoryServiceClient::networkName('[NETWORK_CODE]'); + + list_taxonomy_categories_sample($formattedParent); +} +// [END admanager_v1_generated_TaxonomyCategoryService_ListTaxonomyCategories_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_activate_teams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_activate_teams.php new file mode 100644 index 000000000000..c4e359ff8141 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_activate_teams.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchActivateTeamsResponse $response */ + $response = $teamServiceClient->batchActivateTeams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = TeamServiceClient::teamName('[NETWORK_CODE]', '[TEAM]'); + + batch_activate_teams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_TeamService_BatchActivateTeams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_create_teams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_create_teams.php new file mode 100644 index 000000000000..f84c4b020080 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_create_teams.php @@ -0,0 +1,93 @@ +setDisplayName($requestsTeamDisplayName); + $createTeamRequest = (new CreateTeamRequest()) + ->setParent($formattedRequestsParent) + ->setTeam($requestsTeam); + $requests = [$createTeamRequest,]; + $request = (new BatchCreateTeamsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateTeamsResponse $response */ + $response = $teamServiceClient->batchCreateTeams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $formattedRequestsParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $requestsTeamDisplayName = '[DISPLAY_NAME]'; + + batch_create_teams_sample($formattedParent, $formattedRequestsParent, $requestsTeamDisplayName); +} +// [END admanager_v1_generated_TeamService_BatchCreateTeams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_deactivate_teams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_deactivate_teams.php new file mode 100644 index 000000000000..f3e9d56cf4da --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_deactivate_teams.php @@ -0,0 +1,79 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchDeactivateTeamsResponse $response */ + $response = $teamServiceClient->batchDeactivateTeams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $formattedNamesElement = TeamServiceClient::teamName('[NETWORK_CODE]', '[TEAM]'); + + batch_deactivate_teams_sample($formattedParent, $formattedNamesElement); +} +// [END admanager_v1_generated_TeamService_BatchDeactivateTeams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_update_teams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_update_teams.php new file mode 100644 index 000000000000..27c1298e93d2 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/batch_update_teams.php @@ -0,0 +1,85 @@ +setDisplayName($requestsTeamDisplayName); + $updateTeamRequest = (new UpdateTeamRequest()) + ->setTeam($requestsTeam); + $requests = [$updateTeamRequest,]; + $request = (new BatchUpdateTeamsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateTeamsResponse $response */ + $response = $teamServiceClient->batchUpdateTeams($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $requestsTeamDisplayName = '[DISPLAY_NAME]'; + + batch_update_teams_sample($formattedParent, $requestsTeamDisplayName); +} +// [END admanager_v1_generated_TeamService_BatchUpdateTeams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/create_team.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/create_team.php new file mode 100644 index 000000000000..f42f837007c6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/create_team.php @@ -0,0 +1,78 @@ +setDisplayName($teamDisplayName); + $request = (new CreateTeamRequest()) + ->setParent($formattedParent) + ->setTeam($team); + + // Call the API and handle any network failures. + try { + /** @var Team $response */ + $response = $teamServiceClient->createTeam($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + $teamDisplayName = '[DISPLAY_NAME]'; + + create_team_sample($formattedParent, $teamDisplayName); +} +// [END admanager_v1_generated_TeamService_CreateTeam_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/get_team.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/get_team.php new file mode 100644 index 000000000000..a9522bbf294f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/get_team.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Team $response */ + $response = $teamServiceClient->getTeam($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = TeamServiceClient::teamName('[NETWORK_CODE]', '[TEAM]'); + + get_team_sample($formattedName); +} +// [END admanager_v1_generated_TeamService_GetTeam_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/list_teams.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/list_teams.php new file mode 100644 index 000000000000..b4eb7da17f4c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/list_teams.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $teamServiceClient->listTeams($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = TeamServiceClient::networkName('[NETWORK_CODE]'); + + list_teams_sample($formattedParent); +} +// [END admanager_v1_generated_TeamService_ListTeams_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/update_team.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/update_team.php new file mode 100644 index 000000000000..8d2ef27e2e15 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/TeamServiceClient/update_team.php @@ -0,0 +1,73 @@ +setDisplayName($teamDisplayName); + $request = (new UpdateTeamRequest()) + ->setTeam($team); + + // Call the API and handle any network failures. + try { + /** @var Team $response */ + $response = $teamServiceClient->updateTeam($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $teamDisplayName = '[DISPLAY_NAME]'; + + update_team_sample($teamDisplayName); +} +// [END admanager_v1_generated_TeamService_UpdateTeam_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/get_third_party_company.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/get_third_party_company.php new file mode 100644 index 000000000000..d7fd962f9fce --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/get_third_party_company.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ThirdPartyCompany $response */ + $response = $thirdPartyCompanyServiceClient->getThirdPartyCompany($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = ThirdPartyCompanyServiceClient::thirdPartyCompanyName( + '[NETWORK_CODE]', + '[THIRD_PARTY_COMPANY]' + ); + + get_third_party_company_sample($formattedName); +} +// [END admanager_v1_generated_ThirdPartyCompanyService_GetThirdPartyCompany_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/list_third_party_companies.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/list_third_party_companies.php new file mode 100644 index 000000000000..d1758d8a9f6f --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/ThirdPartyCompanyServiceClient/list_third_party_companies.php @@ -0,0 +1,75 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $thirdPartyCompanyServiceClient->listThirdPartyCompanies($request); + + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = ThirdPartyCompanyServiceClient::networkName('[NETWORK_CODE]'); + + list_third_party_companies_sample($formattedParent); +} +// [END admanager_v1_generated_ThirdPartyCompanyService_ListThirdPartyCompanies_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/samples/V1/UserServiceClient/get_user.php b/owl-bot-staging/AdsAdManager/v1/samples/V1/UserServiceClient/get_user.php new file mode 100644 index 000000000000..334f6e8c5c98 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/samples/V1/UserServiceClient/get_user.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var User $response */ + $response = $userServiceClient->getUser($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = UserServiceClient::userName('[NETWORK_CODE]', '[USER]'); + + get_user_sample($formattedName); +} +// [END admanager_v1_generated_UserService_GetUser_sync] diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdBreakServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdBreakServiceClient.php new file mode 100644 index 000000000000..ecb5cbe4ccc5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdBreakServiceClient.php @@ -0,0 +1,436 @@ + createAdBreakAsync(CreateAdBreakRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAdBreakAsync(DeleteAdBreakRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAdBreakAsync(GetAdBreakRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdBreaksAsync(ListAdBreaksRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAdBreakAsync(UpdateAdBreakRequest $request, array $optionalArgs = []) + */ +final class AdBreakServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AdBreakService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/ad_break_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_break_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/ad_break_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a ad_break + * resource. + * + * @param string $networkCode + * @param string $assetKey + * @param string $adBreak + * + * @return string The formatted ad_break resource. + */ + public static function adBreakName(string $networkCode, string $assetKey, string $adBreak): string + { + return self::getPathTemplate('adBreak')->render([ + 'network_code' => $networkCode, + 'asset_key' => $assetKey, + 'ad_break' => $adBreak, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * live_stream_event resource. + * + * @param string $networkCode + * @param string $liveStreamEvent + * + * @return string The formatted live_stream_event resource. + */ + public static function liveStreamEventName(string $networkCode, string $liveStreamEvent): string + { + return self::getPathTemplate('liveStreamEvent')->render([ + 'network_code' => $networkCode, + 'live_stream_event' => $liveStreamEvent, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - adBreak: networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break} + * - liveStreamEvent: networks/{network_code}/liveStreamEvents/{live_stream_event} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AdBreakServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AdBreakServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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 `AdBreak` object. + * + * Informs DAI of an upcoming ad break for a live stream event, with an + * optional expected start time. DAI will begin decisioning ads for the break + * shortly before the expected start time, if provided. Each live stream + * event can only have one incomplete ad break at any given time. The next ad + * break can be scheduled after the previous ad break has started serving, + * indicated by its state being + * [`COMPLETE`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.COMPLETE], + * or it has been deleted. + * + * This method cannot be used if the `LiveStreamEvent` has + * [prefetching ad breaks + * enabled](https://developers.google.com/ad-manager/api/reference/latest/LiveStreamEventService.LiveStreamEvent#prefetchenabled) + * or the event is not active. If a `LiveStreamEvent` is deactivated after + * creating an ad break and before the ad break is complete, the ad break + * is discarded. + * + * An ad break's state is complete when the following occurs: + * - Full service DAI: after a matching ad break shows in the + * `LiveStreamEvent` manifest only when the ad break has started decisioning. + * - Pod Serving: after the ad break is requested using the ad break ID or + * break sequence. + * + * The async variant is {@see AdBreakServiceClient::createAdBreakAsync()} . + * + * @example samples/V1/AdBreakServiceClient/create_ad_break.php + * + * @param CreateAdBreakRequest $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 AdBreak + * + * @throws ApiException Thrown if the API call fails. + */ + public function createAdBreak(CreateAdBreakRequest $request, array $callOptions = []): AdBreak + { + return $this->startApiCall('CreateAdBreak', $request, $callOptions)->wait(); + } + + /** + * Deletes an `AdBreak` object. + * + * Deletes and cancels an incomplete ad break, mitigating the need to wait + * for the current break to serve before recreating an ad break. You can + * delete an ad break that has not started serving or seen in manifests, + * indicated by its state being + * [`SCHEDULED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.SCHEDULED] + * or + * [`DECISIONED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.DECISIONED]. + * + * The async variant is {@see AdBreakServiceClient::deleteAdBreakAsync()} . + * + * @example samples/V1/AdBreakServiceClient/delete_ad_break.php + * + * @param DeleteAdBreakRequest $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 deleteAdBreak(DeleteAdBreakRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteAdBreak', $request, $callOptions)->wait(); + } + + /** + * Retrieves an `AdBreak` object. + * + * Query an ad break by its resource name or custom asset key. Check the + * resource's `breakState` field to determine its state. + * + * The async variant is {@see AdBreakServiceClient::getAdBreakAsync()} . + * + * @example samples/V1/AdBreakServiceClient/get_ad_break.php + * + * @param GetAdBreakRequest $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 AdBreak + * + * @throws ApiException Thrown if the API call fails. + */ + public function getAdBreak(GetAdBreakRequest $request, array $callOptions = []): AdBreak + { + return $this->startApiCall('GetAdBreak', $request, $callOptions)->wait(); + } + + /** + * Lists `AdBreak` objects. + * + * By default, when no `orderBy` query parameter is specified, ad breaks are + * ordered reverse chronologically. However, ad breaks with a 'breakState' of + * 'SCHEDULED' or 'DECISIONED' are prioritized and appear first. + * + * The async variant is {@see AdBreakServiceClient::listAdBreaksAsync()} . + * + * @example samples/V1/AdBreakServiceClient/list_ad_breaks.php + * + * @param ListAdBreaksRequest $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 listAdBreaks(ListAdBreaksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdBreaks', $request, $callOptions); + } + + /** + * Updates an `AdBreak` object. + * + * Modify an ad break when its state is + * [`SCHEDULED`][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState.SCHEDULED]. + * + * The async variant is {@see AdBreakServiceClient::updateAdBreakAsync()} . + * + * @example samples/V1/AdBreakServiceClient/update_ad_break.php + * + * @param UpdateAdBreakRequest $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 AdBreak + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateAdBreak(UpdateAdBreakRequest $request, array $callOptions = []): AdBreak + { + return $this->startApiCall('UpdateAdBreak', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdReviewCenterAdServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdReviewCenterAdServiceClient.php new file mode 100644 index 000000000000..5adfcd20824b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdReviewCenterAdServiceClient.php @@ -0,0 +1,406 @@ + batchAllowAdReviewCenterAdsAsync(BatchAllowAdReviewCenterAdsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchBlockAdReviewCenterAdsAsync(BatchBlockAdReviewCenterAdsRequest $request, array $optionalArgs = []) + * @method PromiseInterface searchAdReviewCenterAdsAsync(SearchAdReviewCenterAdsRequest $request, array $optionalArgs = []) + */ +final class AdReviewCenterAdServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AdReviewCenterAdService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private $operationsClient; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/ad_review_center_ad_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_review_center_ad_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/ad_review_center_ad_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * 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 = $this->descriptors[$methodName]['longRunning'] ?? []; + $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); + $operation->reload(); + return $operation; + } + + /** + * Create the default operation client for the service. + * + * @param array $options ClientOptions for the client. + * + * @return OperationsClient + */ + private function createOperationsClient(array $options) + { + // Unset client-specific configuration options + unset($options['serviceName'], $options['clientConfig'], $options['descriptorsConfigPath']); + + if (isset($options['operationsClient'])) { + return $options['operationsClient']; + } + + return new OperationsClient($options); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * ad_review_center_ad resource. + * + * @param string $networkCode + * @param string $webPropertyCode + * @param string $adReviewCenterAd + * + * @return string The formatted ad_review_center_ad resource. + */ + public static function adReviewCenterAdName(string $networkCode, string $webPropertyCode, string $adReviewCenterAd): string + { + return self::getPathTemplate('adReviewCenterAd')->render([ + 'network_code' => $networkCode, + 'web_property_code' => $webPropertyCode, + 'ad_review_center_ad' => $adReviewCenterAd, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a web_property + * resource. + * + * @param string $networkCode + * @param string $webProperty + * + * @return string The formatted web_property resource. + */ + public static function webPropertyName(string $networkCode, string $webProperty): string + { + return self::getPathTemplate('webProperty')->render([ + 'network_code' => $networkCode, + 'web_property' => $webProperty, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - adReviewCenterAd: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad} + * - webProperty: networks/{network_code}/webProperties/{web_property} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AdReviewCenterAdServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AdReviewCenterAdServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch allows AdReviewCenterAds. + * This method supports partial success. Some operations may succeed while + * others fail. Callers should check the failedRequests field in the response + * to determine which operations failed. + * + * The async variant is + * {@see AdReviewCenterAdServiceClient::batchAllowAdReviewCenterAdsAsync()} . + * + * @example samples/V1/AdReviewCenterAdServiceClient/batch_allow_ad_review_center_ads.php + * + * @param BatchAllowAdReviewCenterAdsRequest $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 batchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest $request, array $callOptions = []): OperationResponse + { + return $this->startApiCall('BatchAllowAdReviewCenterAds', $request, $callOptions)->wait(); + } + + /** + * Batch blocks AdReviewCenterAds. + * This method supports partial success. Some operations may succeed while + * others fail. Callers should check the failedRequests field in the response + * to determine which operations failed. + * + * The async variant is + * {@see AdReviewCenterAdServiceClient::batchBlockAdReviewCenterAdsAsync()} . + * + * @example samples/V1/AdReviewCenterAdServiceClient/batch_block_ad_review_center_ads.php + * + * @param BatchBlockAdReviewCenterAdsRequest $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 batchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest $request, array $callOptions = []): OperationResponse + { + return $this->startApiCall('BatchBlockAdReviewCenterAds', $request, $callOptions)->wait(); + } + + /** + * Searches for AdReviewCenterAds. + * + * The async variant is + * {@see AdReviewCenterAdServiceClient::searchAdReviewCenterAdsAsync()} . + * + * @example samples/V1/AdReviewCenterAdServiceClient/search_ad_review_center_ads.php + * + * @param SearchAdReviewCenterAdsRequest $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 searchAdReviewCenterAds(SearchAdReviewCenterAdsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('SearchAdReviewCenterAds', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdRuleServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdRuleServiceClient.php new file mode 100644 index 000000000000..629e116add43 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdRuleServiceClient.php @@ -0,0 +1,886 @@ + batchActivateAdRulesAsync(BatchActivateAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateAdRulesAsync(BatchCreateAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateAdRulesAsync(BatchDeactivateAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeleteAdRulesAsync(BatchDeleteAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateAdRulesAsync(BatchUpdateAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAdRuleAsync(CreateAdRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAdRuleAsync(GetAdRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdRulesAsync(ListAdRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAdRuleAsync(UpdateAdRuleRequest $request, array $optionalArgs = []) + */ +final class AdRuleServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AdRuleService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/ad_rule_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_rule_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/ad_rule_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a ad_rule + * resource. + * + * @param string $networkCode + * @param string $adRule + * + * @return string The formatted ad_rule resource. + */ + public static function adRuleName(string $networkCode, string $adRule): string + { + return self::getPathTemplate('adRule')->render([ + 'network_code' => $networkCode, + 'ad_rule' => $adRule, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a ad_unit + * resource. + * + * @param string $networkCode + * @param string $adUnit + * + * @return string The formatted ad_unit resource. + */ + public static function adUnitName(string $networkCode, string $adUnit): string + { + return self::getPathTemplate('adUnit')->render([ + 'network_code' => $networkCode, + 'ad_unit' => $adUnit, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a application + * resource. + * + * @param string $networkCode + * @param string $application + * + * @return string The formatted application resource. + */ + public static function applicationName(string $networkCode, string $application): string + { + return self::getPathTemplate('application')->render([ + 'network_code' => $networkCode, + 'application' => $application, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * audience_segment resource. + * + * @param string $networkCode + * @param string $audienceSegment + * + * @return string The formatted audience_segment resource. + */ + public static function audienceSegmentName(string $networkCode, string $audienceSegment): string + { + return self::getPathTemplate('audienceSegment')->render([ + 'network_code' => $networkCode, + 'audience_segment' => $audienceSegment, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * bandwidth_group resource. + * + * @param string $networkCode + * @param string $bandwidthGroup + * + * @return string The formatted bandwidth_group resource. + */ + public static function bandwidthGroupName(string $networkCode, string $bandwidthGroup): string + { + return self::getPathTemplate('bandwidthGroup')->render([ + 'network_code' => $networkCode, + 'bandwidth_group' => $bandwidthGroup, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a browser + * resource. + * + * @param string $networkCode + * @param string $browser + * + * @return string The formatted browser resource. + */ + public static function browserName(string $networkCode, string $browser): string + { + return self::getPathTemplate('browser')->render([ + 'network_code' => $networkCode, + 'browser' => $browser, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * browser_language resource. + * + * @param string $networkCode + * @param string $browserLanguage + * + * @return string The formatted browser_language resource. + */ + public static function browserLanguageName(string $networkCode, string $browserLanguage): string + { + return self::getPathTemplate('browserLanguage')->render([ + 'network_code' => $networkCode, + 'browser_language' => $browserLanguage, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * cms_metadata_value resource. + * + * @param string $networkCode + * @param string $cmsMetadataValue + * + * @return string The formatted cms_metadata_value resource. + */ + public static function cmsMetadataValueName(string $networkCode, string $cmsMetadataValue): string + { + return self::getPathTemplate('cmsMetadataValue')->render([ + 'network_code' => $networkCode, + 'cms_metadata_value' => $cmsMetadataValue, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a content + * resource. + * + * @param string $networkCode + * @param string $content + * + * @return string The formatted content resource. + */ + public static function contentName(string $networkCode, string $content): string + { + return self::getPathTemplate('content')->render([ + 'network_code' => $networkCode, + 'content' => $content, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * content_bundle resource. + * + * @param string $networkCode + * @param string $contentBundle + * + * @return string The formatted content_bundle resource. + */ + public static function contentBundleName(string $networkCode, string $contentBundle): string + { + return self::getPathTemplate('contentBundle')->render([ + 'network_code' => $networkCode, + 'content_bundle' => $contentBundle, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_targeting_key resource. + * + * @param string $networkCode + * @param string $customTargetingKey + * + * @return string The formatted custom_targeting_key resource. + */ + public static function customTargetingKeyName(string $networkCode, string $customTargetingKey): string + { + return self::getPathTemplate('customTargetingKey')->render([ + 'network_code' => $networkCode, + 'custom_targeting_key' => $customTargetingKey, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_targeting_value resource. + * + * @param string $networkCode + * @param string $customTargetingValue + * + * @return string The formatted custom_targeting_value resource. + */ + public static function customTargetingValueName(string $networkCode, string $customTargetingValue): string + { + return self::getPathTemplate('customTargetingValue')->render([ + 'network_code' => $networkCode, + 'custom_targeting_value' => $customTargetingValue, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_capability resource. + * + * @param string $networkCode + * @param string $deviceCapability + * + * @return string The formatted device_capability resource. + */ + public static function deviceCapabilityName(string $networkCode, string $deviceCapability): string + { + return self::getPathTemplate('deviceCapability')->render([ + 'network_code' => $networkCode, + 'device_capability' => $deviceCapability, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_category resource. + * + * @param string $networkCode + * @param string $deviceCategory + * + * @return string The formatted device_category resource. + */ + public static function deviceCategoryName(string $networkCode, string $deviceCategory): string + { + return self::getPathTemplate('deviceCategory')->render([ + 'network_code' => $networkCode, + 'device_category' => $deviceCategory, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_manufacturer resource. + * + * @param string $networkCode + * @param string $deviceManufacturer + * + * @return string The formatted device_manufacturer resource. + */ + public static function deviceManufacturerName(string $networkCode, string $deviceManufacturer): string + { + return self::getPathTemplate('deviceManufacturer')->render([ + 'network_code' => $networkCode, + 'device_manufacturer' => $deviceManufacturer, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a geo_target + * resource. + * + * @param string $networkCode + * @param string $geoTarget + * + * @return string The formatted geo_target resource. + */ + public static function geoTargetName(string $networkCode, string $geoTarget): string + { + return self::getPathTemplate('geoTarget')->render([ + 'network_code' => $networkCode, + 'geo_target' => $geoTarget, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * mobile_carrier resource. + * + * @param string $networkCode + * @param string $mobileCarrier + * + * @return string The formatted mobile_carrier resource. + */ + public static function mobileCarrierName(string $networkCode, string $mobileCarrier): string + { + return self::getPathTemplate('mobileCarrier')->render([ + 'network_code' => $networkCode, + 'mobile_carrier' => $mobileCarrier, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * mobile_device resource. + * + * @param string $networkCode + * @param string $mobileDevice + * + * @return string The formatted mobile_device resource. + */ + public static function mobileDeviceName(string $networkCode, string $mobileDevice): string + { + return self::getPathTemplate('mobileDevice')->render([ + 'network_code' => $networkCode, + 'mobile_device' => $mobileDevice, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * mobile_device_submodel resource. + * + * @param string $networkCode + * @param string $mobileDeviceSubmodel + * + * @return string The formatted mobile_device_submodel resource. + */ + public static function mobileDeviceSubmodelName(string $networkCode, string $mobileDeviceSubmodel): string + { + return self::getPathTemplate('mobileDeviceSubmodel')->render([ + 'network_code' => $networkCode, + 'mobile_device_submodel' => $mobileDeviceSubmodel, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * operating_system resource. + * + * @param string $networkCode + * @param string $operatingSystem + * + * @return string The formatted operating_system resource. + */ + public static function operatingSystemName(string $networkCode, string $operatingSystem): string + { + return self::getPathTemplate('operatingSystem')->render([ + 'network_code' => $networkCode, + 'operating_system' => $operatingSystem, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * operating_system_version resource. + * + * @param string $networkCode + * @param string $operatingSystemVersion + * + * @return string The formatted operating_system_version resource. + */ + public static function operatingSystemVersionName(string $networkCode, string $operatingSystemVersion): string + { + return self::getPathTemplate('operatingSystemVersion')->render([ + 'network_code' => $networkCode, + 'operating_system_version' => $operatingSystemVersion, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a placement + * resource. + * + * @param string $networkCode + * @param string $placement + * + * @return string The formatted placement resource. + */ + public static function placementName(string $networkCode, string $placement): string + { + return self::getPathTemplate('placement')->render([ + 'network_code' => $networkCode, + 'placement' => $placement, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - adRule: networks/{network_code}/adRules/{ad_rule} + * - adUnit: networks/{network_code}/adUnits/{ad_unit} + * - application: networks/{network_code}/applications/{application} + * - audienceSegment: networks/{network_code}/audienceSegments/{audience_segment} + * - bandwidthGroup: networks/{network_code}/bandwidthGroups/{bandwidth_group} + * - browser: networks/{network_code}/browsers/{browser} + * - browserLanguage: networks/{network_code}/browserLanguages/{browser_language} + * - cmsMetadataValue: networks/{network_code}/cmsMetadataValues/{cms_metadata_value} + * - content: networks/{network_code}/content/{content} + * - contentBundle: networks/{network_code}/contentBundles/{content_bundle} + * - customTargetingKey: networks/{network_code}/customTargetingKeys/{custom_targeting_key} + * - customTargetingValue: networks/{network_code}/customTargetingValues/{custom_targeting_value} + * - deviceCapability: networks/{network_code}/deviceCapabilities/{device_capability} + * - deviceCategory: networks/{network_code}/deviceCategories/{device_category} + * - deviceManufacturer: networks/{network_code}/deviceManufacturers/{device_manufacturer} + * - geoTarget: networks/{network_code}/geoTargets/{geo_target} + * - mobileCarrier: networks/{network_code}/mobileCarriers/{mobile_carrier} + * - mobileDevice: networks/{network_code}/mobileDevices/{mobile_device} + * - mobileDeviceSubmodel: networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel} + * - network: networks/{network_code} + * - operatingSystem: networks/{network_code}/operatingSystems/{operating_system} + * - operatingSystemVersion: networks/{network_code}/operatingSystemVersions/{operating_system_version} + * - placement: networks/{network_code}/placements/{placement} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AdRuleServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AdRuleServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Activates a list of `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::batchActivateAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/batch_activate_ad_rules.php + * + * @param BatchActivateAdRulesRequest $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 BatchActivateAdRulesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateAdRules(BatchActivateAdRulesRequest $request, array $callOptions = []): BatchActivateAdRulesResponse + { + return $this->startApiCall('BatchActivateAdRules', $request, $callOptions)->wait(); + } + + /** + * Batch creates `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::batchCreateAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/batch_create_ad_rules.php + * + * @param BatchCreateAdRulesRequest $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 BatchCreateAdRulesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateAdRules(BatchCreateAdRulesRequest $request, array $callOptions = []): BatchCreateAdRulesResponse + { + return $this->startApiCall('BatchCreateAdRules', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::batchDeactivateAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/batch_deactivate_ad_rules.php + * + * @param BatchDeactivateAdRulesRequest $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 BatchDeactivateAdRulesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateAdRules(BatchDeactivateAdRulesRequest $request, array $callOptions = []): BatchDeactivateAdRulesResponse + { + return $this->startApiCall('BatchDeactivateAdRules', $request, $callOptions)->wait(); + } + + /** + * Deletes a list of `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::batchDeleteAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/batch_delete_ad_rules.php + * + * @param BatchDeleteAdRulesRequest $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 batchDeleteAdRules(BatchDeleteAdRulesRequest $request, array $callOptions = []): void + { + $this->startApiCall('BatchDeleteAdRules', $request, $callOptions)->wait(); + } + + /** + * Batch updates `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::batchUpdateAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/batch_update_ad_rules.php + * + * @param BatchUpdateAdRulesRequest $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 BatchUpdateAdRulesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateAdRules(BatchUpdateAdRulesRequest $request, array $callOptions = []): BatchUpdateAdRulesResponse + { + return $this->startApiCall('BatchUpdateAdRules', $request, $callOptions)->wait(); + } + + /** + * Creates a `AdRule` object. + * + * The async variant is {@see AdRuleServiceClient::createAdRuleAsync()} . + * + * @example samples/V1/AdRuleServiceClient/create_ad_rule.php + * + * @param CreateAdRuleRequest $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 AdRule + * + * @throws ApiException Thrown if the API call fails. + */ + public function createAdRule(CreateAdRuleRequest $request, array $callOptions = []): AdRule + { + return $this->startApiCall('CreateAdRule', $request, $callOptions)->wait(); + } + + /** + * Retrieves an `AdRule` object. + * + * The async variant is {@see AdRuleServiceClient::getAdRuleAsync()} . + * + * @example samples/V1/AdRuleServiceClient/get_ad_rule.php + * + * @param GetAdRuleRequest $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 AdRule + * + * @throws ApiException Thrown if the API call fails. + */ + public function getAdRule(GetAdRuleRequest $request, array $callOptions = []): AdRule + { + return $this->startApiCall('GetAdRule', $request, $callOptions)->wait(); + } + + /** + * Lists `AdRule` objects. + * + * The async variant is {@see AdRuleServiceClient::listAdRulesAsync()} . + * + * @example samples/V1/AdRuleServiceClient/list_ad_rules.php + * + * @param ListAdRulesRequest $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 listAdRules(ListAdRulesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdRules', $request, $callOptions); + } + + /** + * Updates a `AdRule` object. + * + * The async variant is {@see AdRuleServiceClient::updateAdRuleAsync()} . + * + * @example samples/V1/AdRuleServiceClient/update_ad_rule.php + * + * @param UpdateAdRuleRequest $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 AdRule + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateAdRule(UpdateAdRuleRequest $request, array $callOptions = []): AdRule + { + return $this->startApiCall('UpdateAdRule', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdSpotServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdSpotServiceClient.php new file mode 100644 index 000000000000..a84518b8c005 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdSpotServiceClient.php @@ -0,0 +1,424 @@ + batchCreateAdSpotsAsync(BatchCreateAdSpotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateAdSpotsAsync(BatchUpdateAdSpotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAdSpotAsync(CreateAdSpotRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAdSpotAsync(GetAdSpotRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdSpotsAsync(ListAdSpotsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAdSpotAsync(UpdateAdSpotRequest $request, array $optionalArgs = []) + */ +final class AdSpotServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AdSpotService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/ad_spot_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_spot_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/ad_spot_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a ad_spot + * resource. + * + * @param string $networkCode + * @param string $adSpot + * + * @return string The formatted ad_spot resource. + */ + public static function adSpotName(string $networkCode, string $adSpot): string + { + return self::getPathTemplate('adSpot')->render([ + 'network_code' => $networkCode, + 'ad_spot' => $adSpot, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - adSpot: networks/{network_code}/adSpots/{ad_spot} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AdSpotServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AdSpotServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch creates `AdSpot` objects. + * + * The async variant is {@see AdSpotServiceClient::batchCreateAdSpotsAsync()} . + * + * @example samples/V1/AdSpotServiceClient/batch_create_ad_spots.php + * + * @param BatchCreateAdSpotsRequest $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 BatchCreateAdSpotsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateAdSpots(BatchCreateAdSpotsRequest $request, array $callOptions = []): BatchCreateAdSpotsResponse + { + return $this->startApiCall('BatchCreateAdSpots', $request, $callOptions)->wait(); + } + + /** + * Batch updates `AdSpot` objects. + * + * The async variant is {@see AdSpotServiceClient::batchUpdateAdSpotsAsync()} . + * + * @example samples/V1/AdSpotServiceClient/batch_update_ad_spots.php + * + * @param BatchUpdateAdSpotsRequest $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 BatchUpdateAdSpotsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateAdSpots(BatchUpdateAdSpotsRequest $request, array $callOptions = []): BatchUpdateAdSpotsResponse + { + return $this->startApiCall('BatchUpdateAdSpots', $request, $callOptions)->wait(); + } + + /** + * Creates an `AdSpot` object. + * + * The async variant is {@see AdSpotServiceClient::createAdSpotAsync()} . + * + * @example samples/V1/AdSpotServiceClient/create_ad_spot.php + * + * @param CreateAdSpotRequest $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 AdSpot + * + * @throws ApiException Thrown if the API call fails. + */ + public function createAdSpot(CreateAdSpotRequest $request, array $callOptions = []): AdSpot + { + return $this->startApiCall('CreateAdSpot', $request, $callOptions)->wait(); + } + + /** + * Retrieves an `AdSpot` object. + * + * The async variant is {@see AdSpotServiceClient::getAdSpotAsync()} . + * + * @example samples/V1/AdSpotServiceClient/get_ad_spot.php + * + * @param GetAdSpotRequest $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 AdSpot + * + * @throws ApiException Thrown if the API call fails. + */ + public function getAdSpot(GetAdSpotRequest $request, array $callOptions = []): AdSpot + { + return $this->startApiCall('GetAdSpot', $request, $callOptions)->wait(); + } + + /** + * Lists `AdSpot` objects. + * + * The async variant is {@see AdSpotServiceClient::listAdSpotsAsync()} . + * + * @example samples/V1/AdSpotServiceClient/list_ad_spots.php + * + * @param ListAdSpotsRequest $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 listAdSpots(ListAdSpotsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdSpots', $request, $callOptions); + } + + /** + * Updates an `AdSpot` object. + * + * The async variant is {@see AdSpotServiceClient::updateAdSpotAsync()} . + * + * @example samples/V1/AdSpotServiceClient/update_ad_spot.php + * + * @param UpdateAdSpotRequest $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 AdSpot + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateAdSpot(UpdateAdSpotRequest $request, array $callOptions = []): AdSpot + { + return $this->startApiCall('UpdateAdSpot', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdUnitServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdUnitServiceClient.php new file mode 100644 index 000000000000..52fcb981fc0d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AdUnitServiceClient.php @@ -0,0 +1,575 @@ + batchActivateAdUnitsAsync(BatchActivateAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchArchiveAdUnitsAsync(BatchArchiveAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateAdUnitsAsync(BatchCreateAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateAdUnitsAsync(BatchDeactivateAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateAdUnitsAsync(BatchUpdateAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAdUnitAsync(CreateAdUnitRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAdUnitAsync(GetAdUnitRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdUnitSizesAsync(ListAdUnitSizesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdUnitsAsync(ListAdUnitsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAdUnitAsync(UpdateAdUnitRequest $request, array $optionalArgs = []) + */ +final class AdUnitServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AdUnitService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/ad_unit_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_unit_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/ad_unit_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a ad_unit + * resource. + * + * @param string $networkCode + * @param string $adUnit + * + * @return string The formatted ad_unit resource. + */ + public static function adUnitName(string $networkCode, string $adUnit): string + { + return self::getPathTemplate('adUnit')->render([ + 'network_code' => $networkCode, + 'ad_unit' => $adUnit, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a label + * resource. + * + * @param string $networkCode + * @param string $label + * + * @return string The formatted label resource. + */ + public static function labelName(string $networkCode, string $label): string + { + return self::getPathTemplate('label')->render([ + 'network_code' => $networkCode, + 'label' => $label, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a team + * resource. + * + * @param string $networkCode + * @param string $team + * + * @return string The formatted team resource. + */ + public static function teamName(string $networkCode, string $team): string + { + return self::getPathTemplate('team')->render([ + 'network_code' => $networkCode, + 'team' => $team, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - adUnit: networks/{network_code}/adUnits/{ad_unit} + * - label: networks/{network_code}/labels/{label} + * - network: networks/{network_code} + * - team: networks/{network_code}/teams/{team} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AdUnitServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AdUnitServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch activates `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::batchActivateAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/batch_activate_ad_units.php + * + * @param BatchActivateAdUnitsRequest $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 BatchActivateAdUnitsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateAdUnits(BatchActivateAdUnitsRequest $request, array $callOptions = []): BatchActivateAdUnitsResponse + { + return $this->startApiCall('BatchActivateAdUnits', $request, $callOptions)->wait(); + } + + /** + * Archives a list of `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::batchArchiveAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/batch_archive_ad_units.php + * + * @param BatchArchiveAdUnitsRequest $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 BatchArchiveAdUnitsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchArchiveAdUnits(BatchArchiveAdUnitsRequest $request, array $callOptions = []): BatchArchiveAdUnitsResponse + { + return $this->startApiCall('BatchArchiveAdUnits', $request, $callOptions)->wait(); + } + + /** + * Creates `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::batchCreateAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/batch_create_ad_units.php + * + * @param BatchCreateAdUnitsRequest $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 BatchCreateAdUnitsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateAdUnits(BatchCreateAdUnitsRequest $request, array $callOptions = []): BatchCreateAdUnitsResponse + { + return $this->startApiCall('BatchCreateAdUnits', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::batchDeactivateAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/batch_deactivate_ad_units.php + * + * @param BatchDeactivateAdUnitsRequest $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 BatchDeactivateAdUnitsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateAdUnits(BatchDeactivateAdUnitsRequest $request, array $callOptions = []): BatchDeactivateAdUnitsResponse + { + return $this->startApiCall('BatchDeactivateAdUnits', $request, $callOptions)->wait(); + } + + /** + * Batch updates `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::batchUpdateAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/batch_update_ad_units.php + * + * @param BatchUpdateAdUnitsRequest $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 BatchUpdateAdUnitsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateAdUnits(BatchUpdateAdUnitsRequest $request, array $callOptions = []): BatchUpdateAdUnitsResponse + { + return $this->startApiCall('BatchUpdateAdUnits', $request, $callOptions)->wait(); + } + + /** + * Creates an `AdUnit` object. + * + * The async variant is {@see AdUnitServiceClient::createAdUnitAsync()} . + * + * @example samples/V1/AdUnitServiceClient/create_ad_unit.php + * + * @param CreateAdUnitRequest $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 AdUnit + * + * @throws ApiException Thrown if the API call fails. + */ + public function createAdUnit(CreateAdUnitRequest $request, array $callOptions = []): AdUnit + { + return $this->startApiCall('CreateAdUnit', $request, $callOptions)->wait(); + } + + /** + * Retrieves an `AdUnit` object. + * + * The async variant is {@see AdUnitServiceClient::getAdUnitAsync()} . + * + * @example samples/V1/AdUnitServiceClient/get_ad_unit.php + * + * @param GetAdUnitRequest $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 AdUnit + * + * @throws ApiException Thrown if the API call fails. + */ + public function getAdUnit(GetAdUnitRequest $request, array $callOptions = []): AdUnit + { + return $this->startApiCall('GetAdUnit', $request, $callOptions)->wait(); + } + + /** + * Lists `AdUnitSize` objects. + * + * The async variant is {@see AdUnitServiceClient::listAdUnitSizesAsync()} . + * + * @example samples/V1/AdUnitServiceClient/list_ad_unit_sizes.php + * + * @param ListAdUnitSizesRequest $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 listAdUnitSizes(ListAdUnitSizesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdUnitSizes', $request, $callOptions); + } + + /** + * Lists `AdUnit` objects. + * + * The async variant is {@see AdUnitServiceClient::listAdUnitsAsync()} . + * + * @example samples/V1/AdUnitServiceClient/list_ad_units.php + * + * @param ListAdUnitsRequest $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 listAdUnits(ListAdUnitsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdUnits', $request, $callOptions); + } + + /** + * Updates an `AdUnit` object. + * + * The async variant is {@see AdUnitServiceClient::updateAdUnitAsync()} . + * + * @example samples/V1/AdUnitServiceClient/update_ad_unit.php + * + * @param UpdateAdUnitRequest $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 AdUnit + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateAdUnit(UpdateAdUnitRequest $request, array $callOptions = []): AdUnit + { + return $this->startApiCall('UpdateAdUnit', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ApplicationServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ApplicationServiceClient.php new file mode 100644 index 000000000000..f714391a15a6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ApplicationServiceClient.php @@ -0,0 +1,486 @@ + batchArchiveApplicationsAsync(BatchArchiveApplicationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateApplicationsAsync(BatchCreateApplicationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUnarchiveApplicationsAsync(BatchUnarchiveApplicationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateApplicationsAsync(BatchUpdateApplicationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createApplicationAsync(CreateApplicationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getApplicationAsync(GetApplicationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listApplicationsAsync(ListApplicationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateApplicationAsync(UpdateApplicationRequest $request, array $optionalArgs = []) + */ +final class ApplicationServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.ApplicationService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/application_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/application_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/application_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a application + * resource. + * + * @param string $networkCode + * @param string $application + * + * @return string The formatted application resource. + */ + public static function applicationName(string $networkCode, string $application): string + { + return self::getPathTemplate('application')->render([ + 'network_code' => $networkCode, + 'application' => $application, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - application: networks/{network_code}/applications/{application} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\ApplicationServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new ApplicationServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch archives `Application` objects. + * + * The async variant is + * {@see ApplicationServiceClient::batchArchiveApplicationsAsync()} . + * + * @example samples/V1/ApplicationServiceClient/batch_archive_applications.php + * + * @param BatchArchiveApplicationsRequest $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 BatchArchiveApplicationsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchArchiveApplications(BatchArchiveApplicationsRequest $request, array $callOptions = []): BatchArchiveApplicationsResponse + { + return $this->startApiCall('BatchArchiveApplications', $request, $callOptions)->wait(); + } + + /** + * Creates `Application` objects. + * + * The async variant is + * {@see ApplicationServiceClient::batchCreateApplicationsAsync()} . + * + * @example samples/V1/ApplicationServiceClient/batch_create_applications.php + * + * @param BatchCreateApplicationsRequest $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 BatchCreateApplicationsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateApplications(BatchCreateApplicationsRequest $request, array $callOptions = []): BatchCreateApplicationsResponse + { + return $this->startApiCall('BatchCreateApplications', $request, $callOptions)->wait(); + } + + /** + * Batch unarchives `Application` objects. + * + * The async variant is + * {@see ApplicationServiceClient::batchUnarchiveApplicationsAsync()} . + * + * @example samples/V1/ApplicationServiceClient/batch_unarchive_applications.php + * + * @param BatchUnarchiveApplicationsRequest $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 BatchUnarchiveApplicationsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUnarchiveApplications(BatchUnarchiveApplicationsRequest $request, array $callOptions = []): BatchUnarchiveApplicationsResponse + { + return $this->startApiCall('BatchUnarchiveApplications', $request, $callOptions)->wait(); + } + + /** + * Batch updates `Application` objects. + * + * The async variant is + * {@see ApplicationServiceClient::batchUpdateApplicationsAsync()} . + * + * @example samples/V1/ApplicationServiceClient/batch_update_applications.php + * + * @param BatchUpdateApplicationsRequest $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 BatchUpdateApplicationsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateApplications(BatchUpdateApplicationsRequest $request, array $callOptions = []): BatchUpdateApplicationsResponse + { + return $this->startApiCall('BatchUpdateApplications', $request, $callOptions)->wait(); + } + + /** + * Creates a `Application` object. + * + * The async variant is {@see ApplicationServiceClient::createApplicationAsync()} . + * + * @example samples/V1/ApplicationServiceClient/create_application.php + * + * @param CreateApplicationRequest $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 Application + * + * @throws ApiException Thrown if the API call fails. + */ + public function createApplication(CreateApplicationRequest $request, array $callOptions = []): Application + { + return $this->startApiCall('CreateApplication', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `Application` object. + * + * The async variant is {@see ApplicationServiceClient::getApplicationAsync()} . + * + * @example samples/V1/ApplicationServiceClient/get_application.php + * + * @param GetApplicationRequest $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 Application + * + * @throws ApiException Thrown if the API call fails. + */ + public function getApplication(GetApplicationRequest $request, array $callOptions = []): Application + { + return $this->startApiCall('GetApplication', $request, $callOptions)->wait(); + } + + /** + * Lists `Application` objects. + * + * The async variant is {@see ApplicationServiceClient::listApplicationsAsync()} . + * + * @example samples/V1/ApplicationServiceClient/list_applications.php + * + * @param ListApplicationsRequest $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 listApplications(ListApplicationsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListApplications', $request, $callOptions); + } + + /** + * Updates a `Application` object. + * + * The async variant is {@see ApplicationServiceClient::updateApplicationAsync()} . + * + * @example samples/V1/ApplicationServiceClient/update_application.php + * + * @param UpdateApplicationRequest $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 Application + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateApplication(UpdateApplicationRequest $request, array $callOptions = []): Application + { + return $this->startApiCall('UpdateApplication', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AudienceSegmentServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AudienceSegmentServiceClient.php new file mode 100644 index 000000000000..be5cf7079a63 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/AudienceSegmentServiceClient.php @@ -0,0 +1,312 @@ + getAudienceSegmentAsync(GetAudienceSegmentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAudienceSegmentsAsync(ListAudienceSegmentsRequest $request, array $optionalArgs = []) + */ +final class AudienceSegmentServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.AudienceSegmentService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/audience_segment_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/audience_segment_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/audience_segment_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * audience_segment resource. + * + * @param string $networkCode + * @param string $audienceSegment + * + * @return string The formatted audience_segment resource. + */ + public static function audienceSegmentName(string $networkCode, string $audienceSegment): string + { + return self::getPathTemplate('audienceSegment')->render([ + 'network_code' => $networkCode, + 'audience_segment' => $audienceSegment, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - audienceSegment: networks/{network_code}/audienceSegments/{audience_segment} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\AudienceSegmentServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AudienceSegmentServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * API to retrieve an `AudienceSegment` object. + * + * The async variant is + * {@see AudienceSegmentServiceClient::getAudienceSegmentAsync()} . + * + * @example samples/V1/AudienceSegmentServiceClient/get_audience_segment.php + * + * @param GetAudienceSegmentRequest $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 AudienceSegment + * + * @throws ApiException Thrown if the API call fails. + */ + public function getAudienceSegment(GetAudienceSegmentRequest $request, array $callOptions = []): AudienceSegment + { + return $this->startApiCall('GetAudienceSegment', $request, $callOptions)->wait(); + } + + /** + * API to retrieve a list of `AudienceSegment` objects. + * + * The async variant is + * {@see AudienceSegmentServiceClient::listAudienceSegmentsAsync()} . + * + * @example samples/V1/AudienceSegmentServiceClient/list_audience_segments.php + * + * @param ListAudienceSegmentsRequest $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 listAudienceSegments(ListAudienceSegmentsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAudienceSegments', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BandwidthGroupServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BandwidthGroupServiceClient.php new file mode 100644 index 000000000000..b1780da9d515 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BandwidthGroupServiceClient.php @@ -0,0 +1,312 @@ + getBandwidthGroupAsync(GetBandwidthGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface listBandwidthGroupsAsync(ListBandwidthGroupsRequest $request, array $optionalArgs = []) + */ +final class BandwidthGroupServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.BandwidthGroupService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/bandwidth_group_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/bandwidth_group_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/bandwidth_group_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * bandwidth_group resource. + * + * @param string $networkCode + * @param string $bandwidthGroup + * + * @return string The formatted bandwidth_group resource. + */ + public static function bandwidthGroupName(string $networkCode, string $bandwidthGroup): string + { + return self::getPathTemplate('bandwidthGroup')->render([ + 'network_code' => $networkCode, + 'bandwidth_group' => $bandwidthGroup, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - bandwidthGroup: networks/{network_code}/bandwidthGroups/{bandwidth_group} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\BandwidthGroupServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new BandwidthGroupServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `BandwidthGroup` object. + * + * The async variant is + * {@see BandwidthGroupServiceClient::getBandwidthGroupAsync()} . + * + * @example samples/V1/BandwidthGroupServiceClient/get_bandwidth_group.php + * + * @param GetBandwidthGroupRequest $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 BandwidthGroup + * + * @throws ApiException Thrown if the API call fails. + */ + public function getBandwidthGroup(GetBandwidthGroupRequest $request, array $callOptions = []): BandwidthGroup + { + return $this->startApiCall('GetBandwidthGroup', $request, $callOptions)->wait(); + } + + /** + * Lists `BandwidthGroup` objects. + * + * The async variant is + * {@see BandwidthGroupServiceClient::listBandwidthGroupsAsync()} . + * + * @example samples/V1/BandwidthGroupServiceClient/list_bandwidth_groups.php + * + * @param ListBandwidthGroupsRequest $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 listBandwidthGroups(ListBandwidthGroupsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListBandwidthGroups', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserLanguageServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserLanguageServiceClient.php new file mode 100644 index 000000000000..2d147ac4ad62 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserLanguageServiceClient.php @@ -0,0 +1,312 @@ + getBrowserLanguageAsync(GetBrowserLanguageRequest $request, array $optionalArgs = []) + * @method PromiseInterface listBrowserLanguagesAsync(ListBrowserLanguagesRequest $request, array $optionalArgs = []) + */ +final class BrowserLanguageServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.BrowserLanguageService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/browser_language_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/browser_language_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/browser_language_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * browser_language resource. + * + * @param string $networkCode + * @param string $browserLanguage + * + * @return string The formatted browser_language resource. + */ + public static function browserLanguageName(string $networkCode, string $browserLanguage): string + { + return self::getPathTemplate('browserLanguage')->render([ + 'network_code' => $networkCode, + 'browser_language' => $browserLanguage, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - browserLanguage: networks/{network_code}/browserLanguages/{browser_language} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\BrowserLanguageServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new BrowserLanguageServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `BrowserLanguage` object. + * + * The async variant is + * {@see BrowserLanguageServiceClient::getBrowserLanguageAsync()} . + * + * @example samples/V1/BrowserLanguageServiceClient/get_browser_language.php + * + * @param GetBrowserLanguageRequest $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 BrowserLanguage + * + * @throws ApiException Thrown if the API call fails. + */ + public function getBrowserLanguage(GetBrowserLanguageRequest $request, array $callOptions = []): BrowserLanguage + { + return $this->startApiCall('GetBrowserLanguage', $request, $callOptions)->wait(); + } + + /** + * Lists `BrowserLanguage` objects. + * + * The async variant is + * {@see BrowserLanguageServiceClient::listBrowserLanguagesAsync()} . + * + * @example samples/V1/BrowserLanguageServiceClient/list_browser_languages.php + * + * @param ListBrowserLanguagesRequest $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 listBrowserLanguages(ListBrowserLanguagesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListBrowserLanguages', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserServiceClient.php new file mode 100644 index 000000000000..6dabbcee6cca --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/BrowserServiceClient.php @@ -0,0 +1,310 @@ + getBrowserAsync(GetBrowserRequest $request, array $optionalArgs = []) + * @method PromiseInterface listBrowsersAsync(ListBrowsersRequest $request, array $optionalArgs = []) + */ +final class BrowserServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.BrowserService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/browser_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/browser_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/browser_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a browser + * resource. + * + * @param string $networkCode + * @param string $browser + * + * @return string The formatted browser resource. + */ + public static function browserName(string $networkCode, string $browser): string + { + return self::getPathTemplate('browser')->render([ + 'network_code' => $networkCode, + 'browser' => $browser, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - browser: networks/{network_code}/browsers/{browser} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\BrowserServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new BrowserServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `Browser` object. + * + * The async variant is {@see BrowserServiceClient::getBrowserAsync()} . + * + * @example samples/V1/BrowserServiceClient/get_browser.php + * + * @param GetBrowserRequest $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 Browser + * + * @throws ApiException Thrown if the API call fails. + */ + public function getBrowser(GetBrowserRequest $request, array $callOptions = []): Browser + { + return $this->startApiCall('GetBrowser', $request, $callOptions)->wait(); + } + + /** + * Lists `Browser` objects. + * + * The async variant is {@see BrowserServiceClient::listBrowsersAsync()} . + * + * @example samples/V1/BrowserServiceClient/list_browsers.php + * + * @param ListBrowsersRequest $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 listBrowsers(ListBrowsersRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListBrowsers', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CdnConfigServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CdnConfigServiceClient.php new file mode 100644 index 000000000000..0badb4cdbd37 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CdnConfigServiceClient.php @@ -0,0 +1,486 @@ + batchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCdnConfigAsync(CreateCdnConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCdnConfigAsync(GetCdnConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCdnConfigsAsync(ListCdnConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCdnConfigAsync(UpdateCdnConfigRequest $request, array $optionalArgs = []) + */ +final class CdnConfigServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CdnConfigService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/cdn_config_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/cdn_config_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/cdn_config_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a cdn_config + * resource. + * + * @param string $networkCode + * @param string $cdnConfig + * + * @return string The formatted cdn_config resource. + */ + public static function cdnConfigName(string $networkCode, string $cdnConfig): string + { + return self::getPathTemplate('cdnConfig')->render([ + 'network_code' => $networkCode, + 'cdn_config' => $cdnConfig, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - cdnConfig: networks/{network_code}/cdnConfigs/{cdn_config} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CdnConfigServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CdnConfigServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch activates `CdnConfig` objects. + * + * The async variant is + * {@see CdnConfigServiceClient::batchActivateCdnConfigsAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/batch_activate_cdn_configs.php + * + * @param BatchActivateCdnConfigsRequest $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 BatchActivateCdnConfigsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCdnConfigs(BatchActivateCdnConfigsRequest $request, array $callOptions = []): BatchActivateCdnConfigsResponse + { + return $this->startApiCall('BatchActivateCdnConfigs', $request, $callOptions)->wait(); + } + + /** + * Batch archives `CdnConfig` objects. + * + * The async variant is + * {@see CdnConfigServiceClient::batchArchiveCdnConfigsAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/batch_archive_cdn_configs.php + * + * @param BatchArchiveCdnConfigsRequest $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 BatchArchiveCdnConfigsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest $request, array $callOptions = []): BatchArchiveCdnConfigsResponse + { + return $this->startApiCall('BatchArchiveCdnConfigs', $request, $callOptions)->wait(); + } + + /** + * Batch creates `CdnConfig` objects. + * + * The async variant is {@see CdnConfigServiceClient::batchCreateCdnConfigsAsync()} + * . + * + * @example samples/V1/CdnConfigServiceClient/batch_create_cdn_configs.php + * + * @param BatchCreateCdnConfigsRequest $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 BatchCreateCdnConfigsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateCdnConfigs(BatchCreateCdnConfigsRequest $request, array $callOptions = []): BatchCreateCdnConfigsResponse + { + return $this->startApiCall('BatchCreateCdnConfigs', $request, $callOptions)->wait(); + } + + /** + * Batch updates `CdnConfig` objects. + * + * The async variant is {@see CdnConfigServiceClient::batchUpdateCdnConfigsAsync()} + * . + * + * @example samples/V1/CdnConfigServiceClient/batch_update_cdn_configs.php + * + * @param BatchUpdateCdnConfigsRequest $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 BatchUpdateCdnConfigsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest $request, array $callOptions = []): BatchUpdateCdnConfigsResponse + { + return $this->startApiCall('BatchUpdateCdnConfigs', $request, $callOptions)->wait(); + } + + /** + * Creates a `CdnConfig` object. + * + * The async variant is {@see CdnConfigServiceClient::createCdnConfigAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/create_cdn_config.php + * + * @param CreateCdnConfigRequest $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 CdnConfig + * + * @throws ApiException Thrown if the API call fails. + */ + public function createCdnConfig(CreateCdnConfigRequest $request, array $callOptions = []): CdnConfig + { + return $this->startApiCall('CreateCdnConfig', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CdnConfig` object. + * + * The async variant is {@see CdnConfigServiceClient::getCdnConfigAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/get_cdn_config.php + * + * @param GetCdnConfigRequest $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 CdnConfig + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCdnConfig(GetCdnConfigRequest $request, array $callOptions = []): CdnConfig + { + return $this->startApiCall('GetCdnConfig', $request, $callOptions)->wait(); + } + + /** + * Lists `CdnConfig` objects. + * + * The async variant is {@see CdnConfigServiceClient::listCdnConfigsAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/list_cdn_configs.php + * + * @param ListCdnConfigsRequest $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 listCdnConfigs(ListCdnConfigsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCdnConfigs', $request, $callOptions); + } + + /** + * Updates a `CdnConfig` object. + * + * The async variant is {@see CdnConfigServiceClient::updateCdnConfigAsync()} . + * + * @example samples/V1/CdnConfigServiceClient/update_cdn_config.php + * + * @param UpdateCdnConfigRequest $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 CdnConfig + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateCdnConfig(UpdateCdnConfigRequest $request, array $callOptions = []): CdnConfig + { + return $this->startApiCall('UpdateCdnConfig', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataKeyServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataKeyServiceClient.php new file mode 100644 index 000000000000..213717fd8ee5 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataKeyServiceClient.php @@ -0,0 +1,372 @@ + batchActivateCmsMetadataKeysAsync(BatchActivateCmsMetadataKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateCmsMetadataKeysAsync(BatchDeactivateCmsMetadataKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCmsMetadataKeyAsync(GetCmsMetadataKeyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCmsMetadataKeysAsync(ListCmsMetadataKeysRequest $request, array $optionalArgs = []) + */ +final class CmsMetadataKeyServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CmsMetadataKeyService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/cms_metadata_key_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/cms_metadata_key_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/cms_metadata_key_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * cms_metadata_key resource. + * + * @param string $networkCode + * @param string $cmsMetadataKey + * + * @return string The formatted cms_metadata_key resource. + */ + public static function cmsMetadataKeyName(string $networkCode, string $cmsMetadataKey): string + { + return self::getPathTemplate('cmsMetadataKey')->render([ + 'network_code' => $networkCode, + 'cms_metadata_key' => $cmsMetadataKey, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - cmsMetadataKey: networks/{network_code}/cmsMetadataKeys/{cms_metadata_key} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CmsMetadataKeyServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CmsMetadataKeyServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Activates a list of `CmsMetadataKey` objects. + * + * The async variant is + * {@see CmsMetadataKeyServiceClient::batchActivateCmsMetadataKeysAsync()} . + * + * @example samples/V1/CmsMetadataKeyServiceClient/batch_activate_cms_metadata_keys.php + * + * @param BatchActivateCmsMetadataKeysRequest $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 BatchActivateCmsMetadataKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCmsMetadataKeys(BatchActivateCmsMetadataKeysRequest $request, array $callOptions = []): BatchActivateCmsMetadataKeysResponse + { + return $this->startApiCall('BatchActivateCmsMetadataKeys', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `CmsMetadataKey` objects. + * + * The async variant is + * {@see CmsMetadataKeyServiceClient::batchDeactivateCmsMetadataKeysAsync()} . + * + * @example samples/V1/CmsMetadataKeyServiceClient/batch_deactivate_cms_metadata_keys.php + * + * @param BatchDeactivateCmsMetadataKeysRequest $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 BatchDeactivateCmsMetadataKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateCmsMetadataKeys(BatchDeactivateCmsMetadataKeysRequest $request, array $callOptions = []): BatchDeactivateCmsMetadataKeysResponse + { + return $this->startApiCall('BatchDeactivateCmsMetadataKeys', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CmsMetadataKey` object. + * + * The async variant is + * {@see CmsMetadataKeyServiceClient::getCmsMetadataKeyAsync()} . + * + * @example samples/V1/CmsMetadataKeyServiceClient/get_cms_metadata_key.php + * + * @param GetCmsMetadataKeyRequest $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 CmsMetadataKey + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCmsMetadataKey(GetCmsMetadataKeyRequest $request, array $callOptions = []): CmsMetadataKey + { + return $this->startApiCall('GetCmsMetadataKey', $request, $callOptions)->wait(); + } + + /** + * Lists `CmsMetadataKey` objects. + * + * The async variant is + * {@see CmsMetadataKeyServiceClient::listCmsMetadataKeysAsync()} . + * + * @example samples/V1/CmsMetadataKeyServiceClient/list_cms_metadata_keys.php + * + * @param ListCmsMetadataKeysRequest $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 listCmsMetadataKeys(ListCmsMetadataKeysRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCmsMetadataKeys', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataValueServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataValueServiceClient.php new file mode 100644 index 000000000000..8feaa7aba9c0 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CmsMetadataValueServiceClient.php @@ -0,0 +1,372 @@ + batchActivateCmsMetadataValuesAsync(BatchActivateCmsMetadataValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateCmsMetadataValuesAsync(BatchDeactivateCmsMetadataValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCmsMetadataValueAsync(GetCmsMetadataValueRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCmsMetadataValuesAsync(ListCmsMetadataValuesRequest $request, array $optionalArgs = []) + */ +final class CmsMetadataValueServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CmsMetadataValueService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/cms_metadata_value_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/cms_metadata_value_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/cms_metadata_value_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * cms_metadata_value resource. + * + * @param string $networkCode + * @param string $cmsMetadataValue + * + * @return string The formatted cms_metadata_value resource. + */ + public static function cmsMetadataValueName(string $networkCode, string $cmsMetadataValue): string + { + return self::getPathTemplate('cmsMetadataValue')->render([ + 'network_code' => $networkCode, + 'cms_metadata_value' => $cmsMetadataValue, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - cmsMetadataValue: networks/{network_code}/cmsMetadataValues/{cms_metadata_value} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CmsMetadataValueServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CmsMetadataValueServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Activates a list of `CmsMetadataValue` objects. + * + * The async variant is + * {@see CmsMetadataValueServiceClient::batchActivateCmsMetadataValuesAsync()} . + * + * @example samples/V1/CmsMetadataValueServiceClient/batch_activate_cms_metadata_values.php + * + * @param BatchActivateCmsMetadataValuesRequest $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 BatchActivateCmsMetadataValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCmsMetadataValues(BatchActivateCmsMetadataValuesRequest $request, array $callOptions = []): BatchActivateCmsMetadataValuesResponse + { + return $this->startApiCall('BatchActivateCmsMetadataValues', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `CmsMetadataValue` objects. + * + * The async variant is + * {@see CmsMetadataValueServiceClient::batchDeactivateCmsMetadataValuesAsync()} . + * + * @example samples/V1/CmsMetadataValueServiceClient/batch_deactivate_cms_metadata_values.php + * + * @param BatchDeactivateCmsMetadataValuesRequest $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 BatchDeactivateCmsMetadataValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateCmsMetadataValues(BatchDeactivateCmsMetadataValuesRequest $request, array $callOptions = []): BatchDeactivateCmsMetadataValuesResponse + { + return $this->startApiCall('BatchDeactivateCmsMetadataValues', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CmsMetadataValue` object. + * + * The async variant is + * {@see CmsMetadataValueServiceClient::getCmsMetadataValueAsync()} . + * + * @example samples/V1/CmsMetadataValueServiceClient/get_cms_metadata_value.php + * + * @param GetCmsMetadataValueRequest $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 CmsMetadataValue + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCmsMetadataValue(GetCmsMetadataValueRequest $request, array $callOptions = []): CmsMetadataValue + { + return $this->startApiCall('GetCmsMetadataValue', $request, $callOptions)->wait(); + } + + /** + * Lists `CmsMetadataValue` objects. + * + * The async variant is + * {@see CmsMetadataValueServiceClient::listCmsMetadataValuesAsync()} . + * + * @example samples/V1/CmsMetadataValueServiceClient/list_cms_metadata_values.php + * + * @param ListCmsMetadataValuesRequest $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 listCmsMetadataValues(ListCmsMetadataValuesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCmsMetadataValues', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CompanyServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CompanyServiceClient.php new file mode 100644 index 000000000000..bbacb76d671c --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CompanyServiceClient.php @@ -0,0 +1,310 @@ + getCompanyAsync(GetCompanyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCompaniesAsync(ListCompaniesRequest $request, array $optionalArgs = []) + */ +final class CompanyServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CompanyService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/company_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/company_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/company_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a company + * resource. + * + * @param string $networkCode + * @param string $company + * + * @return string The formatted company resource. + */ + public static function companyName(string $networkCode, string $company): string + { + return self::getPathTemplate('company')->render([ + 'network_code' => $networkCode, + 'company' => $company, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - company: networks/{network_code}/companies/{company} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CompanyServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CompanyServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `Company` object. + * + * The async variant is {@see CompanyServiceClient::getCompanyAsync()} . + * + * @example samples/V1/CompanyServiceClient/get_company.php + * + * @param GetCompanyRequest $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 Company + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCompany(GetCompanyRequest $request, array $callOptions = []): Company + { + return $this->startApiCall('GetCompany', $request, $callOptions)->wait(); + } + + /** + * Lists `Company` objects. + * + * The async variant is {@see CompanyServiceClient::listCompaniesAsync()} . + * + * @example samples/V1/CompanyServiceClient/list_companies.php + * + * @param ListCompaniesRequest $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 listCompanies(ListCompaniesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCompanies', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContactServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContactServiceClient.php new file mode 100644 index 000000000000..0d05f166c33a --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContactServiceClient.php @@ -0,0 +1,442 @@ + batchCreateContactsAsync(BatchCreateContactsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateContactsAsync(BatchUpdateContactsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createContactAsync(CreateContactRequest $request, array $optionalArgs = []) + * @method PromiseInterface getContactAsync(GetContactRequest $request, array $optionalArgs = []) + * @method PromiseInterface listContactsAsync(ListContactsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateContactAsync(UpdateContactRequest $request, array $optionalArgs = []) + */ +final class ContactServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.ContactService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/contact_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/contact_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/contact_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a company + * resource. + * + * @param string $networkCode + * @param string $company + * + * @return string The formatted company resource. + */ + public static function companyName(string $networkCode, string $company): string + { + return self::getPathTemplate('company')->render([ + 'network_code' => $networkCode, + 'company' => $company, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a contact + * resource. + * + * @param string $networkCode + * @param string $contact + * + * @return string The formatted contact resource. + */ + public static function contactName(string $networkCode, string $contact): string + { + return self::getPathTemplate('contact')->render([ + 'network_code' => $networkCode, + 'contact' => $contact, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - company: networks/{network_code}/companies/{company} + * - contact: networks/{network_code}/contacts/{contact} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\ContactServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new ContactServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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 `Contact` objects. + * + * The async variant is {@see ContactServiceClient::batchCreateContactsAsync()} . + * + * @example samples/V1/ContactServiceClient/batch_create_contacts.php + * + * @param BatchCreateContactsRequest $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 BatchCreateContactsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateContacts(BatchCreateContactsRequest $request, array $callOptions = []): BatchCreateContactsResponse + { + return $this->startApiCall('BatchCreateContacts', $request, $callOptions)->wait(); + } + + /** + * Batch updates `Contact` objects. + * + * The async variant is {@see ContactServiceClient::batchUpdateContactsAsync()} . + * + * @example samples/V1/ContactServiceClient/batch_update_contacts.php + * + * @param BatchUpdateContactsRequest $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 BatchUpdateContactsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateContacts(BatchUpdateContactsRequest $request, array $callOptions = []): BatchUpdateContactsResponse + { + return $this->startApiCall('BatchUpdateContacts', $request, $callOptions)->wait(); + } + + /** + * Creates a `Contact` object. + * + * The async variant is {@see ContactServiceClient::createContactAsync()} . + * + * @example samples/V1/ContactServiceClient/create_contact.php + * + * @param CreateContactRequest $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 Contact + * + * @throws ApiException Thrown if the API call fails. + */ + public function createContact(CreateContactRequest $request, array $callOptions = []): Contact + { + return $this->startApiCall('CreateContact', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `Contact` object. + * + * The async variant is {@see ContactServiceClient::getContactAsync()} . + * + * @example samples/V1/ContactServiceClient/get_contact.php + * + * @param GetContactRequest $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 Contact + * + * @throws ApiException Thrown if the API call fails. + */ + public function getContact(GetContactRequest $request, array $callOptions = []): Contact + { + return $this->startApiCall('GetContact', $request, $callOptions)->wait(); + } + + /** + * Lists `Contact` objects. + * + * The async variant is {@see ContactServiceClient::listContactsAsync()} . + * + * @example samples/V1/ContactServiceClient/list_contacts.php + * + * @param ListContactsRequest $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 listContacts(ListContactsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListContacts', $request, $callOptions); + } + + /** + * Updates a `Contact` object. + * + * The async variant is {@see ContactServiceClient::updateContactAsync()} . + * + * @example samples/V1/ContactServiceClient/update_contact.php + * + * @param UpdateContactRequest $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 Contact + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateContact(UpdateContactRequest $request, array $callOptions = []): Contact + { + return $this->startApiCall('UpdateContact', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentBundleServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentBundleServiceClient.php new file mode 100644 index 000000000000..17b45bebd1d6 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentBundleServiceClient.php @@ -0,0 +1,372 @@ + batchActivateContentBundlesAsync(BatchActivateContentBundlesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateContentBundlesAsync(BatchDeactivateContentBundlesRequest $request, array $optionalArgs = []) + * @method PromiseInterface getContentBundleAsync(GetContentBundleRequest $request, array $optionalArgs = []) + * @method PromiseInterface listContentBundlesAsync(ListContentBundlesRequest $request, array $optionalArgs = []) + */ +final class ContentBundleServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.ContentBundleService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/content_bundle_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/content_bundle_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/content_bundle_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * content_bundle resource. + * + * @param string $networkCode + * @param string $contentBundle + * + * @return string The formatted content_bundle resource. + */ + public static function contentBundleName(string $networkCode, string $contentBundle): string + { + return self::getPathTemplate('contentBundle')->render([ + 'network_code' => $networkCode, + 'content_bundle' => $contentBundle, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - contentBundle: networks/{network_code}/contentBundles/{content_bundle} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\ContentBundleServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new ContentBundleServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Activate a list of `ContentBundle` objects. + * + * The async variant is + * {@see ContentBundleServiceClient::batchActivateContentBundlesAsync()} . + * + * @example samples/V1/ContentBundleServiceClient/batch_activate_content_bundles.php + * + * @param BatchActivateContentBundlesRequest $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 BatchActivateContentBundlesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateContentBundles(BatchActivateContentBundlesRequest $request, array $callOptions = []): BatchActivateContentBundlesResponse + { + return $this->startApiCall('BatchActivateContentBundles', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `ContentBundle` objects. + * + * The async variant is + * {@see ContentBundleServiceClient::batchDeactivateContentBundlesAsync()} . + * + * @example samples/V1/ContentBundleServiceClient/batch_deactivate_content_bundles.php + * + * @param BatchDeactivateContentBundlesRequest $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 BatchDeactivateContentBundlesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateContentBundles(BatchDeactivateContentBundlesRequest $request, array $callOptions = []): BatchDeactivateContentBundlesResponse + { + return $this->startApiCall('BatchDeactivateContentBundles', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `ContentBundle` object. + * + * The async variant is {@see ContentBundleServiceClient::getContentBundleAsync()} + * . + * + * @example samples/V1/ContentBundleServiceClient/get_content_bundle.php + * + * @param GetContentBundleRequest $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 ContentBundle + * + * @throws ApiException Thrown if the API call fails. + */ + public function getContentBundle(GetContentBundleRequest $request, array $callOptions = []): ContentBundle + { + return $this->startApiCall('GetContentBundle', $request, $callOptions)->wait(); + } + + /** + * Lists `ContentBundle` objects. + * + * The async variant is + * {@see ContentBundleServiceClient::listContentBundlesAsync()} . + * + * @example samples/V1/ContentBundleServiceClient/list_content_bundles.php + * + * @param ListContentBundlesRequest $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 listContentBundles(ListContentBundlesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListContentBundles', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentLabelServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentLabelServiceClient.php new file mode 100644 index 000000000000..058fc6a0f0c3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentLabelServiceClient.php @@ -0,0 +1,311 @@ + getContentLabelAsync(GetContentLabelRequest $request, array $optionalArgs = []) + * @method PromiseInterface listContentLabelsAsync(ListContentLabelsRequest $request, array $optionalArgs = []) + */ +final class ContentLabelServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.ContentLabelService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/content_label_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/content_label_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/content_label_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * content_label resource. + * + * @param string $networkCode + * @param string $contentLabel + * + * @return string The formatted content_label resource. + */ + public static function contentLabelName(string $networkCode, string $contentLabel): string + { + return self::getPathTemplate('contentLabel')->render([ + 'network_code' => $networkCode, + 'content_label' => $contentLabel, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - contentLabel: networks/{network_code}/contentLabels/{content_label} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\ContentLabelServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new ContentLabelServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `ContentLabel` object. + * + * The async variant is {@see ContentLabelServiceClient::getContentLabelAsync()} . + * + * @example samples/V1/ContentLabelServiceClient/get_content_label.php + * + * @param GetContentLabelRequest $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 ContentLabel + * + * @throws ApiException Thrown if the API call fails. + */ + public function getContentLabel(GetContentLabelRequest $request, array $callOptions = []): ContentLabel + { + return $this->startApiCall('GetContentLabel', $request, $callOptions)->wait(); + } + + /** + * Lists `ContentLabel` objects. + * + * The async variant is {@see ContentLabelServiceClient::listContentLabelsAsync()} + * . + * + * @example samples/V1/ContentLabelServiceClient/list_content_labels.php + * + * @param ListContentLabelsRequest $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 listContentLabels(ListContentLabelsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListContentLabels', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentServiceClient.php new file mode 100644 index 000000000000..eb0319169206 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/ContentServiceClient.php @@ -0,0 +1,310 @@ + getContentAsync(GetContentRequest $request, array $optionalArgs = []) + * @method PromiseInterface listContentAsync(ListContentRequest $request, array $optionalArgs = []) + */ +final class ContentServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.ContentService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/content_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/content_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/content_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a content + * resource. + * + * @param string $networkCode + * @param string $content + * + * @return string The formatted content resource. + */ + public static function contentName(string $networkCode, string $content): string + { + return self::getPathTemplate('content')->render([ + 'network_code' => $networkCode, + 'content' => $content, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - content: networks/{network_code}/content/{content} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\ContentServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new ContentServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `Content` object. + * + * The async variant is {@see ContentServiceClient::getContentAsync()} . + * + * @example samples/V1/ContentServiceClient/get_content.php + * + * @param GetContentRequest $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 Content + * + * @throws ApiException Thrown if the API call fails. + */ + public function getContent(GetContentRequest $request, array $callOptions = []): Content + { + return $this->startApiCall('GetContent', $request, $callOptions)->wait(); + } + + /** + * Lists `Content` objects. + * + * The async variant is {@see ContentServiceClient::listContentAsync()} . + * + * @example samples/V1/ContentServiceClient/list_content.php + * + * @param ListContentRequest $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 listContent(ListContentRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListContent', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeSetServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeSetServiceClient.php new file mode 100644 index 000000000000..a8f6f515f147 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeSetServiceClient.php @@ -0,0 +1,384 @@ + createCreativeSetAsync(CreateCreativeSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCreativeSetAsync(GetCreativeSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCreativeSetsAsync(ListCreativeSetsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCreativeSetAsync(UpdateCreativeSetRequest $request, array $optionalArgs = []) + */ +final class CreativeSetServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CreativeSetService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/creative_set_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/creative_set_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/creative_set_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a creative + * resource. + * + * @param string $networkCode + * @param string $creative + * + * @return string The formatted creative resource. + */ + public static function creativeName(string $networkCode, string $creative): string + { + return self::getPathTemplate('creative')->render([ + 'network_code' => $networkCode, + 'creative' => $creative, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a creative_set + * resource. + * + * @param string $networkCode + * @param string $creativeSet + * + * @return string The formatted creative_set resource. + */ + public static function creativeSetName(string $networkCode, string $creativeSet): string + { + return self::getPathTemplate('creativeSet')->render([ + 'network_code' => $networkCode, + 'creative_set' => $creativeSet, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - creative: networks/{network_code}/creatives/{creative} + * - creativeSet: networks/{network_code}/creativeSets/{creative_set} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CreativeSetServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CreativeSetServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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 `CreativeSet` object. + * + * The async variant is {@see CreativeSetServiceClient::createCreativeSetAsync()} . + * + * @example samples/V1/CreativeSetServiceClient/create_creative_set.php + * + * @param CreateCreativeSetRequest $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 CreativeSet + * + * @throws ApiException Thrown if the API call fails. + */ + public function createCreativeSet(CreateCreativeSetRequest $request, array $callOptions = []): CreativeSet + { + return $this->startApiCall('CreateCreativeSet', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CreativeSet` object. + * + * The async variant is {@see CreativeSetServiceClient::getCreativeSetAsync()} . + * + * @example samples/V1/CreativeSetServiceClient/get_creative_set.php + * + * @param GetCreativeSetRequest $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 CreativeSet + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCreativeSet(GetCreativeSetRequest $request, array $callOptions = []): CreativeSet + { + return $this->startApiCall('GetCreativeSet', $request, $callOptions)->wait(); + } + + /** + * Lists `CreativeSet` objects. + * + * The async variant is {@see CreativeSetServiceClient::listCreativeSetsAsync()} . + * + * @example samples/V1/CreativeSetServiceClient/list_creative_sets.php + * + * @param ListCreativeSetsRequest $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 listCreativeSets(ListCreativeSetsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCreativeSets', $request, $callOptions); + } + + /** + * Updates a `CreativeSet` object. + * + * The async variant is {@see CreativeSetServiceClient::updateCreativeSetAsync()} . + * + * @example samples/V1/CreativeSetServiceClient/update_creative_set.php + * + * @param UpdateCreativeSetRequest $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 CreativeSet + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateCreativeSet(UpdateCreativeSetRequest $request, array $callOptions = []): CreativeSet + { + return $this->startApiCall('UpdateCreativeSet', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeTemplateServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeTemplateServiceClient.php new file mode 100644 index 000000000000..0af6f686396d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CreativeTemplateServiceClient.php @@ -0,0 +1,312 @@ + getCreativeTemplateAsync(GetCreativeTemplateRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCreativeTemplatesAsync(ListCreativeTemplatesRequest $request, array $optionalArgs = []) + */ +final class CreativeTemplateServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CreativeTemplateService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/creative_template_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/creative_template_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/creative_template_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * creative_template resource. + * + * @param string $networkCode + * @param string $creativeTemplate + * + * @return string The formatted creative_template resource. + */ + public static function creativeTemplateName(string $networkCode, string $creativeTemplate): string + { + return self::getPathTemplate('creativeTemplate')->render([ + 'network_code' => $networkCode, + 'creative_template' => $creativeTemplate, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - creativeTemplate: networks/{network_code}/creativeTemplates/{creative_template} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CreativeTemplateServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CreativeTemplateServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `CreativeTemplate` object. + * + * The async variant is + * {@see CreativeTemplateServiceClient::getCreativeTemplateAsync()} . + * + * @example samples/V1/CreativeTemplateServiceClient/get_creative_template.php + * + * @param GetCreativeTemplateRequest $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 CreativeTemplate + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCreativeTemplate(GetCreativeTemplateRequest $request, array $callOptions = []): CreativeTemplate + { + return $this->startApiCall('GetCreativeTemplate', $request, $callOptions)->wait(); + } + + /** + * Lists `CreativeTemplate` objects. + * + * The async variant is + * {@see CreativeTemplateServiceClient::listCreativeTemplatesAsync()} . + * + * @example samples/V1/CreativeTemplateServiceClient/list_creative_templates.php + * + * @param ListCreativeTemplatesRequest $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 listCreativeTemplates(ListCreativeTemplatesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCreativeTemplates', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomFieldServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomFieldServiceClient.php new file mode 100644 index 000000000000..6e68a7426c69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomFieldServiceClient.php @@ -0,0 +1,486 @@ + batchActivateCustomFieldsAsync(BatchActivateCustomFieldsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateCustomFieldsAsync(BatchCreateCustomFieldsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateCustomFieldsAsync(BatchDeactivateCustomFieldsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateCustomFieldsAsync(BatchUpdateCustomFieldsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomFieldAsync(CreateCustomFieldRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomFieldAsync(GetCustomFieldRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomFieldsAsync(ListCustomFieldsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomFieldAsync(UpdateCustomFieldRequest $request, array $optionalArgs = []) + */ +final class CustomFieldServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CustomFieldService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/custom_field_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_field_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/custom_field_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a custom_field + * resource. + * + * @param string $networkCode + * @param string $customField + * + * @return string The formatted custom_field resource. + */ + public static function customFieldName(string $networkCode, string $customField): string + { + return self::getPathTemplate('customField')->render([ + 'network_code' => $networkCode, + 'custom_field' => $customField, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - customField: networks/{network_code}/customFields/{custom_field} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CustomFieldServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CustomFieldServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Activates a list of `CustomField` objects. + * + * The async variant is + * {@see CustomFieldServiceClient::batchActivateCustomFieldsAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/batch_activate_custom_fields.php + * + * @param BatchActivateCustomFieldsRequest $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 BatchActivateCustomFieldsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCustomFields(BatchActivateCustomFieldsRequest $request, array $callOptions = []): BatchActivateCustomFieldsResponse + { + return $this->startApiCall('BatchActivateCustomFields', $request, $callOptions)->wait(); + } + + /** + * Creates `CustomField` objects. + * + * The async variant is + * {@see CustomFieldServiceClient::batchCreateCustomFieldsAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/batch_create_custom_fields.php + * + * @param BatchCreateCustomFieldsRequest $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 BatchCreateCustomFieldsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateCustomFields(BatchCreateCustomFieldsRequest $request, array $callOptions = []): BatchCreateCustomFieldsResponse + { + return $this->startApiCall('BatchCreateCustomFields', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `CustomField` objects. + * + * The async variant is + * {@see CustomFieldServiceClient::batchDeactivateCustomFieldsAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/batch_deactivate_custom_fields.php + * + * @param BatchDeactivateCustomFieldsRequest $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 BatchDeactivateCustomFieldsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest $request, array $callOptions = []): BatchDeactivateCustomFieldsResponse + { + return $this->startApiCall('BatchDeactivateCustomFields', $request, $callOptions)->wait(); + } + + /** + * Batch updates `CustomField` objects. + * + * The async variant is + * {@see CustomFieldServiceClient::batchUpdateCustomFieldsAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/batch_update_custom_fields.php + * + * @param BatchUpdateCustomFieldsRequest $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 BatchUpdateCustomFieldsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateCustomFields(BatchUpdateCustomFieldsRequest $request, array $callOptions = []): BatchUpdateCustomFieldsResponse + { + return $this->startApiCall('BatchUpdateCustomFields', $request, $callOptions)->wait(); + } + + /** + * Creates a `CustomField` object. + * + * The async variant is {@see CustomFieldServiceClient::createCustomFieldAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/create_custom_field.php + * + * @param CreateCustomFieldRequest $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 CustomField + * + * @throws ApiException Thrown if the API call fails. + */ + public function createCustomField(CreateCustomFieldRequest $request, array $callOptions = []): CustomField + { + return $this->startApiCall('CreateCustomField', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CustomField` object. + * + * The async variant is {@see CustomFieldServiceClient::getCustomFieldAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/get_custom_field.php + * + * @param GetCustomFieldRequest $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 CustomField + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCustomField(GetCustomFieldRequest $request, array $callOptions = []): CustomField + { + return $this->startApiCall('GetCustomField', $request, $callOptions)->wait(); + } + + /** + * Lists `CustomField` objects. + * + * The async variant is {@see CustomFieldServiceClient::listCustomFieldsAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/list_custom_fields.php + * + * @param ListCustomFieldsRequest $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 listCustomFields(ListCustomFieldsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomFields', $request, $callOptions); + } + + /** + * Updates a `CustomField` object. + * + * The async variant is {@see CustomFieldServiceClient::updateCustomFieldAsync()} . + * + * @example samples/V1/CustomFieldServiceClient/update_custom_field.php + * + * @param UpdateCustomFieldRequest $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 CustomField + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateCustomField(UpdateCustomFieldRequest $request, array $callOptions = []): CustomField + { + return $this->startApiCall('UpdateCustomField', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingKeyServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingKeyServiceClient.php new file mode 100644 index 000000000000..dcb02ae98e12 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingKeyServiceClient.php @@ -0,0 +1,492 @@ + batchActivateCustomTargetingKeysAsync(BatchActivateCustomTargetingKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateCustomTargetingKeysAsync(BatchCreateCustomTargetingKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateCustomTargetingKeysAsync(BatchDeactivateCustomTargetingKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateCustomTargetingKeysAsync(BatchUpdateCustomTargetingKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomTargetingKeyAsync(CreateCustomTargetingKeyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomTargetingKeyAsync(GetCustomTargetingKeyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomTargetingKeysAsync(ListCustomTargetingKeysRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomTargetingKeyAsync(UpdateCustomTargetingKeyRequest $request, array $optionalArgs = []) + */ +final class CustomTargetingKeyServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CustomTargetingKeyService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/custom_targeting_key_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_targeting_key_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/custom_targeting_key_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_targeting_key resource. + * + * @param string $networkCode + * @param string $customTargetingKey + * + * @return string The formatted custom_targeting_key resource. + */ + public static function customTargetingKeyName(string $networkCode, string $customTargetingKey): string + { + return self::getPathTemplate('customTargetingKey')->render([ + 'network_code' => $networkCode, + 'custom_targeting_key' => $customTargetingKey, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - customTargetingKey: networks/{network_code}/customTargetingKeys/{custom_targeting_key} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CustomTargetingKeyServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CustomTargetingKeyServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch activates `CustomTargetingKey` objects. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::batchActivateCustomTargetingKeysAsync()} + * . + * + * @example samples/V1/CustomTargetingKeyServiceClient/batch_activate_custom_targeting_keys.php + * + * @param BatchActivateCustomTargetingKeysRequest $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 BatchActivateCustomTargetingKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest $request, array $callOptions = []): BatchActivateCustomTargetingKeysResponse + { + return $this->startApiCall('BatchActivateCustomTargetingKeys', $request, $callOptions)->wait(); + } + + /** + * Creates `CustomTargetingKey` objects. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::batchCreateCustomTargetingKeysAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/batch_create_custom_targeting_keys.php + * + * @param BatchCreateCustomTargetingKeysRequest $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 BatchCreateCustomTargetingKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest $request, array $callOptions = []): BatchCreateCustomTargetingKeysResponse + { + return $this->startApiCall('BatchCreateCustomTargetingKeys', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `CustomTargetingKey` objects. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::batchDeactivateCustomTargetingKeysAsync()} + * . + * + * @example samples/V1/CustomTargetingKeyServiceClient/batch_deactivate_custom_targeting_keys.php + * + * @param BatchDeactivateCustomTargetingKeysRequest $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 BatchDeactivateCustomTargetingKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest $request, array $callOptions = []): BatchDeactivateCustomTargetingKeysResponse + { + return $this->startApiCall('BatchDeactivateCustomTargetingKeys', $request, $callOptions)->wait(); + } + + /** + * Batch updates `CustomTargetingKey` objects. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::batchUpdateCustomTargetingKeysAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/batch_update_custom_targeting_keys.php + * + * @param BatchUpdateCustomTargetingKeysRequest $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 BatchUpdateCustomTargetingKeysResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest $request, array $callOptions = []): BatchUpdateCustomTargetingKeysResponse + { + return $this->startApiCall('BatchUpdateCustomTargetingKeys', $request, $callOptions)->wait(); + } + + /** + * Creates a `CustomTargetingKey` object. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::createCustomTargetingKeyAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/create_custom_targeting_key.php + * + * @param CreateCustomTargetingKeyRequest $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 CustomTargetingKey + * + * @throws ApiException Thrown if the API call fails. + */ + public function createCustomTargetingKey(CreateCustomTargetingKeyRequest $request, array $callOptions = []): CustomTargetingKey + { + return $this->startApiCall('CreateCustomTargetingKey', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CustomTargetingKey` object. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::getCustomTargetingKeyAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/get_custom_targeting_key.php + * + * @param GetCustomTargetingKeyRequest $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 CustomTargetingKey + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCustomTargetingKey(GetCustomTargetingKeyRequest $request, array $callOptions = []): CustomTargetingKey + { + return $this->startApiCall('GetCustomTargetingKey', $request, $callOptions)->wait(); + } + + /** + * Lists `CustomTargetingKey` objects. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::listCustomTargetingKeysAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/list_custom_targeting_keys.php + * + * @param ListCustomTargetingKeysRequest $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 listCustomTargetingKeys(ListCustomTargetingKeysRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomTargetingKeys', $request, $callOptions); + } + + /** + * Updates a `CustomTargetingKey` object. + * + * The async variant is + * {@see CustomTargetingKeyServiceClient::updateCustomTargetingKeyAsync()} . + * + * @example samples/V1/CustomTargetingKeyServiceClient/update_custom_targeting_key.php + * + * @param UpdateCustomTargetingKeyRequest $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 CustomTargetingKey + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateCustomTargetingKey(UpdateCustomTargetingKeyRequest $request, array $callOptions = []): CustomTargetingKey + { + return $this->startApiCall('UpdateCustomTargetingKey', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingValueServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingValueServiceClient.php new file mode 100644 index 000000000000..4473f0b9dc2b --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/CustomTargetingValueServiceClient.php @@ -0,0 +1,512 @@ + batchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomTargetingValueAsync(CreateCustomTargetingValueRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomTargetingValueAsync(GetCustomTargetingValueRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomTargetingValuesAsync(ListCustomTargetingValuesRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest $request, array $optionalArgs = []) + */ +final class CustomTargetingValueServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.CustomTargetingValueService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/custom_targeting_value_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_targeting_value_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/custom_targeting_value_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_targeting_key resource. + * + * @param string $networkCode + * @param string $customTargetingKey + * + * @return string The formatted custom_targeting_key resource. + */ + public static function customTargetingKeyName(string $networkCode, string $customTargetingKey): string + { + return self::getPathTemplate('customTargetingKey')->render([ + 'network_code' => $networkCode, + 'custom_targeting_key' => $customTargetingKey, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_targeting_value resource. + * + * @param string $networkCode + * @param string $customTargetingValue + * + * @return string The formatted custom_targeting_value resource. + */ + public static function customTargetingValueName(string $networkCode, string $customTargetingValue): string + { + return self::getPathTemplate('customTargetingValue')->render([ + 'network_code' => $networkCode, + 'custom_targeting_value' => $customTargetingValue, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - customTargetingKey: networks/{network_code}/customTargetingKeys/{custom_targeting_key} + * - customTargetingValue: networks/{network_code}/customTargetingValues/{custom_targeting_value} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\CustomTargetingValueServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new CustomTargetingValueServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Batch activates `CustomTargetingValue` objects. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::batchActivateCustomTargetingValuesAsync()} + * . + * + * @example samples/V1/CustomTargetingValueServiceClient/batch_activate_custom_targeting_values.php + * + * @param BatchActivateCustomTargetingValuesRequest $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 BatchActivateCustomTargetingValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest $request, array $callOptions = []): BatchActivateCustomTargetingValuesResponse + { + return $this->startApiCall('BatchActivateCustomTargetingValues', $request, $callOptions)->wait(); + } + + /** + * Creates `CustomTargetingValue` objects. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::batchCreateCustomTargetingValuesAsync()} + * . + * + * @example samples/V1/CustomTargetingValueServiceClient/batch_create_custom_targeting_values.php + * + * @param BatchCreateCustomTargetingValuesRequest $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 BatchCreateCustomTargetingValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest $request, array $callOptions = []): BatchCreateCustomTargetingValuesResponse + { + return $this->startApiCall('BatchCreateCustomTargetingValues', $request, $callOptions)->wait(); + } + + /** + * Deactivates a list of `CustomTargetingValue` objects. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::batchDeactivateCustomTargetingValuesAsync()} + * . + * + * @example samples/V1/CustomTargetingValueServiceClient/batch_deactivate_custom_targeting_values.php + * + * @param BatchDeactivateCustomTargetingValuesRequest $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 BatchDeactivateCustomTargetingValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest $request, array $callOptions = []): BatchDeactivateCustomTargetingValuesResponse + { + return $this->startApiCall('BatchDeactivateCustomTargetingValues', $request, $callOptions)->wait(); + } + + /** + * Batch updates `CustomTargetingValue` objects. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::batchUpdateCustomTargetingValuesAsync()} + * . + * + * @example samples/V1/CustomTargetingValueServiceClient/batch_update_custom_targeting_values.php + * + * @param BatchUpdateCustomTargetingValuesRequest $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 BatchUpdateCustomTargetingValuesResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest $request, array $callOptions = []): BatchUpdateCustomTargetingValuesResponse + { + return $this->startApiCall('BatchUpdateCustomTargetingValues', $request, $callOptions)->wait(); + } + + /** + * Creates a `CustomTargetingValue` object. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::createCustomTargetingValueAsync()} . + * + * @example samples/V1/CustomTargetingValueServiceClient/create_custom_targeting_value.php + * + * @param CreateCustomTargetingValueRequest $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 CustomTargetingValue + * + * @throws ApiException Thrown if the API call fails. + */ + public function createCustomTargetingValue(CreateCustomTargetingValueRequest $request, array $callOptions = []): CustomTargetingValue + { + return $this->startApiCall('CreateCustomTargetingValue', $request, $callOptions)->wait(); + } + + /** + * Retrieves a `CustomTargetingValue` object. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::getCustomTargetingValueAsync()} . + * + * @example samples/V1/CustomTargetingValueServiceClient/get_custom_targeting_value.php + * + * @param GetCustomTargetingValueRequest $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 CustomTargetingValue + * + * @throws ApiException Thrown if the API call fails. + */ + public function getCustomTargetingValue(GetCustomTargetingValueRequest $request, array $callOptions = []): CustomTargetingValue + { + return $this->startApiCall('GetCustomTargetingValue', $request, $callOptions)->wait(); + } + + /** + * Lists `CustomTargetingValue` objects. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::listCustomTargetingValuesAsync()} . + * + * @example samples/V1/CustomTargetingValueServiceClient/list_custom_targeting_values.php + * + * @param ListCustomTargetingValuesRequest $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 listCustomTargetingValues(ListCustomTargetingValuesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomTargetingValues', $request, $callOptions); + } + + /** + * Updates a `CustomTargetingValue` object. + * + * The async variant is + * {@see CustomTargetingValueServiceClient::updateCustomTargetingValueAsync()} . + * + * @example samples/V1/CustomTargetingValueServiceClient/update_custom_targeting_value.php + * + * @param UpdateCustomTargetingValueRequest $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 CustomTargetingValue + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateCustomTargetingValue(UpdateCustomTargetingValueRequest $request, array $callOptions = []): CustomTargetingValue + { + return $this->startApiCall('UpdateCustomTargetingValue', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCapabilityServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCapabilityServiceClient.php new file mode 100644 index 000000000000..2665c8040569 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCapabilityServiceClient.php @@ -0,0 +1,312 @@ + getDeviceCapabilityAsync(GetDeviceCapabilityRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDeviceCapabilitiesAsync(ListDeviceCapabilitiesRequest $request, array $optionalArgs = []) + */ +final class DeviceCapabilityServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.DeviceCapabilityService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/device_capability_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/device_capability_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/device_capability_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_capability resource. + * + * @param string $networkCode + * @param string $deviceCapability + * + * @return string The formatted device_capability resource. + */ + public static function deviceCapabilityName(string $networkCode, string $deviceCapability): string + { + return self::getPathTemplate('deviceCapability')->render([ + 'network_code' => $networkCode, + 'device_capability' => $deviceCapability, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - deviceCapability: networks/{network_code}/deviceCapabilities/{device_capability} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\DeviceCapabilityServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new DeviceCapabilityServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `DeviceCapability` object. + * + * The async variant is + * {@see DeviceCapabilityServiceClient::getDeviceCapabilityAsync()} . + * + * @example samples/V1/DeviceCapabilityServiceClient/get_device_capability.php + * + * @param GetDeviceCapabilityRequest $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 DeviceCapability + * + * @throws ApiException Thrown if the API call fails. + */ + public function getDeviceCapability(GetDeviceCapabilityRequest $request, array $callOptions = []): DeviceCapability + { + return $this->startApiCall('GetDeviceCapability', $request, $callOptions)->wait(); + } + + /** + * Lists `DeviceCapability` objects. + * + * The async variant is + * {@see DeviceCapabilityServiceClient::listDeviceCapabilitiesAsync()} . + * + * @example samples/V1/DeviceCapabilityServiceClient/list_device_capabilities.php + * + * @param ListDeviceCapabilitiesRequest $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 listDeviceCapabilities(ListDeviceCapabilitiesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDeviceCapabilities', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCategoryServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCategoryServiceClient.php new file mode 100644 index 000000000000..96ad81f26e02 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceCategoryServiceClient.php @@ -0,0 +1,312 @@ + getDeviceCategoryAsync(GetDeviceCategoryRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDeviceCategoriesAsync(ListDeviceCategoriesRequest $request, array $optionalArgs = []) + */ +final class DeviceCategoryServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.DeviceCategoryService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/device_category_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/device_category_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/device_category_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_category resource. + * + * @param string $networkCode + * @param string $deviceCategory + * + * @return string The formatted device_category resource. + */ + public static function deviceCategoryName(string $networkCode, string $deviceCategory): string + { + return self::getPathTemplate('deviceCategory')->render([ + 'network_code' => $networkCode, + 'device_category' => $deviceCategory, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - deviceCategory: networks/{network_code}/deviceCategories/{device_category} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\DeviceCategoryServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new DeviceCategoryServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `DeviceCategory` object. + * + * The async variant is + * {@see DeviceCategoryServiceClient::getDeviceCategoryAsync()} . + * + * @example samples/V1/DeviceCategoryServiceClient/get_device_category.php + * + * @param GetDeviceCategoryRequest $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 DeviceCategory + * + * @throws ApiException Thrown if the API call fails. + */ + public function getDeviceCategory(GetDeviceCategoryRequest $request, array $callOptions = []): DeviceCategory + { + return $this->startApiCall('GetDeviceCategory', $request, $callOptions)->wait(); + } + + /** + * Lists `DeviceCategory` objects. + * + * The async variant is + * {@see DeviceCategoryServiceClient::listDeviceCategoriesAsync()} . + * + * @example samples/V1/DeviceCategoryServiceClient/list_device_categories.php + * + * @param ListDeviceCategoriesRequest $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 listDeviceCategories(ListDeviceCategoriesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDeviceCategories', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceManufacturerServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceManufacturerServiceClient.php new file mode 100644 index 000000000000..de92e7152f02 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/DeviceManufacturerServiceClient.php @@ -0,0 +1,312 @@ + getDeviceManufacturerAsync(GetDeviceManufacturerRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDeviceManufacturersAsync(ListDeviceManufacturersRequest $request, array $optionalArgs = []) + */ +final class DeviceManufacturerServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.DeviceManufacturerService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/device_manufacturer_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/device_manufacturer_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/device_manufacturer_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * device_manufacturer resource. + * + * @param string $networkCode + * @param string $deviceManufacturer + * + * @return string The formatted device_manufacturer resource. + */ + public static function deviceManufacturerName(string $networkCode, string $deviceManufacturer): string + { + return self::getPathTemplate('deviceManufacturer')->render([ + 'network_code' => $networkCode, + 'device_manufacturer' => $deviceManufacturer, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - deviceManufacturer: networks/{network_code}/deviceManufacturers/{device_manufacturer} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\DeviceManufacturerServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new DeviceManufacturerServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `DeviceManufacturer` object. + * + * The async variant is + * {@see DeviceManufacturerServiceClient::getDeviceManufacturerAsync()} . + * + * @example samples/V1/DeviceManufacturerServiceClient/get_device_manufacturer.php + * + * @param GetDeviceManufacturerRequest $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 DeviceManufacturer + * + * @throws ApiException Thrown if the API call fails. + */ + public function getDeviceManufacturer(GetDeviceManufacturerRequest $request, array $callOptions = []): DeviceManufacturer + { + return $this->startApiCall('GetDeviceManufacturer', $request, $callOptions)->wait(); + } + + /** + * Lists `DeviceManufacturer` objects. + * + * The async variant is + * {@see DeviceManufacturerServiceClient::listDeviceManufacturersAsync()} . + * + * @example samples/V1/DeviceManufacturerServiceClient/list_device_manufacturers.php + * + * @param ListDeviceManufacturersRequest $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 listDeviceManufacturers(ListDeviceManufacturersRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDeviceManufacturers', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/EntitySignalsMappingServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/EntitySignalsMappingServiceClient.php new file mode 100644 index 000000000000..55a7d06ffd69 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/EntitySignalsMappingServiceClient.php @@ -0,0 +1,432 @@ + batchCreateEntitySignalsMappingsAsync(BatchCreateEntitySignalsMappingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateEntitySignalsMappingsAsync(BatchUpdateEntitySignalsMappingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createEntitySignalsMappingAsync(CreateEntitySignalsMappingRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEntitySignalsMappingAsync(GetEntitySignalsMappingRequest $request, array $optionalArgs = []) + * @method PromiseInterface listEntitySignalsMappingsAsync(ListEntitySignalsMappingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateEntitySignalsMappingAsync(UpdateEntitySignalsMappingRequest $request, array $optionalArgs = []) + */ +final class EntitySignalsMappingServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.EntitySignalsMappingService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/entity_signals_mapping_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/entity_signals_mapping_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/entity_signals_mapping_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * entity_signals_mapping resource. + * + * @param string $networkCode + * @param string $entitySignalsMapping + * + * @return string The formatted entity_signals_mapping resource. + */ + public static function entitySignalsMappingName(string $networkCode, string $entitySignalsMapping): string + { + return self::getPathTemplate('entitySignalsMapping')->render([ + 'network_code' => $networkCode, + 'entity_signals_mapping' => $entitySignalsMapping, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - entitySignalsMapping: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\EntitySignalsMappingServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new EntitySignalsMappingServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * API to batch create `EntitySignalsMapping` objects. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::batchCreateEntitySignalsMappingsAsync()} + * . + * + * @example samples/V1/EntitySignalsMappingServiceClient/batch_create_entity_signals_mappings.php + * + * @param BatchCreateEntitySignalsMappingsRequest $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 BatchCreateEntitySignalsMappingsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchCreateEntitySignalsMappings(BatchCreateEntitySignalsMappingsRequest $request, array $callOptions = []): BatchCreateEntitySignalsMappingsResponse + { + return $this->startApiCall('BatchCreateEntitySignalsMappings', $request, $callOptions)->wait(); + } + + /** + * API to batch update `EntitySignalsMapping` objects. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::batchUpdateEntitySignalsMappingsAsync()} + * . + * + * @example samples/V1/EntitySignalsMappingServiceClient/batch_update_entity_signals_mappings.php + * + * @param BatchUpdateEntitySignalsMappingsRequest $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 BatchUpdateEntitySignalsMappingsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function batchUpdateEntitySignalsMappings(BatchUpdateEntitySignalsMappingsRequest $request, array $callOptions = []): BatchUpdateEntitySignalsMappingsResponse + { + return $this->startApiCall('BatchUpdateEntitySignalsMappings', $request, $callOptions)->wait(); + } + + /** + * API to create an `EntitySignalsMapping` object. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::createEntitySignalsMappingAsync()} . + * + * @example samples/V1/EntitySignalsMappingServiceClient/create_entity_signals_mapping.php + * + * @param CreateEntitySignalsMappingRequest $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 EntitySignalsMapping + * + * @throws ApiException Thrown if the API call fails. + */ + public function createEntitySignalsMapping(CreateEntitySignalsMappingRequest $request, array $callOptions = []): EntitySignalsMapping + { + return $this->startApiCall('CreateEntitySignalsMapping', $request, $callOptions)->wait(); + } + + /** + * API to retrieve a `EntitySignalsMapping` object. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::getEntitySignalsMappingAsync()} . + * + * @example samples/V1/EntitySignalsMappingServiceClient/get_entity_signals_mapping.php + * + * @param GetEntitySignalsMappingRequest $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 EntitySignalsMapping + * + * @throws ApiException Thrown if the API call fails. + */ + public function getEntitySignalsMapping(GetEntitySignalsMappingRequest $request, array $callOptions = []): EntitySignalsMapping + { + return $this->startApiCall('GetEntitySignalsMapping', $request, $callOptions)->wait(); + } + + /** + * API to retrieve a list of `EntitySignalsMapping` objects. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::listEntitySignalsMappingsAsync()} . + * + * @example samples/V1/EntitySignalsMappingServiceClient/list_entity_signals_mappings.php + * + * @param ListEntitySignalsMappingsRequest $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 listEntitySignalsMappings(ListEntitySignalsMappingsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListEntitySignalsMappings', $request, $callOptions); + } + + /** + * API to update an `EntitySignalsMapping` object. + * + * The async variant is + * {@see EntitySignalsMappingServiceClient::updateEntitySignalsMappingAsync()} . + * + * @example samples/V1/EntitySignalsMappingServiceClient/update_entity_signals_mapping.php + * + * @param UpdateEntitySignalsMappingRequest $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 EntitySignalsMapping + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateEntitySignalsMapping(UpdateEntitySignalsMappingRequest $request, array $callOptions = []): EntitySignalsMapping + { + return $this->startApiCall('UpdateEntitySignalsMapping', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/GeoTargetServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/GeoTargetServiceClient.php new file mode 100644 index 000000000000..4b3d8b32528d --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/GeoTargetServiceClient.php @@ -0,0 +1,310 @@ + getGeoTargetAsync(GetGeoTargetRequest $request, array $optionalArgs = []) + * @method PromiseInterface listGeoTargetsAsync(ListGeoTargetsRequest $request, array $optionalArgs = []) + */ +final class GeoTargetServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.ads.admanager.v1.GeoTargetService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'admanager.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'admanager.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/admanager', + 'https://www.googleapis.com/auth/admanager.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/geo_target_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/geo_target_service_descriptor_config.php', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + 'useJwtAccessWithScope' => false, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/geo_target_service_rest_client_config.php', + ], + ], + ]; + } + + /** Implements GapicClientTrait::defaultTransport. */ + private static function defaultTransport() + { + return 'rest'; + } + + /** Implements ClientOptionsTrait::supportedTransports. */ + private static function supportedTransports() + { + return [ + 'rest', + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a geo_target + * resource. + * + * @param string $networkCode + * @param string $geoTarget + * + * @return string The formatted geo_target resource. + */ + public static function geoTargetName(string $networkCode, string $geoTarget): string + { + return self::getPathTemplate('geoTarget')->render([ + 'network_code' => $networkCode, + 'geo_target' => $geoTarget, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a network + * resource. + * + * @param string $networkCode + * + * @return string The formatted network resource. + */ + public static function networkName(string $networkCode): string + { + return self::getPathTemplate('network')->render([ + 'network_code' => $networkCode, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - geoTarget: networks/{network_code}/geoTargets/{geo_target} + * - network: networks/{network_code} + * + * 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|ClientOptions $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 'admanager.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Ads\AdManager\V1\GeoTargetServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new GeoTargetServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @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. At the moment, supports only + * `rest`. *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 = [ + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\RestTransport::build()} method 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + */ + public function __construct(array|ClientOptions $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); + } + + /** + * Retrieves a `GeoTarget` object. + * + * The async variant is {@see GeoTargetServiceClient::getGeoTargetAsync()} . + * + * @example samples/V1/GeoTargetServiceClient/get_geo_target.php + * + * @param GetGeoTargetRequest $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 GeoTarget + * + * @throws ApiException Thrown if the API call fails. + */ + public function getGeoTarget(GetGeoTargetRequest $request, array $callOptions = []): GeoTarget + { + return $this->startApiCall('GetGeoTarget', $request, $callOptions)->wait(); + } + + /** + * Lists `GeoTarget` objects. + * + * The async variant is {@see GeoTargetServiceClient::listGeoTargetsAsync()} . + * + * @example samples/V1/GeoTargetServiceClient/list_geo_targets.php + * + * @param ListGeoTargetsRequest $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 listGeoTargets(ListGeoTargetsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListGeoTargets', $request, $callOptions); + } +} diff --git a/owl-bot-staging/AdsAdManager/v1/src/V1/Client/LabelServiceClient.php b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/LabelServiceClient.php new file mode 100644 index 000000000000..980c97fabda3 --- /dev/null +++ b/owl-bot-staging/AdsAdManager/v1/src/V1/Client/LabelServiceClient.php @@ -0,0 +1,482 @@ + batchActivateLabelsAsync(BatchActivateLabelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateLabelsAsync(BatchCreateLabelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeactivateLabelsAsync(BatchDeactivateLabelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateLabelsAsync(BatchUpdateLabelsRequest $request, array $optionalArgs = []) + * @method PromiseInterface